synx 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 595d22890b8896c7ff98ff6119cb7b6447b2e777
4
- data.tar.gz: 82c3e9308a23c4c3dd6fb7716f78f9b54b7b4e33
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZDk2OThkYzE0NWYwNThkOTM0MjFlZDQ1MTkxZDAzYWM5ODc1ZDdlMA==
5
+ data.tar.gz: !binary |-
6
+ ZjAzY2U1YTJmM2VjMmRjNGM0MDFmYzU1N2Y4MWRkYTA1NmZmMzllZA==
5
7
  SHA512:
6
- metadata.gz: 31c660e75c389b8a461eff66a8fddebbd58163774d44cd32947a1bdc874dabfbcdf7e4b84c9f8e29410b7ec315c6aaab0cbc58a84be8c3eed2038a77098ad2b4
7
- data.tar.gz: a552e674fee0cdffc2e0607075125066789a239d27adb910701905e3b9f6d7b92d0875bdb251876061d1eb3a54ebb8fd85f8fc6805fdbd25d4500ef121fe689d
8
+ metadata.gz: !binary |-
9
+ NGEwZTY3MmQ3Zjc2OWRkMmYzZDAyNTEwYTFhNDYxMzA0ZDdiMDA5OTIxMjg3
10
+ ZmI3ZGQ4NzVhZDFkM2NmYmZjNGJhYTJhYzRjZWQ5NzJlYTY5NDcwMjg1MzM1
11
+ NTZkZGY3ZjZmNmRlMmFkNWVjMDViMmI4YTMzMzQwNjA5NWEyMzk=
12
+ data.tar.gz: !binary |-
13
+ Nzk0NmUzNmM0NzA4ZTc2ZGQ4ZTY0ZjBmMmJlOTEwYWQzYTJkYjVlYjFmYWYx
14
+ MjVlYmMxMjM2YTRkOGU4ZTU1YjZmMmY0ZGUwZGJiOTc0MzU5ZjY3MzY1Y2Rm
15
+ ZDRiODFiOGY1MDNhMjk0ZTZhM2ExMmE1ZjNlY2E4ZTNkZDYxYWE=
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Mark Larsen
1
+ Copyright (c) 2014 Venmo
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ![synx logo](https://raw.githubusercontent.com/venmo/synx/marklarr/dev/docs/images/synx-logo.png?token=760261__eyJzY29wZSI6IlJhd0Jsb2I6dmVubW8vc3lueC9tYXJrbGFyci9kZXYvZG9jcy9pbWFnZXMvc3lueC1sb2dvLnBuZyIsImV4cGlyZXMiOjE0MDE5MzExNDF9--6c8a22318eaafed2185cb16d39189dcadb75c742)
5
5
 
6
- A command-line tool that automagically reorganizes your Xcode project folder.
6
+ A command-line tool that reorganizes your Xcode project folder to match your Xcode groups.
7
7
 
8
8
  ![synx gif](https://raw.githubusercontent.com/venmo/synx/marklarr/dev/docs/images/synx.gif?token=760261__eyJzY29wZSI6IlJhd0Jsb2I6dmVubW8vc3lueC9tYXJrbGFyci9kZXYvZG9jcy9pbWFnZXMvc3lueC5naWYiLCJleHBpcmVzIjoxNDAxODU2NzAyfQ%3D%3D--fc7d8546f3d4860df9024b1ee82ea13b86a2da88)
9
9
 
@@ -53,7 +53,7 @@ if they wanted to not sync the `OCMock/Core` and `OCMockTests` groups, and also
53
53
 
54
54
  ## Contributing
55
55
 
56
- 1. Fork it ( https://github.com/[my-github-username]/synx/fork )
56
+ 1. Fork it
57
57
  2. Create your feature branch (`git checkout -b my-new-feature`)
58
58
  3. Commit your changes (`git commit -am 'Add some feature'`)
59
59
  4. Push to the branch (`git push origin my-new-feature`)
@@ -61,5 +61,5 @@ if they wanted to not sync the `OCMock/Core` and `OCMockTests` groups, and also
61
61
 
62
62
  ## Contributors
63
63
 
64
- * @vrjbndr, awesome logo!
65
- * @ayanonagon and @benzguo, feedback.
64
+ * [@vrjbndr](https://github.com/vrjbndr), awesome logo!
65
+ * [@ayanonagon](https://github.com/ayanonagon) and [@benzguo](https://github.com/benzguo), feedback.
data/lib/synx.rb CHANGED
@@ -3,7 +3,7 @@ require "synx/project"
3
3
  require "synx/pbx_file_reference"
4
4
  require "synx/pbx_group"
5
5
  require "synx/abstract_object"
6
- require "synx/pbx_native_target"
6
+ require "synx/abstract_target"
7
7
  require "synx/pbx_variant_group"
8
8
  require "synx/tabber"
9
9
 
@@ -3,7 +3,7 @@ require 'xcodeproj'
3
3
  module Xcodeproj
4
4
  class Project
5
5
  module Object
6
- class PBXNativeTarget
6
+ class AbstractTarget
7
7
 
8
8
  def each_build_settings
9
9
  build_configurations.each { |bc| yield bc.build_settings }
data/lib/synx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Synx
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -6,6 +6,19 @@
6
6
  objectVersion = 46;
7
7
  objects = {
8
8
 
9
+ /* Begin PBXAggregateTarget section */
10
+ 8CDA046A1937DDAA004435A1 /* Aggregate Target */ = {
11
+ isa = PBXAggregateTarget;
12
+ buildConfigurationList = 8CDA046D1937DDAA004435A1 /* Build configuration list for PBXAggregateTarget "Aggregate Target" */;
13
+ buildPhases = (
14
+ );
15
+ dependencies = (
16
+ );
17
+ name = "Aggregate Target";
18
+ productName = "Aggregate Target";
19
+ };
20
+ /* End PBXAggregateTarget section */
21
+
9
22
  /* Begin PBXBuildFile section */
10
23
  8C2DEB7F191D3F5C003A1F44 /* ManyFiles.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C2DEB7E191D3F5C003A1F44 /* ManyFiles.m */; };
11
24
  8C2DEB82191D3F68003A1F44 /* Wow.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C2DEB81191D3F68003A1F44 /* Wow.m */; };
@@ -303,6 +316,7 @@
303
316
  targets = (
304
317
  8C848C47190DB9B300E9727B /* dummy */,
305
318
  8C848C57190DB9B300E9727B /* dummyTests */,
319
+ 8CDA046A1937DDAA004435A1 /* Aggregate Target */,
306
320
  );
307
321
  };
308
322
  /* End PBXProject section */
@@ -492,6 +506,20 @@
492
506
  };
493
507
  name = Release;
494
508
  };
509
+ 8CDA046B1937DDAA004435A1 /* Debug */ = {
510
+ isa = XCBuildConfiguration;
511
+ buildSettings = {
512
+ PRODUCT_NAME = "$(TARGET_NAME)";
513
+ };
514
+ name = Debug;
515
+ };
516
+ 8CDA046C1937DDAA004435A1 /* Release */ = {
517
+ isa = XCBuildConfiguration;
518
+ buildSettings = {
519
+ PRODUCT_NAME = "$(TARGET_NAME)";
520
+ };
521
+ name = Release;
522
+ };
495
523
  /* End XCBuildConfiguration section */
496
524
 
497
525
  /* Begin XCConfigurationList section */
@@ -522,6 +550,14 @@
522
550
  defaultConfigurationIsVisible = 0;
523
551
  defaultConfigurationName = Release;
524
552
  };
