extension_lister 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.2.2
4
+
5
+ - Using hashie gem to make it possible to use with ruby 1.9.3+
6
+
3
7
  #### 0.2.1
4
8
 
5
9
  - Make ruby 2.1.0+ mandatory requirement
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.summary = %q{List unique file extensions from any given directory recursively}
11
11
  spec.description = %q{List unique file extensions from any starting directory recursively}
12
12
  spec.homepage = 'https://github.com/agilecreativity/extension_lister'
13
- spec.required_ruby_version = ">= 2.1.0"
13
+ spec.required_ruby_version = ">= 1.9.3"
14
14
  spec.license = 'MIT'
15
15
  spec.files = Dir.glob("{bin,lib}/**/*") + %w[Gemfile
16
16
  Rakefile
@@ -23,12 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
24
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
25
25
  spec.require_paths = ['lib']
26
-
27
- spec.add_runtime_dependency 'agile_utils', '~> 0.2.1'
28
26
  spec.add_runtime_dependency 'thor', '~> 0.19.1'
29
-
27
+ spec.add_runtime_dependency 'hashie', '~> 3.0.0'
30
28
  spec.add_development_dependency 'awesome_print', '~> 1.2.0'
31
- spec.add_development_dependency 'bundler', '~> 1.6.2'
29
+ spec.add_development_dependency 'bundler', '~> 1.7.0'
32
30
  spec.add_development_dependency 'gem-ctags', '~> 1.0.6'
33
31
  spec.add_development_dependency 'guard', '~> 2.6.1'
34
32
  spec.add_development_dependency 'guard-minitest', '~> 2.3.1'
@@ -1,9 +1,7 @@
1
1
  require 'thor'
2
- require 'agile_utils'
2
+ require 'hashie'
3
3
  module ExtensionLister
4
4
  class CLI < Thor
5
- using AgileUtils::HashExt
6
-
7
5
  desc 'list', 'List all unique extensions'
8
6
  method_option "base_dir",
9
7
  aliases: "-b",
@@ -14,7 +12,7 @@ module ExtensionLister
14
12
  aliases: '-v',
15
13
  desc: 'Display version number'
16
14
  def list
17
- opts = options.symbolize_keys
15
+ opts = Hashie::Hash[options].to_hash(symbolize_keys: true)
18
16
  if opts[:version]
19
17
  puts "You are using ExtensionLister version #{ExtensionLister::VERSION}"
20
18
  exit
@@ -1,3 +1,3 @@
1
1
  module ExtensionLister
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,195 +1,222 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extension_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Burin Choomnuan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
- name: agile_utils
15
+ name: thor
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: 0.2.1
21
+ version: 0.19.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: 0.2.1
29
+ version: 0.19.1
27
30
  - !ruby/object:Gem::Dependency
28
- name: thor
31
+ name: hashie
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
- version: 0.19.1
37
+ version: 3.0.0
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
- version: 0.19.1
45
+ version: 3.0.0
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: awesome_print
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
53
  version: 1.2.0
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
61
  version: 1.2.0
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: bundler
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: 1.6.2
69
+ version: 1.7.0
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
- version: 1.6.2
77
+ version: 1.7.0
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: gem-ctags
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: 1.0.6
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: 1.0.6
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: guard
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: 2.6.1
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: 2.6.1
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: guard-minitest
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: 2.3.1
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: 2.3.1
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: minitest
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 5.4.0
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 5.4.0
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: minitest-spec-context
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "~>"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
149
  version: 0.0.3
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "~>"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
157
  version: 0.0.3
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: pry
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - "~>"
163
+ - - ~>
144
164
  - !ruby/object:Gem::Version
145
165
  version: 0.10.0
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - "~>"
171
+ - - ~>
151
172
  - !ruby/object:Gem::Version
152
173
  version: 0.10.0
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: rake
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - "~>"
179
+ - - ~>
158
180
  - !ruby/object:Gem::Version
159
181
  version: 10.3.2
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - "~>"
187
+ - - ~>
165
188
  - !ruby/object:Gem::Version
166
189
  version: 10.3.2
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: rubocop
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
- - - "~>"
195
+ - - ~>
172
196
  - !ruby/object:Gem::Version
173
197
  version: 0.24.1
174
198
  type: :development
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
- - - "~>"
203
+ - - ~>
179
204
  - !ruby/object:Gem::Version
180
205
  version: 0.24.1
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: yard
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - "~>"
211
+ - - ~>
186
212
  - !ruby/object:Gem::Version
187
213
  version: 0.8.7
188
214
  type: :development
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - "~>"
219
+ - - ~>
193
220
  - !ruby/object:Gem::Version
194
221
  version: 0.8.7
195
222
  description: List unique file extensions from any starting directory recursively
@@ -200,41 +227,42 @@ executables:
200
227
  extensions: []
201
228
  extra_rdoc_files: []
202
229
  files:
203
- - ".gitignore"
204
- - ".rubocop.yml"
205
- - CHANGELOG.md
206
- - Gemfile
207
- - LICENSE
208
- - README.md
209
- - Rakefile
210
230
  - bin/extension_lister
211
- - extension_lister.gemspec
212
- - lib/extension_lister.rb
213
231
  - lib/extension_lister/cli.rb
214
232
  - lib/extension_lister/version.rb
233
+ - lib/extension_lister.rb
234
+ - Gemfile
235
+ - Rakefile
236
+ - extension_lister.gemspec
237
+ - README.md
238
+ - CHANGELOG.md
239
+ - LICENSE
240
+ - .rubocop.yml
241
+ - .gitignore
215
242
  homepage: https://github.com/agilecreativity/extension_lister
216
243
  licenses:
217
244
  - MIT
218
- metadata: {}
219
245
  post_install_message:
220
246
  rdoc_options: []
221
247
  require_paths:
222
248
  - lib
223
249
  required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
224
251
  requirements:
225
- - - ">="
252
+ - - ! '>='
226
253
  - !ruby/object:Gem::Version
227
- version: 2.1.0
254
+ version: 1.9.3
228
255
  required_rubygems_version: !ruby/object:Gem::Requirement
256
+ none: false
229
257
  requirements:
230
- - - ">="
258
+ - - ! '>='
231
259
  - !ruby/object:Gem::Version
232
260
  version: '0'
233
261
  requirements: []
234
262
  rubyforge_project:
235
- rubygems_version: 2.2.2
263
+ rubygems_version: 1.8.23.2
236
264
  signing_key:
237
- specification_version: 4
265
+ specification_version: 3
238
266
  summary: List unique file extensions from any given directory recursively
239
267
  test_files: []
240
268
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: e7d841e0c2eff7fbe156eb5217815338d7724811
4
- data.tar.gz: 57728046047e2b6082b023fabff96e71bbbc1355
5
- SHA512:
6
- metadata.gz: f38a109d4dc5f2f17f556b14b8c7afa47e12ef0ae4ab5c7532d38b33a72b7f038ef2c276a9fcffeae46490c5fa9c9fd614bce11cfa734d950d2779fc0bf91fbd
7
- data.tar.gz: 095ebee09c8f70d44368f5193f2ee89c3fdc6ac948b279c930e70b2061aed7799055849c176b78e63c30e8705b5d8904197ec4432f258f3e0287e82da36cfcf7