lazy_injector 0.1.2 → 0.1.3

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: 22b50e3c4abf27aa81ea7d2f7eb3b131decc1fef
4
- data.tar.gz: 37054d770cd6373c9d1180a4c75af2ff783f9374
3
+ metadata.gz: 7909ac1e00f6b47936fc27bfb54d1e74e04dba50
4
+ data.tar.gz: 500a25f3d504c19221f802101ad322514e7d0804
5
5
  SHA512:
6
- metadata.gz: 25d022a4b0a868ee15fa8195401f5b3b33230426abddb9c40102efeacd3683b26ea91f0ab30d66aa3d81d538d106d631088b5f71de59d06ffb74a81a58ae7c07
7
- data.tar.gz: 5bb9688c42bf8ef9d6422632b4802854f2b885405a78145cb6e2c2792db32d7dd4d05d7dbfda33c61cc218ab16f758fbbe447f3884f189fe8aa6d93ff0324291
6
+ metadata.gz: 7d779423ee4376ba3999bcdb907ade42d4c001d272cb5ee4ffe0298d9d5bbedf20fb26ed0db8d4c273b332fc521f04a0b986b692df119bb9fc5ba9bb67e77a1c
7
+ data.tar.gz: 88f050cde4e726c38faba7dc1d55bce23d861077cba20017b573a3c09538e51d65dab7327e5677f6d3198c446fd60ea05da5649d913e693fd4e43cfac4199452
data/README.md CHANGED
@@ -58,7 +58,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
58
58
 
59
59
  ## Contributing
60
60
 
61
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lazy_injector.
61
+ Bug reports and pull requests are welcome on GitHub at https://github.com/alexei-lexx/lazy-injector.
62
62
 
63
63
 
64
64
  ## License
@@ -13,7 +13,7 @@ module LazyInjector
13
13
  if @lazy_injector.key?(name)
14
14
  @lazy_injector[name]
15
15
  else
16
- @lazy_injector[name] = block and instance_eval(&block)
16
+ @lazy_injector[name] = block && instance_eval(&block)
17
17
  end
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module LazyInjector
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_injector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexei L
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-24 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler