concerned 0.1.5 → 0.1.6

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/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://www.rubygems.org'
1
+ source "http://rubygems.org"
2
2
 
3
3
  group :test do
4
4
  gem 'rails', '>= 3.0.8'
data/Gemfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  GEM
2
- remote: https://www.rubygems.org/
2
+ remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
5
  actionmailer (3.0.8)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
data/concerned.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "concerned"
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2013-03-02"
12
+ s.date = "2013-03-04"
13
13
  s.description = "Makes it easy to apply the concerns pattern in any Ruby context"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -70,7 +70,7 @@ class Module
70
70
  protected
71
71
 
72
72
  def require_concern name, concern
73
- require_method "#{name.underscore}/#{concern.to_s.underscore}"
73
+ require_method "#{name.to_s.underscore}/#{concern.to_s.underscore}"
74
74
  end
75
75
 
76
76
  def require_method path
@@ -63,7 +63,7 @@ end
63
63
 
64
64
  describe "Concerned" do
65
65
  describe "#concerned_with" do
66
- it 'should require files from #{name.underscore}/#{concern}' do
66
+ it 'should require files from #{name.to_s.underscore}/#{concern}' do
67
67
  [:scopes, :validations].each do |concern|
68
68
  FixtureUser.new.should respond_to("method_from_#{concern}_concern")
69
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerned
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-02 00:00:00.000000000 Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  segments:
137
137
  - 0
138
- hash: 916306081316537692
138
+ hash: -3926857405797886168
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements: