xcunique 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/Gemfile +4 -0
  4. data/Guardfile +22 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +73 -0
  7. data/Rakefile +11 -0
  8. data/bin/xcunique +5 -0
  9. data/lib/json2plist/json2plist +21 -0
  10. data/lib/xcunique.rb +23 -0
  11. data/lib/xcunique/cli.rb +40 -0
  12. data/lib/xcunique/hash_ext.rb +25 -0
  13. data/lib/xcunique/helpers.rb +26 -0
  14. data/lib/xcunique/options.rb +68 -0
  15. data/lib/xcunique/parser.rb +54 -0
  16. data/lib/xcunique/sorter.rb +51 -0
  17. data/lib/xcunique/uniquifier.rb +36 -0
  18. data/lib/xcunique/version.rb +3 -0
  19. data/spec/fixtures/TestProject.json +548 -0
  20. data/spec/fixtures/TestProject/TestProject.xcodeproj/project.pbxproj +510 -0
  21. data/spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  22. data/spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/xcuserdata/paul.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  23. data/spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/TestProject.xcscheme +111 -0
  24. data/spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/xcschememanagement.plist +47 -0
  25. data/spec/fixtures/TestProject/TestProject/AppDelegate.swift +46 -0
  26. data/spec/fixtures/TestProject/TestProject/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
  27. data/spec/fixtures/TestProject/TestProject/Base.lproj/LaunchScreen.storyboard +27 -0
  28. data/spec/fixtures/TestProject/TestProject/Base.lproj/Main.storyboard +26 -0
  29. data/spec/fixtures/TestProject/TestProject/Info.plist +47 -0
  30. data/spec/fixtures/TestProject/TestProject/ViewController.swift +25 -0
  31. data/spec/fixtures/TestProject/TestProjectTests/Info.plist +24 -0
  32. data/spec/fixtures/TestProject/TestProjectTests/TestProjectTests.swift +36 -0
  33. data/spec/fixtures/TestProject/TestProjectUITests/Info.plist +24 -0
  34. data/spec/fixtures/TestProject/TestProjectUITests/TestProjectUITests.swift +36 -0
  35. data/spec/spec_helper.rb +4 -0
  36. data/spec/xcunique/hash_ext_spec.rb +36 -0
  37. data/spec/xcunique/helpers_spec.rb +58 -0
  38. data/spec/xcunique/parser_spec.rb +214 -0
  39. data/spec/xcunique/sorter_spec.rb +116 -0
  40. data/xcunique.gemspec +26 -0
  41. metadata +178 -0
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'xcunique/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "xcunique"
8
+ spec.version = Xcunique::VERSION
9
+ spec.authors = ["Paul Samuels"]
10
+ spec.email = ["paulio1987@gmail.com"]
11
+ spec.summary = %q{A tool to reduce merge conflicts with Xcode projects by creating deterministic UUIDs for every element within the `project.pbxproj` file.}
12
+ spec.description = %q{A tool to reduce merge conflicts with Xcode projects by creating deterministic UUIDs for every element within the `project.pbxproj` file.}
13
+ spec.homepage = "https://github.com/paulsamuels/xcunique"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "guard"
24
+ spec.add_development_dependency "guard-minitest"
25
+ spec.add_development_dependency "yard"
26
+ end
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xcunique
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Paul Samuels
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: yard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: A tool to reduce merge conflicts with Xcode projects by creating deterministic
84
+ UUIDs for every element within the `project.pbxproj` file.
85
+ email:
86
+ - paulio1987@gmail.com
87
+ executables:
88
+ - xcunique
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - Gemfile
94
+ - Guardfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - bin/xcunique
99
+ - lib/json2plist/json2plist
100
+ - lib/xcunique.rb
101
+ - lib/xcunique/cli.rb
102
+ - lib/xcunique/hash_ext.rb
103
+ - lib/xcunique/helpers.rb
104
+ - lib/xcunique/options.rb
105
+ - lib/xcunique/parser.rb
106
+ - lib/xcunique/sorter.rb
107
+ - lib/xcunique/uniquifier.rb
108
+ - lib/xcunique/version.rb
109
+ - spec/fixtures/TestProject.json
110
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.pbxproj
111
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata
112
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/xcuserdata/paul.xcuserdatad/UserInterfaceState.xcuserstate
113
+ - spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/TestProject.xcscheme
114
+ - spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/xcschememanagement.plist
115
+ - spec/fixtures/TestProject/TestProject/AppDelegate.swift
116
+ - spec/fixtures/TestProject/TestProject/Assets.xcassets/AppIcon.appiconset/Contents.json
117
+ - spec/fixtures/TestProject/TestProject/Base.lproj/LaunchScreen.storyboard
118
+ - spec/fixtures/TestProject/TestProject/Base.lproj/Main.storyboard
119
+ - spec/fixtures/TestProject/TestProject/Info.plist
120
+ - spec/fixtures/TestProject/TestProject/ViewController.swift
121
+ - spec/fixtures/TestProject/TestProjectTests/Info.plist
122
+ - spec/fixtures/TestProject/TestProjectTests/TestProjectTests.swift
123
+ - spec/fixtures/TestProject/TestProjectUITests/Info.plist
124
+ - spec/fixtures/TestProject/TestProjectUITests/TestProjectUITests.swift
125
+ - spec/spec_helper.rb
126
+ - spec/xcunique/hash_ext_spec.rb
127
+ - spec/xcunique/helpers_spec.rb
128
+ - spec/xcunique/parser_spec.rb
129
+ - spec/xcunique/sorter_spec.rb
130
+ - xcunique.gemspec
131
+ homepage: https://github.com/paulsamuels/xcunique
132
+ licenses:
133
+ - MIT
134
+ metadata: {}
135
+ post_install_message:
136
+ rdoc_options: []
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ requirements: []
150
+ rubyforge_project:
151
+ rubygems_version: 2.4.6
152
+ signing_key:
153
+ specification_version: 4
154
+ summary: A tool to reduce merge conflicts with Xcode projects by creating deterministic
155
+ UUIDs for every element within the `project.pbxproj` file.
156
+ test_files:
157
+ - spec/fixtures/TestProject.json
158
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.pbxproj
159
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata
160
+ - spec/fixtures/TestProject/TestProject.xcodeproj/project.xcworkspace/xcuserdata/paul.xcuserdatad/UserInterfaceState.xcuserstate
161
+ - spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/TestProject.xcscheme
162
+ - spec/fixtures/TestProject/TestProject.xcodeproj/xcuserdata/paul.xcuserdatad/xcschemes/xcschememanagement.plist
163
+ - spec/fixtures/TestProject/TestProject/AppDelegate.swift
164
+ - spec/fixtures/TestProject/TestProject/Assets.xcassets/AppIcon.appiconset/Contents.json
165
+ - spec/fixtures/TestProject/TestProject/Base.lproj/LaunchScreen.storyboard
166
+ - spec/fixtures/TestProject/TestProject/Base.lproj/Main.storyboard
167
+ - spec/fixtures/TestProject/TestProject/Info.plist
168
+ - spec/fixtures/TestProject/TestProject/ViewController.swift
169
+ - spec/fixtures/TestProject/TestProjectTests/Info.plist
170
+ - spec/fixtures/TestProject/TestProjectTests/TestProjectTests.swift
171
+ - spec/fixtures/TestProject/TestProjectUITests/Info.plist
172
+ - spec/fixtures/TestProject/TestProjectUITests/TestProjectUITests.swift
173
+ - spec/spec_helper.rb
174
+ - spec/xcunique/hash_ext_spec.rb
175
+ - spec/xcunique/helpers_spec.rb
176
+ - spec/xcunique/parser_spec.rb
177
+ - spec/xcunique/sorter_spec.rb
178
+ has_rdoc: