pinball 0.0.8 → 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: d9fd0b5f91dd65bc57c14ffbba9f65951704631c
4
- data.tar.gz: 7eb3bd810468fc9f32dd8ec379d58321ad09a3a1
3
+ metadata.gz: fa7f3ffd8eaa6849d496aebe19959eec042d7483
4
+ data.tar.gz: b522e4b9e69f57cd330f68c8c73c1643e314226c
5
5
  SHA512:
6
- metadata.gz: 67de1450479d707b79dd035a62e1cf6bc6240c54cbe41330dc7e6f158c0b71f6829abc1c65ed77bde84fc536c84ab914b4e40aa6225f2a64e5c22a1b046d4896
7
- data.tar.gz: 1eb70c1588bb653b9f97769a375f0c7c6caba0f4ec74c27a681aa78eb8f3a4e90a83126e26ad21356aa8d987c5067beea83b27d6f4d2758eec8d7f3c9f58acf6
6
+ metadata.gz: fec4a1bcd71d9fa842aadde3a9e262377a5683072a0fb5c31e832128ba8dfbc87bba4645b858f65213385dbe15b1f2a18301ea8bf019a8ff07e649df88518fa9
7
+ data.tar.gz: 4661efa9eee81891d27b3fe00388649936aef118566b433a27aeda75803aa3b789e91d64ad8771b40faa099eb3badd9f1f1979b2ddd9e8704799ca5a3f7ad9ac
data/.coveralls.yml CHANGED
File without changes
data/.gitignore CHANGED
File without changes
data/.ruby-gemset CHANGED
File without changes
data/.ruby-version CHANGED
File without changes
data/.travis.yml CHANGED
@@ -7,6 +7,12 @@ rvm:
7
7
  - 2.1.1
8
8
  - 2.1.2
9
9
  - 2.1.3
10
+ - 2.1.4
11
+ - 2.1.5
12
+ - 2.2.1
13
+ - 2.2.2
14
+ - 2.2.3
10
15
  - jruby-19mode
16
+ - jruby-9.0.0.0.pre1
11
17
  script: bundle exec rspec
12
18
  cache: bundler
data/Gemfile CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/lib/pinball.rb CHANGED
File without changes
data/lib/pinball/class.rb CHANGED
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Pinball
2
- VERSION = '0.0.8'
2
+ VERSION = '0.1.0'
3
3
  end
data/pinball.gemspec CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = `git ls-files spec`.split($/)
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_development_dependency 'bundler', '~> 1.6'
22
- spec.add_development_dependency 'rake', '~> 10.3'
21
+ spec.add_development_dependency 'bundler', '~> 1.6', '> 1.6'
22
+ spec.add_development_dependency 'rake', '~> 10.4'
23
23
 
24
- spec.add_development_dependency 'coveralls', '~> 0.7'
25
- spec.add_development_dependency 'rspec', '~> 2.14'
24
+ spec.add_development_dependency 'coveralls', '~> 0.8'
25
+ spec.add_development_dependency 'rspec', '~> 3.3'
26
26
  end
@@ -17,7 +17,7 @@ describe Class do
17
17
 
18
18
  describe '::inject' do
19
19
  it 'responds to ::inject method' do
20
- expect(foo.respond_to?(:inject)).to be_true
20
+ expect(foo.respond_to?(:inject)).to be_truthy
21
21
  end
22
22
 
23
23
  it 'creates @dependencies array' do
@@ -57,7 +57,7 @@ describe Class do
57
57
  describe '::class_inject' do
58
58
  it 'defines new method' do
59
59
  foo.class_inject :baz
60
- expect(foo.respond_to?(:baz)).to be_true
60
+ expect(foo.respond_to?(:baz)).to be_truthy
61
61
  end
62
62
 
63
63
  it 'injects valid dependency' do
@@ -108,9 +108,9 @@ describe Pinball::Container do
108
108
  end
109
109
 
110
110
  it 'automatically injects dependencies to class' do
111
- expect(foo.new.respond_to?(:baz)).to be_true
112
- expect(foo.new.respond_to?(:bar)).to be_true
113
- expect(foo.new.respond_to?(:spam)).to be_true
111
+ expect(foo.new.respond_to?(:baz)).to be_truthy
112
+ expect(foo.new.respond_to?(:bar)).to be_truthy
113
+ expect(foo.new.respond_to?(:spam)).to be_truthy
114
114
  end
115
115
 
116
116
  it 'injects valid dependencies' do
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinball
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-24 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
+ - - ">"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.6'
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,48 +27,51 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.6'
30
+ - - ">"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.6'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '10.3'
39
+ version: '10.4'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '10.3'
46
+ version: '10.4'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: coveralls
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.7'
53
+ version: '0.8'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.7'
60
+ version: '0.8'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '2.14'
67
+ version: '3.3'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '2.14'
74
+ version: '3.3'
69
75
  description: Simple and stupid IOC container and dependency injection tool for ruby
70
76
  email:
71
77
  - zhulik.gleb@gmail.com
@@ -112,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
118
  version: '0'
113
119
  requirements: []
114
120
  rubyforge_project:
115
- rubygems_version: 2.2.2
121
+ rubygems_version: 2.4.8
116
122
  signing_key:
117
123
  specification_version: 4
118
124
  summary: Simple dependency injection for ruby