cint 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/cint +14 -8
  3. data/lib/cint/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20a5e222485438a3ffb646bb8b4330e7cbb14001d41df6317d4a5cf8353cf437
4
- data.tar.gz: 694344df09fbcdd6774feff23ce3ee9587aa813c0362228e2388b28a940e6253
3
+ metadata.gz: 4bb77f61b50b0f32002b0f0d3a69755771c66bae1e6ef05fa3b83d2efe5b75dd
4
+ data.tar.gz: a8b9597edf47966f19df9fbe7e5217863d4fd13180c59b0ad18d39eb40b911c6
5
5
  SHA512:
6
- metadata.gz: 12d6f169dd2e8f3914f5a4baa74345863fdc65f8bc9d494a7bda4852c7e6872390317b525866fff54786bddd38bd1035b3a422058c7e0a28110a0b4cb46c5b56
7
- data.tar.gz: ea55553f8aa0300f081e1448f50ea8c57990de2bea1cf30e14dcf737545cbc18d28756b2ba648445c3994125da78082a4e30122157a210003e6b11a165b1b679
6
+ metadata.gz: a857ee3f0773987f487124ea3356ac6c55db0d9628450b1bb1f39d80c2052c204175211739a9805b286fab60e3fd306d3ab142c846f2026ec8267959548a3867
7
+ data.tar.gz: fd93fb0fae8b1c79122cc86c3049b56710c2cf4960441b42250d96c4d1064bdf1c197e6f7c1aba164f9112ba0b2ebada2ff42ba11b1eea418ab589a6fc6adc2d
data/bin/cint CHANGED
@@ -186,18 +186,24 @@ def cleanup_symbols(frameworks, args)
186
186
  end
187
187
  end
188
188
 
189
+ command :ocleanup do |c|
190
+ c.syntax = 'cint ocleanup'
191
+ c.description = 'Remove orphaned bcsymbolmap files'
192
+ c.action do |args, options|
193
+ frameworks = Cint::Cleanup.frameworks
194
+ error "There are not a single framework found. Check directory, it should be ran in Build/* directory." if frameworks.empty?
195
+
196
+ cleanup_orphaned_symbols(frameworks)
197
+ end
198
+ end
199
+
189
200
  command :cleanup do |c|
190
- c.syntax = 'cint cleanup [framework,...]'
191
- c.description = 'Remove bcsymbolmap files for frameworks. If no parameters passed it will perform cleanup for every framework.'
192
- c.option '--orphans'
201
+ c.syntax = 'cint cleanup framework...'
202
+ c.description = 'Remove bcsymbolmap files for frameworks. If no parameters passed it will perform cleanup for every found framework.'
193
203
  c.action do |args, options|
194
204
  frameworks = Cint::Cleanup.frameworks
195
205
  error "There are not a single framework found. Check directory, it should be ran in Build/* directory." if frameworks.empty?
196
206
 
197
- if options.orphans
198
- cleanup_orphaned_symbols(frameworks)
199
- else
200
- cleanup_symbols(frameworks, args)
201
- end
207
+ cleanup_symbols(frameworks, args)
202
208
  end
203
209
  end
data/lib/cint/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cint
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Antonyuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.7.1
134
+ rubygems_version: 2.7.2
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Simplifies all routines with adding Frameworks built with Carthage into a