553
+ 8CDA046D1937DDAA004435A1 /* Build configuration list for PBXAggregateTarget "Aggregate Target" */ = {
554
+ isa = XCConfigurationList;
555
+ buildConfigurations = (
556
+ 8CDA046B1937DDAA004435A1 /* Debug */,
557
+ 8CDA046C1937DDAA004435A1 /* Release */,
558
+ );
559
+ defaultConfigurationIsVisible = 0;
560
+ };
525
561
  /* End XCConfigurationList section */
526
562
 
527
563
  /* Begin XCVersionGroup section */
@@ -102,7 +102,7 @@ describe Synx::Project do
102
102
  end
103
103
 
104
104
  # dummyTests target
105
- DUMMY_SYNX_TEST_PROJECT.targets.last.each_build_settings do |bs|
105
+ DUMMY_SYNX_TEST_PROJECT.targets[1].each_build_settings do |bs|
106
106
  expect(bs["GCC_PREFIX_HEADER"]).to eq("dummyTests/Supporting Files/dummyTests-Prefix.pch")
107
107
  expect(bs["INFOPLIST_FILE"]).to eq("dummyTests/Supporting Files/dummyTests-Info.plist")
108
108
  end
data/synx.gemspec CHANGED
@@ -8,10 +8,10 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Synx::VERSION
9
9
  spec.authors = ["Mark Larsen"]
