concerned 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source :rubygems
2
+
3
+ group :test do
4
+ gem 'rails'
5
+ end
6
+
7
+ group :development do
8
+ gem "rspec", "~> 2.8.0"
9
+ gem "rdoc", "~> 3.12"
10
+ gem "bundler", "~> 1.1.0"
11
+ gem "jeweler", "~> 1.8.3"
12
+ gem "simplecov", ">= 0.5"
13
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,109 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.2.3)
5
+ actionpack (= 3.2.3)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ journey (~> 1.0.1)
13
+ rack (~> 1.4.0)
14
+ rack-cache (~> 1.2)
15
+ rack-test (~> 0.6.1)
16
+ sprockets (~> 2.1.2)
17
+ activemodel (3.2.3)
18
+ activesupport (= 3.2.3)
19
+ builder (~> 3.0.0)
20
+ activerecord (3.2.3)
21
+ activemodel (= 3.2.3)
22
+ activesupport (= 3.2.3)
23
+ arel (~> 3.0.2)
24
+ tzinfo (~> 0.3.29)
25
+ activeresource (3.2.3)
26
+ activemodel (= 3.2.3)
27
+ activesupport (= 3.2.3)
28
+ activesupport (3.2.3)
29
+ i18n (~> 0.6)
30
+ multi_json (~> 1.0)
31
+ arel (3.0.2)
32
+ builder (3.0.0)
33
+ diff-lcs (1.1.3)
34
+ erubis (2.7.0)
35
+ git (1.2.5)
36
+ hike (1.2.1)
37
+ i18n (0.6.0)
38
+ jeweler (1.8.3)
39
+ bundler (~> 1.0)
40
+ git (>= 1.2.5)
41
+ rake
42
+ rdoc
43
+ journey (1.0.3)
44
+ json (1.7.1)
45
+ mail (2.4.4)
46
+ i18n (>= 0.4.0)
47
+ mime-types (~> 1.16)
48
+ treetop (~> 1.4.8)
49
+ mime-types (1.18)
50
+ multi_json (1.3.4)
51
+ polyglot (0.3.3)
52
+ rack (1.4.1)
53
+ rack-cache (1.2)
54
+ rack (>= 0.4)
55
+ rack-ssl (1.3.2)
56
+ rack
57
+ rack-test (0.6.1)
58
+ rack (>= 1.0)
59
+ rails (3.2.3)
60
+ actionmailer (= 3.2.3)
61
+ actionpack (= 3.2.3)
62
+ activerecord (= 3.2.3)
63
+ activeresource (= 3.2.3)
64
+ activesupport (= 3.2.3)
65
+ bundler (~> 1.0)
66
+ railties (= 3.2.3)
67
+ railties (3.2.3)
68
+ actionpack (= 3.2.3)
69
+ activesupport (= 3.2.3)
70
+ rack-ssl (~> 1.3.2)
71
+ rake (>= 0.8.7)
72
+ rdoc (~> 3.4)
73
+ thor (~> 0.14.6)
74
+ rake (0.9.2.2)
75
+ rdoc (3.12)
76
+ json (~> 1.4)
77
+ rspec (2.8.0)
78
+ rspec-core (~> 2.8.0)
79
+ rspec-expectations (~> 2.8.0)
80
+ rspec-mocks (~> 2.8.0)
81
+ rspec-core (2.8.0)
82
+ rspec-expectations (2.8.0)
83
+ diff-lcs (~> 1.1.2)
84
+ rspec-mocks (2.8.0)
85
+ simplecov (0.6.2)
86
+ multi_json (~> 1.3)
87
+ simplecov-html (~> 0.5.3)
88
+ simplecov-html (0.5.3)
89
+ sprockets (2.1.3)
90
+ hike (~> 1.2)
91
+ rack (~> 1.0)
92
+ tilt (~> 1.1, != 1.3.0)
93
+ thor (0.14.6)
94
+ tilt (1.3.3)
95
+ treetop (1.4.10)
96
+ polyglot
97
+ polyglot (>= 0.3.1)
98
+ tzinfo (0.3.33)
99
+
100
+ PLATFORMS
101
+ ruby
102
+
103
+ DEPENDENCIES
104
+ bundler (~> 1.1.0)
105
+ jeweler (~> 1.8.3)
106
+ rails
107
+ rdoc (~> 3.12)
108
+ rspec (~> 2.8.0)
109
+ simplecov (>= 0.5)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Kristian Mandrup
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # Concerned
2
+
3
+ Use the "concerns" pattern in any Ruby or Rails project.
4
+
5
+ ## Rails 3
6
+
7
+ In Gemfile:
8
+
9
+ `gem 'concerned'`
10
+
11
+ ### Usage
12
+
13
+ This gem comes with the following three helpers, that are added to `Module`.
14
+ To require concern modules (or classes)
15
+
16
+ * concerned_with
17
+ * shared_concerns
18
+
19
+ And to include concern modules
20
+
21
+ * include_concerns
22
+ * include_shared_concerns
23
+
24
+ The `concerned_with` helper method expects to find a module or class matching the current namespace, fx the following will include `FixtureUser::Scopes` and `FixtureUser::Validations` into `FixtureUser`.
25
+
26
+ ```ruby
27
+ class FixtureUser
28
+ include_concerns :scopes, :validations
29
+ end
30
+ ```
31
+
32
+ The `include_shared_concerns` expects to find a module in a `shared` folder somewhere in the _load path_ that has a name of either `Caching` or `Shared::Caching` for the following example:
33
+
34
+ ```ruby
35
+ class FixtureUser
36
+ include_shared_concerns :caching
37
+ end
38
+ ```
39
+
40
+ The `concerned_with` and `shared_concerns` methods are used simply to require shared files following the namespace convention, here: `project/job_matches` and `shared/associations`.
41
+
42
+ ```ruby
43
+ class Project
44
+ concerned_with :job_matches
45
+ shared_concerns :associations
46
+ end
47
+ ```
48
+
49
+ ## Global config
50
+
51
+ You can use the `Concerned.extend_enable!` to let the concern helpers also attempt to extend the host module/class with the ClassMethods module of the concerns module (if such exists). Disable it by using: `Concerned.extend_disable!`
52
+
53
+ Use `Concerned.extend_enabled?` to see if it is currently enabled or not.
54
+ By default this feature is turned off.
55
+
56
+ It is usually better to use `ActionSupport::Concern` using `extend ActiveSupport::Concern`.
57
+
58
+ See fx [concerns](http://www.fakingfantastic.com/2010/09/20/concerning-yourself-with-active-support-concern/)
59
+
60
+ ## Contributing to concerned
61
+
62
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
63
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
64
+ * Fork the project.
65
+ * Start a feature/bugfix branch.
66
+ * Commit and push until you are happy with your contribution.
67
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
68
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
69
+
70
+ ## Copyright
71
+
72
+ Copyright (c) 2012 Kristian Mandrup. See LICENSE.txt for
73
+ further details.
74
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "concerned"
18
+ gem.homepage = "http://github.com/kristianmandrup/concerned"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Concerns for Ruby (and Rails) projects}
21
+ gem.description = %Q{Makes it easy to apply the concerns pattern in any Ruby context}
22
+ gem.email = "kmandrup@gmail.com"
23
+ gem.authors = ["Kristian Mandrup"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "concerned #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/concerned.gemspec ADDED
@@ -0,0 +1,68 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "concerned"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = "2012-05-09"
13
+ s.description = "Makes it easy to apply the concerns pattern in any Ruby context"
14
+ s.email = "kmandrup@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "concerned.gemspec",
29
+ "lib/concerned.rb",
30
+ "lib/concerned/module_ext.rb",
31
+ "spec/concerned_spec.rb",
32
+ "spec/fixture_user/scopes.rb",
33
+ "spec/fixture_user/validations.rb",
34
+ "spec/shared/associations.rb",
35
+ "spec/shared/caching.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+ s.homepage = "http://github.com/kristianmandrup/concerned"
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = "1.8.24"
42
+ s.summary = "Concerns for Ruby (and Rails) projects"
43
+
44
+ if s.respond_to? :specification_version then
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
49
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
50
+ s.add_development_dependency(%q<bundler>, ["~> 1.1.0"])
51
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
52
+ s.add_development_dependency(%q<simplecov>, [">= 0.5"])
53
+ else
54
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
55
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
56
+ s.add_dependency(%q<bundler>, ["~> 1.1.0"])
57
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
58
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
59
+ end
60
+ else
61
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
62
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
63
+ s.add_dependency(%q<bundler>, ["~> 1.1.0"])
64
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
65
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
66
+ end
67
+ end
68
+
@@ -0,0 +1,66 @@
1
+ class Module
2
+ def concerned_with(*concerns)
3
+ options = concerns.extract_options!
4
+ concerns.flatten.each do |concern|
5
+ next if concern.blank?
6
+ require_concern name, concern
7
+ end
8
+ shared_concerns([options[:shared]].flatten.compact)
9
+ end
10
+
11
+ def shared_concerns(*concerns)
12
+ concerns.flatten.each do |concern|
13
+ next if concern.blank?
14
+ Concerned.require_shared concern
15
+ end
16
+ end
17
+
18
+ def include_concerns(*concerns)
19
+ options = concerns.extract_options!
20
+ concerns.flatten.each do |concern|
21
+ next if concern.blank?
22
+ require_concern name, concern
23
+ concern_ns = [name, concern.to_s.camelize].join('::')
24
+ self.send :include, concern_ns.constantize
25
+
26
+ if Concerned.extend_enabled?
27
+ begin
28
+ self.extend [concern_ns, 'ClassMethods'].join('::').constantize
29
+ rescue
30
+ end
31
+ end
32
+ end
33
+ include_shared_concerns([options[:shared]].flatten.compact)
34
+ end
35
+
36
+ def include_shared_concerns(*concerns)
37
+ concerns.flatten.each do |concern|
38
+ next if concern.blank?
39
+ Concerned.require_shared concern
40
+ concern_ns = concern.to_s.camelize
41
+
42
+ self.send :include, Concerned.shared_const(concern_ns)
43
+
44
+ if Concerned.extend_enabled?
45
+ begin
46
+ self.extend [concern_ns, 'ClassMethods'].join('::').constantize
47
+ rescue
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ alias_method :shared_concern, :shared_concerns
54
+ alias_method :include_concern, :include_concerns
55
+ alias_method :include_shared_concern, :include_shared_concerns
56
+
57
+ protected
58
+
59
+ def require_concern name, concern
60
+ require_method "#{name.underscore}/#{concern.to_s.underscore}"
61
+ end
62
+
63
+ def require_method path
64
+ defined?(require_dependency) ? require_dependency(path) : require(path)
65
+ end
66
+ end
data/lib/concerned.rb ADDED
@@ -0,0 +1,34 @@
1
+ require 'concerned/module_ext'
2
+
3
+ module Concerned
4
+ class << self
5
+ def require_shared concern
6
+ require_method "shared/#{concern.to_s.underscore}"
7
+ end
8
+
9
+ def shared_const concern_ns
10
+ concern_ns.constantize
11
+ rescue NameError
12
+ shared_ns_const concern_ns
13
+ end
14
+
15
+ def shared_ns_const concern_ns
16
+ const_name = "Shared::#{concern_ns}"
17
+ const_name.constantize
18
+ rescue NameError
19
+ raise "No module could be found for: #{concern_ns} or #{const_name}"
20
+ end
21
+
22
+ def extend_enable!
23
+ @extend_enabled = true
24
+ end
25
+
26
+ def extend_disable!
27
+ @extend_enabled = false
28
+ end
29
+
30
+ def extend_enabled?
31
+ @extend_enabled
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'rails'
3
+ require 'concerned'
4
+ require 'active_support/dependencies'
5
+
6
+ # The same procedure as one that needed for common #require - It should know path.
7
+ $:.unshift File.dirname __FILE__
8
+
9
+ class FixtureUser
10
+ concerned_with :scopes, :validations
11
+ shared_concerns :associations
12
+ include_shared_concerns :caching
13
+ end
14
+
15
+ describe "Concerned" do
16
+ describe "#concerned_with" do
17
+ it 'should require files from #{name.underscore}/#{concern}' do
18
+ [:scopes, :validations].each do |concern|
19
+ FixtureUser.new.should respond_to("method_from_#{concern}_concern")
20
+ end
21
+ end
22
+ end
23
+
24
+ describe "#include_shared_concerns" do
25
+ it 'should require and include from shared/#{concern}' do
26
+ FixtureUser.new.should respond_to("method_from_shared_concern")
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,4 @@
1
+ class FixtureUser
2
+ def method_from_scopes_concern
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ class FixtureUser
2
+ def method_from_validations_concern
3
+ end
4
+ end
@@ -0,0 +1 @@
1
+ puts "shared/associations was required ok"
@@ -0,0 +1,4 @@
1
+ module Caching
2
+ def method_from_shared_concern
3
+ end
4
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'concerned'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: concerned
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Kristian Mandrup
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.8.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.8.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '3.12'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.12'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.1.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: jeweler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.8.3
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.8.3
78
+ - !ruby/object:Gem::Dependency
79
+ name: simplecov
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0.5'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0.5'
94
+ description: Makes it easy to apply the concerns pattern in any Ruby context
95
+ email: kmandrup@gmail.com
96
+ executables: []
97
+ extensions: []
98
+ extra_rdoc_files:
99
+ - LICENSE.txt
100
+ - README.md
101
+ files:
102
+ - .document
103
+ - .rspec
104
+ - Gemfile
105
+ - Gemfile.lock
106
+ - LICENSE.txt
107
+ - README.md
108
+ - Rakefile
109
+ - VERSION
110
+ - concerned.gemspec
111
+ - lib/concerned.rb
112
+ - lib/concerned/module_ext.rb
113
+ - spec/concerned_spec.rb
114
+ - spec/fixture_user/scopes.rb
115
+ - spec/fixture_user/validations.rb
116
+ - spec/shared/associations.rb
117
+ - spec/shared/caching.rb
118
+ - spec/spec_helper.rb
119
+ homepage: http://github.com/kristianmandrup/concerned
120
+ licenses:
121
+ - MIT
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ segments:
133
+ - 0
134
+ hash: -3112523580969870386
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 1.8.24
144
+ signing_key:
145
+ specification_version: 3
146
+ summary: Concerns for Ruby (and Rails) projects
147
+ test_files: []