Commit Graph

175 Commits

Author SHA1 Message Date
Dustin Bachrach
7712b3a1ff Fix prepending '/' issue 2014-10-09 19:45:28 -07:00
Dustin Bachrach
246b570c2b #49 and #50 2014-10-09 16:19:06 -07:00
Mark Larsen
0acb453076 Merge pull request #39 from alexgenco/xcodeproj_ext
Separate xcodeproj monkey patching
2014-08-08 15:27:02 -07:00
Alex Genco
7407c7ffe5 Separate xcodeproj monkey patching
Moves all xcodeproj monkeypatching into synx/xcodeproj_ext following the
directory structure of their respective class hierarchies.
2014-08-05 17:55:52 -07:00
Mark Larsen
9d7052d274 Merge pull request #37 from alexgenco/remove_test_output
Remove output from tests
2014-08-04 15:08:28 -05:00
Alex Genco
c9424731d1 Remove output from tests
Tabber accepts an :output option, which points to $stdout by default.
Tests set this option to a StringIO object instead.
2014-08-04 12:37:56 -07:00
Mark Larsen
9dec221cff Merge pull request #38 from alexgenco/fix_requires
Fix various `require` and `File.join` calls.
2014-08-04 09:59:29 -07:00
Mark Larsen
e11706fa67 Merge pull request #36 from alexgenco/refactor_tabber
Remove class variables from Tabber
2014-08-04 09:57:37 -07:00
Alex Genco
fa38cd75cf Fix various require and File.join calls.
In many cases it's safe to assume the load path will be setup correctly
at runtime, eliminating the need for absolute paths. For instance, in
your bin/synx executable, RubyGems sets the load path such that you can
just `require "synx"`. When you use RSpec, it also sets the load path to
allow you to use `require "spec_helper"`.

I also cleaned up the `File.join(File.dirname(__FILE__)...` stuff to use
the more idiomatic `File.expand_path`.
2014-08-02 10:57:56 -07:00
Alex Genco
b031242f63 Remove class variables from Tabber
@@vars are generally considered a Bad Thing in Ruby.
See http://bit.ly/1kcit9V for a quick rationale.
2014-08-01 22:05:06 -07:00
Ayaka Nonaka
128e650e4e Merge pull request #35 from sethfri/master
Fix misspelling of 'amended'
2014-07-22 20:49:38 -07:00
Seth Friedman
173e965215 Fix misspelling of 'amended' 2014-07-19 16:44:11 -05:00
Ayaka Nonaka
7e487bfad9 Merge pull request #32 from samsymons/no-color
Add support for the --no-color option.
2014-06-30 14:18:04 -07:00
Sam Symons
415b1de055 Test that omitting the no_color option will allow colors to be printed. 2014-06-30 13:58:23 -07:00
Sam Symons
917d080e2d Add support for the --no-color option.
The `colored` gem was replaced with `colorize`. It has a very
similar API but comes with a few extra methods to remove or check
colors.

