machinery 0.9 → 0.9.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/README.markdown +4 -4
- metadata +1 -1
data/README.markdown
CHANGED
|
@@ -143,10 +143,10 @@ Installation
|
|
|
143
143
|
#### As a Gem
|
|
144
144
|
|
|
145
145
|
Use this if you prefer to use versioned releases of Machinery.
|
|
146
|
-
Specify the gem dependency in your config/
|
|
146
|
+
Specify the gem dependency in your config/environments/test.rb file:
|
|
147
147
|
|
|
148
148
|
Rails::Initializer.run do |config|
|
|
149
|
-
config.gem "
|
|
149
|
+
config.gem "machinery", :lib => false, :source => 'http://gemcutter.org'
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
Then:
|
|
@@ -163,12 +163,12 @@ Use this if you prefer to use the edge version of Machinery:
|
|
|
163
163
|
### Rails installation (RSpec)
|
|
164
164
|
|
|
165
165
|
If you're using Machinery with RSpec, it is recommended that you add config.gem lines
|
|
166
|
-
for RSpec and Machinery in your config/
|
|
166
|
+
for RSpec and Machinery in your config/environments/test.rb file, but do not ask
|
|
167
167
|
Rails to load the RSpec and Machinery libraries:
|
|
168
168
|
|
|
169
169
|
config.gem 'rspec', :lib => false
|
|
170
170
|
config.gem 'rspec-rails', :lib => false
|
|
171
|
-
config.gem '
|
|
171
|
+
config.gem 'machinery', :lib => false, :source => 'http://gemcutter.org'
|
|
172
172
|
|
|
173
173
|
Then require machinery from your spec/spec_helper.rb file, before Spec::Runner is
|
|
174
174
|
configured:
|