code_lister 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.2.3
4
+
5
+ - Use `require` instead of `require_relative`
6
+ - Update gem's dependencies
7
+
3
8
  #### 0.2.2
4
9
 
5
10
  - Support ruby version 1.9.3+
data/bin/code_lister CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative "../lib/code_lister"
3
- include CodeLister
4
3
  if ARGV.empty?
5
4
  CodeLister::CLI.start(%w[usage])
6
5
  else
data/code_lister.gemspec CHANGED
@@ -23,16 +23,14 @@ 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.2"
26
+ spec.add_runtime_dependency "agile_utils", "~> 0.2.3"
28
27
  spec.add_runtime_dependency "thor", "~> 0.19.1"
29
-
30
28
  spec.add_development_dependency "awesome_print", "~> 1.2.0"
31
- spec.add_development_dependency "bundler", "~> 1.7.0"
29
+ spec.add_development_dependency "bundler", "~> 1.7.3"
32
30
  spec.add_development_dependency "fuubar", "~> 2.0.0"
33
31
  spec.add_development_dependency "guard-rspec", "~> 4.3.1"
34
- spec.add_development_dependency "pry", "~> 0.10.0"
32
+ spec.add_development_dependency "pry", "~> 0.10.1"
35
33
  spec.add_development_dependency "rake", "~> 10.3.2"
36
- spec.add_development_dependency "rspec", "~> 3.0.0"
37
- spec.add_development_dependency "rubocop", "~> 0.24.1"
34
+ spec.add_development_dependency "rspec", "~> 3.1.0"
35
+ spec.add_development_dependency "rubocop", "~> 0.26.1"
38
36
  end
data/lib/code_lister.rb CHANGED
@@ -1,4 +1,7 @@
1
- require_relative "code_lister/version"
2
- require_relative "code_lister/code_lister"
3
- require_relative "code_lister/cli"
4
- require_relative "code_lister/main"
1
+ require "thor"
2
+ require "agile_utils"
3
+ require "code_lister/version"
4
+ require "code_lister/code_lister"
5
+ require "code_lister/cli"
6
+ require "code_lister/main"
7
+ include CodeLister
@@ -1,5 +1,3 @@
1
- require "thor"
2
- require "agile_utils"
3
1
  module CodeLister
4
2
  class CLI < Thor
5
3
  # rubocop:disable AmbiguousOperator, LineLength
@@ -1,7 +1,5 @@
1
- require "agile_utils"
2
1
  module CodeLister
3
2
  CustomError = Class.new(StandardError)
4
-
5
3
  class << self
6
4
  # Execute the command in the shell and extract the output to be used
7
5
  #
@@ -1,3 +1,3 @@
1
1
  module CodeLister
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,3 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # Require this file using `require "spec_helper"` to ensure that it is only
4
- # loaded once.
5
- #
6
1
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
2
  RSpec.configure do |config|
8
3
  config.treat_symbols_as_metadata_keys_with_true_values = true
@@ -16,4 +11,3 @@ RSpec.configure do |config|
16
11
  config.order = "random"
17
12
  end
18
13
  require_relative "../lib/code_lister"
19
- include CodeLister
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-14 00:00:00.000000000 Z
12
+ date: 2014-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: agile_utils
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.2
21
+ version: 0.2.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.2.2
29
+ version: 0.2.3
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: thor
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 1.7.0
69
+ version: 1.7.3
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 1.7.0
77
+ version: 1.7.3
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: fuubar
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 0.10.0
117
+ version: 0.10.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 0.10.0
125
+ version: 0.10.1
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rake
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ~>
148
148
  - !ruby/object:Gem::Version
149
- version: 3.0.0
149
+ version: 3.1.0
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  requirements:
155
155
  - - ~>
156
156
  - !ruby/object:Gem::Version
157
- version: 3.0.0
157
+ version: 3.1.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: rubocop
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  requirements:
163
163
  - - ~>
164
164
  - !ruby/object:Gem::Version
165
- version: 0.24.1
165
+ version: 0.26.1
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,7 +170,7 @@ dependencies:
170
170
  requirements:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
- version: 0.24.1
173
+ version: 0.26.1
174
174
  description: List/filter files similar to 'find then grep' command in Linux/Unix based
175
175
  system
176
176
  email: