code_lister 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 936444628fc21d7dd4d8b9e4210282c5cf8af848
4
- data.tar.gz: 46675cb934ccf424498be589b995405be7a4b5c2
3
+ metadata.gz: f7f7fe08ef0bc03253415dda3acbd6ae7814d9c6
4
+ data.tar.gz: 659a64ce615e0df1273a83cbe36baaef0fdf196b
5
5
  SHA512:
6
- metadata.gz: c39417058af18792eb70cfd8084343a6bd7ae31697dad866d7fa7f14226f397f6a1e9dd06c9bd17970d35d421a8ca42c46a7e499858f04137f3e97b35912f8ee
7
- data.tar.gz: 65da264d9b5a06848190890df95d9bb2925057e28aac3427d96bbcbef6651c84cbfe318d70047b4ca30bfbe9a8b68b3d0cfc0642631ecb7b2cc6a6cb61216d23
6
+ metadata.gz: 263d110b042e0a750529a5e65ec33253469f731811b5e0e5d6047dfba6c52068899dab3479c41ac7d376891e69ddac9b26f11a4f508267f5359019592dd1373b
7
+ data.tar.gz: 2ce6aad64f267b7a348f9b566260067a97624d96ff3c4572b88503af8c5b6b14139fcd98d08e3feb91cbccb152fa5909ae596790c9fd97015b50434913715183
data/CHANGELOGS.md CHANGED
@@ -1,8 +1,13 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.1.0
4
+
5
+ - First release based on [Semantic Versioning][]
6
+ - Update the gem dependencies to latest version
7
+
3
8
  #### 0.0.9
4
9
 
5
- - Consistencely replace the `base_dir` with `.` in the result:w
10
+ - Consistencely replace the `base_dir` with `.` in the result
6
11
  - Move changelogs section from README.md to CHANGELOGS.md
7
12
  - Minor code refactoring
8
13
  - Fix style with rubocop
@@ -38,3 +43,5 @@
38
43
  #### 0.0.2
39
44
 
40
45
  - initial release
46
+
47
+ [Semantic Versioning]: http://semver.org
data/README.md CHANGED
@@ -10,6 +10,8 @@ It provides the functionality similar to subset of `find | grep` command in Linu
10
10
  Initially this was part of my internal project. I extracted this out as a gem so
11
11
  that I can re-use it in other project.
12
12
 
13
+ Note: starting from version `0.1.0` this gem will follow the [Semantic Versioning] convention.
14
+
13
15
  ### Installation
14
16
 
15
17
  Add this line to your application's Gemfile:
@@ -93,6 +95,7 @@ Example Usage:
93
95
  ./demo1.xxx.rb
94
96
  ./demo2.xxx.rb
95
97
  ```
98
+
96
99
  #### Using as ruby library
97
100
 
98
101
  This is probably the proper way to utilize the library as the CLI only serve to
@@ -147,3 +150,5 @@ list2 = CodeLister.filter(list1, inc_words: %w(final complete), exc_words: %w(de
147
150
  3. Commit your changes (`git commit -am 'Add some feature'`)
148
151
  4. Push to the branch (`git push origin my-new-feature`)
149
152
  5. Create new Pull Request
153
+
154
+ [Semantic Versioning]: http://semver.org
data/code_lister.gemspec CHANGED
@@ -12,9 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.description = %q{List/filter files similar to 'find then grep' command in Linux/Unix based system}
13
13
  spec.homepage = 'https://github.com/agilecreativity/code_lister'
14
14
  spec.license = 'MIT'
15
- # spec.files = `git ls-files -z`.split("\x0")
16
- # spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
- # spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
15
  spec.files = Dir.glob("{bin,lib}/**/*") + %w(Gemfile
19
16
  Rakefile
20
17
  code_lister.gemspec
@@ -28,7 +25,7 @@ Gem::Specification.new do |spec|
28
25
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
29
26
  spec.require_paths = ['lib']
30
27
  spec.add_runtime_dependency 'thor', '~> 0.19'
31
- spec.add_runtime_dependency 'agile_utils', '~> 0.0.8'
28
+ spec.add_runtime_dependency 'agile_utils', '~> 0.1'
32
29
  spec.add_development_dependency 'bundler', '~> 1.6'
33
30
  spec.add_development_dependency 'rake', '~> 10.3'
34
31
  spec.add_development_dependency 'rspec', '~> 2.14'
@@ -36,5 +33,5 @@ Gem::Specification.new do |spec|
36
33
  spec.add_development_dependency 'awesome_print', '~> 1.2'
37
34
  spec.add_development_dependency 'pry', '~> 0.9'
38
35
  spec.add_development_dependency 'fuubar', '~> 1.3'
39
- spec.add_development_dependency 'rubocop', '~> 0.20.1'
36
+ spec.add_development_dependency 'rubocop', '~> 0.20'
40
37
  end
@@ -1,3 +1,3 @@
1
1
  module CodeLister
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
3
3
  end
data/rubocop-todo.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  # This configuration was generated by `rubocop --auto-gen-config`
2
- # on 2014-05-09 23:31:10 +1000 using RuboCop version 0.21.0.
2
+ # on 2014-05-12 22:42:32 +1000 using RuboCop version 0.21.0.
3
3
  # The point is for the user to remove these configuration records
4
4
  # one by one as the offenses are removed from the code base.
5
5
  # Note that changes in the inspected code, or installation of new
@@ -9,59 +9,15 @@
9
9
  AmbiguousOperator:
10
10
  Enabled: false
11
11
 
12
- # Offense count: 1
13
- # Cop supports --auto-correct.
14
- Blocks:
15
- Enabled: true
16
-
17
- # Offense count: 1
18
- # Cop supports --auto-correct.
19
- DeprecatedClassMethods:
20
- Enabled: true
21
-
22
12
  # Offense count: 5
23
13
  Documentation:
24
14
  Enabled: false
25
15
 
26
- # Offense count: 1
27
- # Cop supports --auto-correct.
28
- # Configuration parameters: EnforcedStyle, SupportedStyles.
29
- HashSyntax:
30
- Enabled: true
31
-
32
- # Offense count: 1
33
- # Cop supports --auto-correct.
34
- LeadingCommentSpace:
35
- Enabled: true
36
-
37
16
  # Offense count: 22
38
17
  LineLength:
39
- Max: 124
18
+ Max: 123
40
19
 
41
20
  # Offense count: 2
42
21
  # Configuration parameters: CountComments.
43
22
  MethodLength:
44
- Max: 20
45
-
46
- # Offense count: 1
47
- # Cop supports --auto-correct.
48
- # Configuration parameters: EnforcedStyle, SupportedStyles.
49
- SignalException:
50
- Enabled: true
51
-
52
- # Offense count: 1
53
- # Cop supports --auto-correct.
54
- # Configuration parameters: EnforcedStyle, SupportedStyles.
55
- SpaceBeforeBlockBraces:
56
- Enabled: true
57
-
58
- # Offense count: 1
59
- # Cop supports --auto-correct.
60
- # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
61
- SpaceInsideBlockBraces:
62
- Enabled: true
63
-
64
- # Offense count: 1
65
- # Cop supports --auto-correct.
66
- SpaceInsideBrackets:
67
- Enabled: true
23
+ Max: 16
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.8
33
+ version: '0.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.8
40
+ version: '0.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.20.1
145
+ version: '0.20'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.20.1
152
+ version: '0.20'
153
153
  description: List/filter files similar to 'find then grep' command in Linux/Unix based
154
154
  system
155
155
  email: