act_as_releasable 0.0.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/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in act_as_releasable.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,6 @@
1
+ guard 'rspec', :version => 2 do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec" } # { |m| "spec/lib/#{m[1]}_spec.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ end
6
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Gregório Kusowski
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # ActAsReleasable
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'act_as_releasable'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install act_as_releasable
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/act_as_releasable/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Gregório Kusowski"]
6
+ gem.email = ["gregorio.kusowski@gmail.com"]
7
+ gem.description = %q{Make your models work with a release candidate that must be approved}
8
+ gem.summary = %q{wip}
9
+ gem.homepage = ""
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "act_as_releasable"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = ActAsReleasable::VERSION
17
+
18
+ gem.add_development_dependency "rspec"
19
+ gem.add_development_dependency "guard-rspec"
20
+ gem.add_development_dependency "factory_girl"
21
+ gem.add_development_dependency "sqlite3"
22
+ gem.add_dependency "activesupport"
23
+ gem.add_dependency "activemodel"
24
+ gem.add_dependency "activerecord"
25
+ end
@@ -0,0 +1,30 @@
1
+ require 'base64'
2
+
3
+ module Proposal
4
+
5
+ def self.included(receiver)
6
+ receiver.belongs_to :item, :polymorphic => true
7
+ receiver.validates_presence_of :item_id, :item_type, :candidate_data
8
+
9
+ receiver.send :include, InstanceMethods
10
+ end
11
+
12
+ module InstanceMethods
13
+ def candidate_attributes
14
+ ActiveSupport::JSON.decode Marshal.load(Base64.decode64(candidate_data))
15
+ end
16
+ def candidate_attributes=(candidate_attributes)
17
+ self.candidate_data = Base64.encode64(Marshal.dump(candidate_attributes.to_json))
18
+ end
19
+ end
20
+
21
+ end
22
+
23
+ class ReleasableCandidate < ActiveRecord::Base
24
+ include Proposal
25
+ end
26
+
27
+ class ReleasableCandidateItem < ActiveRecord::Base
28
+ include Proposal
29
+ validates_presence_of :collection_name
30
+ end
@@ -0,0 +1,3 @@
1
+ module ActAsReleasable
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,79 @@
1
+ require "act_as_releasable/version"
2
+ require "act_as_releasable/models"
3
+
4
+ module ActAsReleasable
5
+ module ClassMethods
6
+ def act_as_releasable(options = {})
7
+ send :include, InstanceMethods
8
+
9
+ class_attribute :releasable_collections
10
+ self.releasable_collections = (options[:collections] || [])
11
+
12
+ has_one :releasable_candidate, :as => :item
13
+ unless self.releasable_collections.empty?
14
+ has_many :releasable_candidate_items, :as => :item
15
+ end
16
+
17
+ end
18
+ end
19
+
20
+ module InstanceMethods
21
+ def release_version!
22
+ # Clean-up of the official record
23
+ self.releasable_collections.each do |collection|
24
+ send(collection).destroy_all
25
+ end
26
+
27
+ # Updating attributes
28
+ self.attributes = releasable_candidate.candidate_attributes
29
+ releasable_candidate_items.each do |candidate_item|
30
+ send(candidate_item.collection_name).build candidate_item.candidate_attributes
31
+ end
32
+
33
+ # Destroying prototype data
34
+ releasable_candidate.destroy if releasable_candidate.present?
35
+ releasable_candidate_items.destroy_all
36
+
37
+ save!
38
+ end
39
+
40
+ def release_candidate
41
+ clone.tap do
42
+ self.releasable_collections.each do |collection|
43
+ send(collection).clear
44
+ end
45
+ self.attributes = releasable_candidate.try(:candidate_attributes) || {}
46
+ releasable_candidate_items.each do |candidate_item|
47
+ send(candidate_item.collection_name).build candidate_item.candidate_attributes
48
+ end
49
+ end
50
+ end
51
+
52
+ def generate_new_candidate
53
+ if valid?
54
+ # Destroying prototype data
55
+ releasable_candidate.destroy if releasable_candidate.present?
56
+ releasable_candidate_items.destroy_all
57
+
58
+ # Creating new prototype data
59
+ create_releasable_candidate! :candidate_attributes => attributes
60
+ self.releasable_collections.each do |collection|
61
+ send(collection).each do |collection_item|
62
+ unless collection_item.marked_for_destruction?
63
+ releasable_candidate_items.create! ({:candidate_attributes => collection_item.attributes, :collection_name => collection})
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
69
+
70
+ end
71
+
72
+ def self.included(receiver)
73
+ receiver.extend ClassMethods
74
+ end
75
+ end
76
+
77
+ ActiveSupport.on_load(:active_record) do
78
+ include ActAsReleasable
79
+ end
@@ -0,0 +1,24 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/migration'
3
+ require 'rails/generators/active_record/migration'
4
+
5
+ module ActAsReleasable
6
+ class InstallGenerator < Rails::Generators::Base
7
+ include Rails::Generators::Migration
8
+ extend ActiveRecord::Generators::Migration
9
+
10
+ source_root File.expand_path('../templates', __FILE__)
11
+
12
+ desc 'Generates the Releasable Candidates migrations.'
13
+
14
+ def create_migration_file
15
+ %w/create_releasable_candidates create_releasable_candidate_items/.each do |f|
16
+ begin
17
+ migration_template "#{f}.rb", "db/migrate/#{f}.rb"
18
+ rescue Rails::Generators::Error => e
19
+ puts e.message
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,13 @@
1
+ class CreateReleasableCandidateItems < ActiveRecord::Migration
2
+ def change
3
+ create_table :releasable_candidate_items do |t|
4
+ t.string :item_type, :null => false
5
+ t.integer :item_id, :null => false
6
+ t.text :candidate_data
7
+ t.string :collection_name
8
+ t.timestamps
9
+ end
10
+ add_index :releasable_candidate_items, :item_id
11
+ add_index :releasable_candidate_items, [:item_type, :item_id]
12
+ end
13
+ end
@@ -0,0 +1,12 @@
1
+ class CreateReleasableCandidates < ActiveRecord::Migration
2
+ def change
3
+ create_table :releasable_candidates do |t|
4
+ t.string :item_type, :null => false
5
+ t.integer :item_id, :null => false
6
+ t.text :candidate_data
7
+ t.timestamps
8
+ end
9
+ add_index :releasable_candidates, :item_id
10
+ add_index :releasable_candidates, [:item_type, :item_id]
11
+ end
12
+ end
@@ -0,0 +1,87 @@
1
+ require 'spec_helper'
2
+
3
+ describe "the creation of a release candidate" do
4
+
5
+ let (:phantoms) { create(:phantoms) }
6
+ let (:jazz_all_stars) { create(:jazz_all_stars) }
7
+
8
+ context "when dealing with simple data" do
9
+
10
+ let (:new_name) { "Scooby-doo is around!" }
11
+
12
+ before do
13
+ phantoms.name = new_name
14
+ phantoms.generate_new_candidate
15
+ end
16
+
17
+ it "doesn't update any original attribute" do
18
+ phantoms.reload.name.should eq "Phantoms"
19
+ end
20
+
21
+ it "presents the changes on a transient model" do
22
+ phantoms.release_candidate.name.should eq new_name
23
+ end
24
+
25
+ end
26
+
27
+ context "when dealing with collections" do
28
+
29
+ context "on removal" do
30
+
31
+ before do
32
+ first_player = jazz_all_stars.players.first
33
+ first_player.mark_for_destruction
34
+ jazz_all_stars.generate_new_candidate
35
+ end
36
+
37
+ it "keeps a entire new collection, so deleted data is kept for release candidate" do
38
+ jazz_all_stars.release_candidate.should have(2).players
39
+ end
40
+
41
+ it "doesn't remove any item from database" do
42
+ jazz_all_stars.reload.should have(3).players
43
+ end
44
+
45
+ end
46
+
47
+ context "on addition" do
48
+
49
+ before do
50
+ phantoms.players.build attributes_for(:gasper)
51
+ phantoms.generate_new_candidate
52
+ end
53
+
54
+ it "adds the items to the release canditate" do
55
+ phantoms.release_candidate.should have(1).player
56
+ end
57
+
58
+ it "keeps approved items on the database record" do
59
+ phantoms.reload.should have(:no).players
60
+ end
61
+
62
+ end
63
+
64
+ context "on change" do
65
+
66
+ before do
67
+ jazz_all_stars.players.each do |player|
68
+ player.name = "Mr. #{player.name}"
69
+ end
70
+ jazz_all_stars.generate_new_candidate
71
+ end
72
+
73
+ it "keeps non-released data on the database record" do
74
+ Player.where("name like ?", 'Mr.%').should be_empty
75
+ end
76
+
77
+ it "makes all changes available on the release candidate" do
78
+ jazz_all_stars.release_candidate.players.each do |player|
79
+ player.name.should match /Mr\./
80
+ end
81
+ end
82
+
83
+ end
84
+
85
+ end
86
+
87
+ end
@@ -0,0 +1,3 @@
1
+ sqlite3:
2
+ adapter: sqlite3
3
+ database: ":memory:"
data/spec/db/schema.rb ADDED
@@ -0,0 +1,33 @@
1
+ ActiveRecord::Schema.define(:version => 0) do
2
+
3
+ create_table :releasable_candidate_items do |t|
4
+ t.string :item_type, :null => false
5
+ t.integer :item_id, :null => false
6
+ t.text :candidate_data
7
+ t.string :collection_name
8
+ t.timestamps
9
+ end
10
+
11
+ create_table :releasable_candidates do |t|
12
+ t.string :item_type, :null => false
13
+ t.integer :item_id, :null => false
14
+ t.text :candidate_data
15
+ t.timestamps
16
+ end
17
+
18
+ create_table :teams do |t|
19
+ t.string :name
20
+ end
21
+
22
+ create_table :players do |t|
23
+ t.string :name
24
+ t.integer :skill_level
25
+ t.integer :team_id
26
+ end
27
+
28
+ add_index :releasable_candidate_items, :item_id
29
+ add_index :releasable_candidate_items, [:item_type, :item_id]
30
+ add_index :releasable_candidates, :item_id
31
+ add_index :releasable_candidates, [:item_type, :item_id]
32
+
33
+ end
@@ -0,0 +1,20 @@
1
+ FactoryGirl.define do
2
+ factory :jazz_all_stars, :class => Team do
3
+ name "Jazz All-Stars"
4
+ players do |player|
5
+ [player.association(:coltrane), player.association(:miles), player.association(:louis)]
6
+ end
7
+ end
8
+ factory :default_player, :class => Player do
9
+ skill_level { rand(10) }
10
+ end
11
+ factory :coltrane, :parent => :default_player do
12
+ name "John Coltrane"
13
+ end
14
+ factory :miles, :parent => :default_player do
15
+ name "Miles Davis"
16
+ end
17
+ factory :louis, :parent => :default_player do
18
+ name "Louis Armstrong"
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :phantoms, :class => Team do
3
+ name "Phantoms"
4
+ end
5
+ factory :gasper, :class => Player do
6
+ name "Gasper"
7
+ skill_level { rand(10) }
8
+ end
9
+ end
@@ -0,0 +1,50 @@
1
+ require 'spec_helper'
2
+
3
+ describe "the release of a candidate" do
4
+
5
+ let (:phantoms) { create(:phantoms) }
6
+ let (:jazz_all_stars) { create(:jazz_all_stars) }
7
+
8
+ let (:new_name) { "Phantoms All-Stars" }
9
+
10
+ it "updates" do
11
+ phantoms.name = new_name
12
+ phantoms.generate_new_candidate
13
+
14
+ phantoms.reload.name.should_not == new_name
15
+ phantoms.release_version!
16
+ phantoms.reload.name.should == new_name
17
+ end
18
+
19
+ it "add items" do
20
+ phantoms.players.build attributes_for(:gasper)
21
+ phantoms.generate_new_candidate
22
+
23
+ expect do
24
+ phantoms.release_version!
25
+ end.to change(Player, :count).by(1)
26
+ end
27
+
28
+ it "remove items" do
29
+ jazz_all_stars.players.first.mark_for_destruction
30
+ jazz_all_stars.generate_new_candidate
31
+
32
+ expect do
33
+ jazz_all_stars.release_version!
34
+ end.to change(Player, :count).by(-1)
35
+ end
36
+
37
+ it "updates items" do
38
+ captain = jazz_all_stars.players.first
39
+ original_name = captain.name
40
+ captain_name = "Captain #{original_name}"
41
+ captain.name = captain_name
42
+ jazz_all_stars.generate_new_candidate
43
+
44
+ captain.reload.name.should == original_name
45
+ jazz_all_stars.release_version!
46
+ released_captain = jazz_all_stars.reload.players.detect { |player| player.name.starts_with? 'Captain' }
47
+ released_captain.name.should == captain_name
48
+ end
49
+
50
+ end
@@ -0,0 +1,30 @@
1
+
2
+ require 'factory_girl'
3
+ require 'active_support'
4
+ require 'active_model'
5
+ require 'active_record'
6
+
7
+ ActiveRecord::Base.configurations = YAML::load(ERB.new(IO.read(File.dirname(__FILE__) + "/db/database.yml")).result)
8
+ ActiveRecord::Base.establish_connection("sqlite3")
9
+ ActiveRecord::Migration.verbose = false
10
+ load(File.join(File.dirname(__FILE__), "db", "schema.rb"))
11
+
12
+ require 'act_as_releasable'
13
+ require 'support/models'
14
+ require 'factories/jazz_all_stars'
15
+ require 'factories/phantoms'
16
+
17
+ # Require this file using `require "spec_helper"` to ensure that it is only
18
+ RSpec.configure do |config|
19
+ config.treat_symbols_as_metadata_keys_with_true_values = true
20
+ config.run_all_when_everything_filtered = true
21
+ config.filter_run :focus
22
+ config.include FactoryGirl::Syntax::Methods
23
+
24
+ config.order = 'random'
25
+
26
+ config.after do
27
+ [ReleasableCandidateItem, ReleasableCandidate, Team, Player].each(&:destroy_all)
28
+ end
29
+ end
30
+
@@ -0,0 +1,11 @@
1
+ class Team < ActiveRecord::Base
2
+ has_many :players
3
+ validates_presence_of :name
4
+
5
+ act_as_releasable :collections => [:players]
6
+ end
7
+
8
+ class Player < ActiveRecord::Base
9
+ belongs_to :team
10
+ validates_presence_of :name, :skill_level
11
+ end
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: act_as_releasable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Gregório Kusowski
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-17 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: '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: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: guard-rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
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: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: factory_girl
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '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: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: sqlite3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
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: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: activesupport
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: activemodel
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: activerecord
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: Make your models work with a release candidate that must be approved
127
+ email:
128
+ - gregorio.kusowski@gmail.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - .gitignore
134
+ - .rspec
135
+ - Gemfile
136
+ - Guardfile
137
+ - LICENSE
138
+ - README.md
139
+ - Rakefile
140
+ - act_as_releasable.gemspec
141
+ - lib/act_as_releasable.rb
142
+ - lib/act_as_releasable/models.rb
143
+ - lib/act_as_releasable/version.rb
144
+ - lib/generators/act_as_releasable/install_generator.rb
145
+ - lib/generators/act_as_releasable/templates/create_releasable_candidate_items.rb
146
+ - lib/generators/act_as_releasable/templates/create_releasable_candidates.rb
147
+ - spec/candidate_spec.rb
148
+ - spec/db/database.yml
149
+ - spec/db/schema.rb
150
+ - spec/factories/jazz_all_stars.rb
151
+ - spec/factories/phantoms.rb
152
+ - spec/release_spec.rb
153
+ - spec/spec_helper.rb
154
+ - spec/support/models.rb
155
+ homepage: ''
156
+ licenses: []
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 1.8.24
176
+ signing_key:
177
+ specification_version: 3
178
+ summary: wip
179
+ test_files:
180
+ - spec/candidate_spec.rb
181
+ - spec/db/database.yml
182
+ - spec/db/schema.rb
183
+ - spec/factories/jazz_all_stars.rb
184
+ - spec/factories/phantoms.rb
185
+ - spec/release_spec.rb
186
+ - spec/spec_helper.rb
187
+ - spec/support/models.rb