10
10
  spec.email = ["mark@venmo.com"]
11
- spec.summary = %q{A command-line tool that automagically reorganizes your Xcode project folder to match your Xcode groups.}
11
+ spec.summary = %q{A command-line tool that reorganizes your Xcode project folder to match your Xcode groups}
12
12
  spec.description = <<-DESC
13
- A command-line tool that automagically reorganizes your Xcode project folder to match your Xcode groups.
14
- Synx parses the .xcodeproj to build the same group structure out on the file system.
13
+ A command-line tool that reorganizes your Xcode project folder to match your Xcode groups
14
+ Synx parses your .xcodeproj to build the same group structure out on the file system.
15
15
  DESC
16
16
  spec.homepage = "https://github.com/venmo/synx"
17
17
  spec.license = "MIT"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Larsen
@@ -14,117 +14,117 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.14'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.9'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: clamp
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.6'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.6'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: colored
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.2'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.2'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: xcodeproj
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0.17'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.17'
125
- description: |2
126
- A command-line tool that automagically reorganizes your Xcode project folder to match your Xcode groups.
127
- Synx parses the .xcodeproj to build the same group structure out on the file system.
125
+ description: ! " A command-line tool that reorganizes your Xcode
126
+ project folder to match your Xcode groups\n Synx parses your
127
+ .xcodeproj to build the same group structure out on the file system.\n"
128
128
  email:
129
129
  - mark@venmo.com
130
130
  executables:
@@ -132,8 +132,8 @@ executables:
132
132
  extensions: []
133
133
  extra_rdoc_files: []
134
134
  files:
135
- - ".gitignore"
136
- - ".travis.yml"
135
+ - .gitignore
136
+ - .travis.yml
137
137
  - Gemfile
138
138
  - LICENSE.txt
139
139
  - README.md
@@ -141,9 +141,9 @@ files:
141
141
  - bin/synx
142
142
  - lib/synx.rb
143
143
  - lib/synx/abstract_object.rb
144
+ - lib/synx/abstract_target.rb
144
145
  - lib/synx/pbx_file_reference.rb
145
146
  - lib/synx/pbx_group.rb
146
- - lib/synx/pbx_native_target.rb
147
147
  - lib/synx/pbx_variant_group.rb
148
148
  - lib/synx/project.rb
149
149
  - lib/synx/tabber.rb
@@ -197,12 +197,12 @@ require_paths:
197
197
  - lib
198
198
  required_ruby_version: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ">="
200
+ - - ! '>='
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
- - - ">="
205
+ - - ! '>='
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
@@ -210,8 +210,8 @@ rubyforge_project:
210
210
  rubygems_version: 2.2.2
211
211
  signing_key:
212
212
  specification_version: 4
213
- summary: A command-line tool that automagically reorganizes your Xcode project folder
214
- to match your Xcode groups.
213
+ summary: A command-line tool that reorganizes your Xcode project folder to match your
214
+ Xcode groups
215
215
  test_files:
216
216
  - spec/dummy/dummy.xcodeproj/project.pbxproj
217
217
  - spec/dummy/dummy.xcodeproj/project.xcworkspace/contents.xcworkspacedata