test-belt 2.0.0 → 2.0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 695dfd21c477d0586e50acd71dea3f8b76934579
4
+ data.tar.gz: 98226bc6b4b7019418b7985fdbe4c1ecb913c477
5
+ SHA512:
6
+ metadata.gz: c97082379684f35d731ccf51ffcdaa94e4da49874d2ed13afe7d0d78c1fd37de8d51b91e3ffd7d1dacdc2fa47efe8efb550ea9c333c0f4bb5391a77d7e04e4f7
7
+ data.tar.gz: b16cc51d5c4b73074938d8754489e39b7328b6c02e7b57bc0ff396621401491ecc08504f0f714c95411354dbd13ddb2ea4629552e5da3a56dcce6f08c49fe0a8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- test-belt (2.0.0)
4
+ test-belt (2.0.1)
5
5
  leftright (~> 0.9.0)
6
6
 
7
7
  GEM
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2010-Present Kelly Redding
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -93,28 +93,3 @@ Many times in developing code, I need to quickly load up IRB with my environment
93
93
  > TestBelt
94
94
  => TestBelt
95
95
  >
96
-
97
- == License
98
-
99
- Copyright (c) 2010-2011 Kelly D. Redding
100
-
101
- Permission is hereby granted, free of charge, to any person
102
- obtaining a copy of this software and associated documentation
103
- files (the "Software"), to deal in the Software without
104
- restriction, including without limitation the rights to use,
105
- copy, modify, merge, publish, distribute, sublicense, and/or sell
106
- copies of the Software, and to permit persons to whom the
107
- Software is furnished to do so, subject to the following
108
- conditions:
109
-
110
- The above copyright notice and this permission notice shall be
111
- included in all copies or substantial portions of the Software.
112
-
113
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
114
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
115
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
116
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
117
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
118
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
119
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
120
- OTHER DEALINGS IN THE SOFTWARE.
@@ -1,3 +1,3 @@
1
1
  module TestBelt
2
- VERSION = "2.0.0"
3
- end
2
+ VERSION = "2.0.1"
3
+ end
@@ -1,22 +1,24 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
4
  require "test_belt/version"
4
5
 
5
- Gem::Specification.new do |s|
6
- s.name = "test-belt"
7
- s.version = TestBelt::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Kelly D. Redding"]
10
- s.email = ["kelly@kelredd.com"]
11
- s.homepage = "http://github.com/kelredd/test-belt"
12
- s.summary = %q{A gem for using testing tools I like - my Ruby testing toolbelt.}
13
- s.description = %q{This is my Ruby testing "tool belt". It packages up the most common testing tools and paradigms I use. It is opinionated and custom to how I like to test.}
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "test-belt"
8
+ gem.version = TestBelt::VERSION
9
+ gem.authors = ["Kelly Redding"]
10
+ gem.email = ["kelly@kellyredding.com"]
11
+ gem.description = %q{A gem for using testing tools I like - my Ruby testing toolbelt.}
12
+ gem.summary = %q{A gem for using testing tools I like - my Ruby testing toolbelt.}
13
+ gem.homepage = "http://github.com/kellyredding/test-belt"
14
+ gem.license = 'MIT'
14
15
 
15
- s.files = `git ls-files`.split("\n")
16
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
- s.require_paths = ["lib"]
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
20
+
21
+ gem.add_development_dependency("bundler", ["~> 1.0"])
22
+ gem.add_dependency("leftright", ["~> 0.9.0"])
19
23
 
20
- s.add_development_dependency("bundler", ["~> 1.0"])
21
- s.add_dependency("leftright", ["~> 0.9.0"])
22
24
  end
metadata CHANGED
@@ -1,66 +1,54 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: test-belt
3
- version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease:
6
- segments:
7
- - 2
8
- - 0
9
- - 0
10
- version: 2.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.1
11
5
  platform: ruby
12
- authors:
13
- - Kelly D. Redding
6
+ authors:
7
+ - Kelly Redding
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-07-26 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- requirement: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- hash: 15
27
- segments:
28
- - 1
29
- - 0
30
- version: "1.0"
31
- version_requirements: *id001
32
- prerelease: false
11
+ date: 2015-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
33
14
  name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
34
20
  type: :development
35
- - !ruby/object:Gem::Dependency
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
- none: false
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- hash: 59
42
- segments:
43
- - 0
44
- - 9
45
- - 0
46
- version: 0.9.0
47
- version_requirements: *id002
48
21
  prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
49
28
  name: leftright
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.9.0
50
34
  type: :runtime
51
- description: This is my Ruby testing "tool belt". It packages up the most common testing tools and paradigms I use. It is opinionated and custom to how I like to test.
52
- email:
53
- - kelly@kelredd.com
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.9.0
41
+ description: A gem for using testing tools I like - my Ruby testing toolbelt.
42
+ email:
43
+ - kelly@kellyredding.com
54
44
  executables: []
55
-
56
45
  extensions: []
57
-
58
46
  extra_rdoc_files: []
59
-
60
- files:
61
- - .gitignore
47
+ files:
48
+ - ".gitignore"
62
49
  - Gemfile
63
50
  - Gemfile.lock
51
+ - LICENSE.txt
64
52
  - README.rdoc
65
53
  - Rakefile
66
54
  - lib/test-belt.rb
@@ -98,40 +86,31 @@ files:
98
86
  - test/matchers_test.rb
99
87
  - test/rake_tasks_test.rb
100
88
  - test/utils_test.rb
101
- homepage: http://github.com/kelredd/test-belt
102
- licenses: []
103
-
89
+ homepage: http://github.com/kellyredding/test-belt
90
+ licenses:
91
+ - MIT
92
+ metadata: {}
104
93
  post_install_message:
105
94
  rdoc_options: []
106
-
107
- require_paths:
95
+ require_paths:
108
96
  - lib
109
- required_ruby_version: !ruby/object:Gem::Requirement
110
- none: false
111
- requirements:
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
112
99
  - - ">="
113
- - !ruby/object:Gem::Version
114
- hash: 3
115
- segments:
116
- - 0
117
- version: "0"
118
- required_rubygems_version: !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
121
104
  - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
- version: "0"
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
127
107
  requirements: []
128
-
129
108
  rubyforge_project:
130
- rubygems_version: 1.7.2
109
+ rubygems_version: 2.4.5
131
110
  signing_key:
132
- specification_version: 3
111
+ specification_version: 4
133
112
  summary: A gem for using testing tools I like - my Ruby testing toolbelt.
134
- test_files:
113
+ test_files:
135
114
  - test/callbacks_test.rb
136
115
  - test/fixtures/inherited_stuff.rb
137
116
  - test/fixtures/thing.rb