dependency_injection-rails 0.1.0 → 0.1.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11794620c4d014fb0ef1336e68859482e8be22ee
|
|
4
|
+
data.tar.gz: 8a94ace0324473bcaa7ac42958f11e23132b7e4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8dbaa8f16186263b1a26990f1f66ae3df3ad307478bac6cfa2c8869175dc0771b4b89b3c59fc3bfe13a956b0844b2f348ca57f0f15d635e9322ac43878897458
|
|
7
|
+
data.tar.gz: 7f85e558c6755fc3d292479ede7135c67df8b5345fe5b22cba7d09e28808f976389ea6cff122d14bbd1c80e8052bbd253554726a0539120a2257c5a45020ffbc
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Dependency Injection for Rails
|
|
1
|
+
# Dependency Injection for Rails (NOT WORKING FOR NOW)
|
|
2
2
|
|
|
3
3
|
`DependencyInjectionRails` adds a helper method, called `container`, to access to your ruby
|
|
4
4
|
[dependency injection container](https://github.com/kdisneur/dependency_injection-ruby)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
require 'rails'
|
|
2
1
|
require 'dependency_injection_rails/controllers/helpers'
|
|
3
2
|
|
|
4
3
|
module DependencyInjectionRails
|
|
@@ -7,9 +6,4 @@ module DependencyInjectionRails
|
|
|
7
6
|
include DependencyInjectionRails::Controllers::Helpers
|
|
8
7
|
end
|
|
9
8
|
end
|
|
10
|
-
|
|
11
|
-
mattr_accessor :services_path
|
|
12
|
-
def self.services_path
|
|
13
|
-
@@services_path ||= Rails.root.join('config', 'services.yml')
|
|
14
|
-
end
|
|
15
9
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependency_injection-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Disneur
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -48,8 +48,9 @@ files:
|
|
|
48
48
|
- Gemfile.lock
|
|
49
49
|
- README.md
|
|
50
50
|
- dependency_injection-rails.gemspec
|
|
51
|
-
- lib/
|
|
51
|
+
- lib/dependency_injection-rails.rb
|
|
52
52
|
- lib/dependency_injection_rails/controllers/helpers.rb
|
|
53
|
+
- lib/dependency_injection_rails/railtie.rb
|
|
53
54
|
- lib/dependency_injection_rails/version.rb
|
|
54
55
|
homepage: https://github.com/kdisneur/dependency_injection-rails
|
|
55
56
|
licenses:
|