The Tabber class has had an options hash added to it, to make
further additions easier.
2014-06-28 11:45:45 -07:00
Mark Larsen
55858c507c Update README.md 2014-06-25 19:07:44 -07:00
Mark Larsen
5e643ce9b1 Merge pull request #31 from samsymons/readme-update
Document the --quiet option.
2014-06-25 16:07:22 -07:00
Mark Larsen
a56d1697c0 Update README.md 2014-06-25 16:05:25 -07:00
Sam Symons
f47f0eada5 Document the --quiet option. 2014-06-24 14:29:09 -07:00
Mark Larsen
77b0f0606c release 0.0.52 v0.0.52 2014-06-24 14:10:54 -07:00
Mark Larsen
49c5a22196 Merge pull request #30 from venmo/marklarr/localization_and_huge_bug_fix
en.lproj syncing
2014-06-24 14:10:12 -07:00
Mark Larsen
3fdd073674 don't shove everything onto one line 2014-06-23 17:46:40 -07:00
Mark Larsen
911132d955 Ignore . and .. 2014-06-23 14:04:09 -07:00
Mark Larsen
8210321301 Smarter way of finding out if a file/folder was being tracked by the xcodeproj or not. Way less efficient, but doesn't fail like the old way did. 2014-06-23 13:12:34 -07:00
Mark Larsen
a998a04b04 Add support for en.lproj being a group already vs not a group already. Can't get rid of en.lproj even if it's not a group because Xcode needs it 2014-06-23 13:12:34 -07:00
Mark Larsen
8337a38202 add better test failure message, lets you know which files/folders caused the failure 2014-06-23 13:09:23 -07:00
Mark Larsen
871c25fc12 Merge pull request #29 from samsymons/quiet-flag
Add support for a --quiet option.
2014-06-23 11:22:13 -07:00
Sam Symons
ae8c9d12ce Move the quiet option check into set_options. 2014-06-23 06:21:05 -07:00
Sam Symons
e26f61b491 Add support for a --quiet option. 2014-06-22 21:07:33 -07:00
Mark Larsen
d6f7328236 0.0.51 0.0.51 2014-06-13 02:41:48 -04:00
Mark Larsen
a3ccff330a Merge pull request #22 from mplewis/master
Fix regex escaping causing sync issues on paths with special characters
2014-06-12 20:48:49 -04:00
Matthew Lewis
2b108d8e51 Replace regex startswith with the start_with method to avoid regex escaping issues 2014-06-12 13:58:09 -07:00
Mark Larsen
fff31181fe Merge pull request #21 from venmo/marklarr/hidden_files
Change Dir globbing to also find hidden files. Ignore .DS_Store.
2014-06-06 19:00:30 -07:00
Mark Larsen
f8d024008b Change Dir globbing to also find hidden files. Ignore .DS_Store. 2014-06-06 16:51:29 -07:00
Mark Larsen
ae1f587fd6 0.0.5 v0.0.5 2014-06-02 11:30:13 -07:00
Mark Larsen
e9d64eccd4 Merge pull request #17 from venmo/marklarr/forward_slashes_in_groups
Abort sync if project has groups containing a forward slash
2014-06-02 11:28:30 -07:00
Mark Larsen
74d94a0d54 Merge pull request #18 from venmo/marklarr/better_exclusions
be more forgiving with exclusion paths
2014-06-02 11:28:07 -07:00
Mark Larsen
1559a27783 Test was passing, because group_exclusions was getting mutated, but it wasn't clear. Make the expected value more clear. 2014-06-01 17:01:34 -07:00
Mark Larsen
a0e53c3d36 pry-debugger has issues on ruby 2.0.0 2014-05-31 21:36:57 -07:00
Mark Larsen
ab672dba22 be more forgiving with exclusion names by prepending a '/' if it's not there 2014-05-31 21:24:31 -07:00
Mark Larsen
8c88bd7ae0 remove coveralls 2014-05-31 21:19:54 -07:00
Mark Larsen
26f1c95454 Abort sync if project has groups containing a forward slash 2014-05-31 21:14:08 -07:00
Mark Larsen
4c17ccf137 Update README.md 2014-05-30 11:10:51 -07:00
Mark Larsen
4b69c02138 Update README.md 2014-05-29 22:53:18 -07:00
Mark Larsen
92ddb8735e Update README.md 2014-05-29 22:46:44 -07:00
Mark Larsen
deac04818b Update README.md 2014-05-29 22:12:37 -07:00
Mark Larsen
5693914327 0.0.4 v0.0.4 2014-05-29 14:34:28 -07:00
Mark Larsen
4bdb956545 Merge pull request #11 from venmo/marklarr/aggregate_targets_2
Allow all abstract targets to have build settings changed
2014-05-29 14:33:42 -07:00
Mark Larsen
2fc4fe441d There's more than just native_targets that have build settings -- move code for build settings out onto abstract target. 2014-05-29 14:30:38 -07:00
Mark Larsen
79a82e8e4c Update README.md 2014-05-29 13:29:55 -07:00