rails_apps_testing 0.0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fb7540e115f41fded77bfa902e5c64fdca2ecce
4
- data.tar.gz: 78b787c1c2a71c8b930b6f73ee89da1759b556b7
3
+ metadata.gz: 1597e4bf187a8caa77e0eef06370ff0c9df2ab9b
4
+ data.tar.gz: 1a2186112ab9ee5fd8c1c92fbf707609c6d191a2
5
5
  SHA512:
6
- metadata.gz: 3e4096bd8495eed4b5b6a036152e296d0c9a2fee2d92e1a783a6784aa53eec710502b2826cb619502fab4f52743a18fcb74f199e40c3c4d8a1983cad99709e63
7
- data.tar.gz: d15ba5272e3255e0f8d15a03a6fff0f2f124c3fdd051d010cb4254469a5dbe435c8499624307b84042f558afb9fad2b92a863f3ff298f00bbb758bad56e60fbe
6
+ metadata.gz: 77c19e98d907de614a959cef6ba0ebfb46ec15e50166f598bf565adaa05c8567d544ce7d07c0e83f1bfa2e9759602d3acb3b0773d57fbb4158d6fce1dfa27477
7
+ data.tar.gz: e25c445dc7d55048b2b1f17be9a092e099e462ec92fd9c1104313b3700f837f2147781d8d02a6a237ce04d10903e0cb381e14a9120959d1ca787e439b29cb2db
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ rails_apps_testing
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.1.1
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.2.0 April 26, 2014
4
+
5
+ * add option to install support for Devise
6
+
3
7
  h3. 0.1.0 April 26, 2014
4
8
 
5
9
  * set up RSpec and friends in a Rails application
data/README.textile CHANGED
@@ -172,6 +172,14 @@ RSpec.configure do |config|
172
172
  end
173
173
  </pre>
174
174
 
175
+ If you want to install the file *spec/support/devise.rb* independently of the other changes, you can run:
176
+
177
+ <pre>
178
+ $ rails generate testing:configure devise
179
+ </pre>
180
+
181
+ This is helpful for application templates that install RSpec before installing Devise, allowing you to run the generator again to install support for Devise after Devise is installed.
182
+
175
183
  h2. Issues
176
184
 
177
185
  Any issues? Please create an "issue":http://github.com/RailsApps/rails_apps_testing/issues on GitHub. Reporting issues (and patching!) helps everyone.
@@ -26,6 +26,8 @@ module Testing
26
26
  if File.exists?('config/initializers/devise.rb')
27
27
  copy_file 'devise.rb', 'spec/support/devise.rb'
28
28
  end
29
+ when 'devise'
30
+ copy_file 'devise.rb', 'spec/support/devise.rb'
29
31
  end
30
32
  end
31
33
 
@@ -1,3 +1,3 @@
1
1
  module RailsAppsTesting
2
- VERSION = "0.0.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
@@ -46,6 +46,8 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
+ - ".ruby-gemset"
50
+ - ".ruby-version"
49
51
  - CHANGELOG.textile
50
52
  - Gemfile
51
53
  - LICENSE.txt