komachi_concerned_with 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,9 +7,9 @@ module KomachiConcernedWith
7
7
 
8
8
  module ClassMethods
9
9
  def concerned_with(*concerns)
10
- concerns.each do |concern|
10
+ concerns.map(&:to_s).each do |concern|
11
11
  require_dependency "#{name.underscore}/#{concern}"
12
- include concern.constantize
12
+ include concern.classify.constantize
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module KomachiConcernedWith
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: komachi_concerned_with
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Takumi MIURA
@@ -68,7 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- hash: -1807303017578142876
71
+ hash: -1766208310662696259
72
72
  segments:
73
73
  - 0
74
74
  version: "0"
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- hash: -1807303017578142876
80
+ hash: -1766208310662696259
81
81
  segments:
82
82
  - 0
83
83
  version: "0"