matid-concerned_with 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.
- data/VERSION +1 -1
- data/lib/concerned_with.rb +2 -2
- metadata +12 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/lib/concerned_with.rb
CHANGED
|
@@ -7,11 +7,11 @@ module ConcernedWith
|
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
module ActionController
|
|
12
12
|
def concerned_with(*concerns)
|
|
13
13
|
concerns.each do |concern|
|
|
14
|
-
require_dependency "#{self.name.gsub(/Controller$/, '').
|
|
14
|
+
require_dependency "#{self.name.gsub(/Controller$/, '').underscore}/#{concern}"
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matid-concerned_with
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 1
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.1.1
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Mateusz Drozdzynski
|
|
@@ -9,7 +14,7 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date:
|
|
17
|
+
date: 2010-04-28 00:00:00 +01:00
|
|
13
18
|
default_executable:
|
|
14
19
|
dependencies: []
|
|
15
20
|
|
|
@@ -46,18 +51,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
46
51
|
requirements:
|
|
47
52
|
- - ">="
|
|
48
53
|
- !ruby/object:Gem::Version
|
|
54
|
+
segments:
|
|
55
|
+
- 0
|
|
49
56
|
version: "0"
|
|
50
|
-
version:
|
|
51
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
58
|
requirements:
|
|
53
59
|
- - ">="
|
|
54
60
|
- !ruby/object:Gem::Version
|
|
61
|
+
segments:
|
|
62
|
+
- 0
|
|
55
63
|
version: "0"
|
|
56
|
-
version:
|
|
57
64
|
requirements: []
|
|
58
65
|
|
|
59
66
|
rubyforge_project:
|
|
60
|
-
rubygems_version: 1.3.
|
|
67
|
+
rubygems_version: 1.3.6
|
|
61
68
|
signing_key:
|
|
62
69
|
specification_version: 3
|
|
63
70
|
summary: Simple way to separate model and controller concerns into separate files.
|