rails_apps_pages 0.4.5 → 0.4.6

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: 4812f3289928d88a1abc76bc4285d48e485799c9
4
- data.tar.gz: e45a51f5260d346d39de47cba297934819f9982f
3
+ metadata.gz: 4f47181945594081e4529f9159ed54573e147b0d
4
+ data.tar.gz: 7ddb47758d7fe843534e0f4542a391d9be2f5a7f
5
5
  SHA512:
6
- metadata.gz: 65d1142719d88ec42322c0390a0951dcb581f8645fe833385495565cd23dd6fb24b6df14be1c73979d8aeda805e8a9e9007026a5385bd75bef2c4e6762303d2d
7
- data.tar.gz: f1282e491104045fefadbbdb0dc6e969e13ea0a82be5b8738695d19ec9ef2ead0b222038a560e5dfe6f0b1f33863715db4607aa30214a2acb2cdedd43ccbd807
6
+ metadata.gz: 53dbc2c69a52f75b83d9bdc1273246ae801a8fc271c3690292aa631788726c2f8298592120d8c9c3c967053b5f218a9891f9b30623f6a223241c59e2f1e7a77a
7
+ data.tar.gz: 26ce7b375481c05721d6e4cafbd233c74870907ce99a89c262f8a86fa7f70d19712b618d25151c4ece2c31ebdec37b608312a50d44d44852a4c5b88a7dd0105a
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.4.6 June 2, 2014
4
+
5
+ * update for RSpec 3.0
6
+
3
7
  h3. 0.4.5 May 31, 2014
4
8
 
5
9
  * user pages for OmniAuth
data/README.textile CHANGED
@@ -79,7 +79,7 @@ You'll need to install the "high_voltage gem":https://github.com/thoughtbot/high
79
79
 
80
80
  h2. Generate User Pages Requiring Authentication
81
81
 
82
- If you have a User model and authentication with Devise, you can add pages to display a list of users or each user's profile, restricted to signed in users.
82
+ If you have a User model and authentication with Devise or OmniAuth, you can add pages to display a list of users or each user's profile, restricted to signed in users.
83
83
 
84
84
  To run the generator and create pages to accompany a User model:
85
85
 
@@ -89,7 +89,6 @@ $ rails generate pages:users
89
89
 
90
90
  The generator will create:
91
91
 
92
- * app/controllers/registrations_controller.rb
93
92
  * app/controllers/users_controller.rb
94
93
  * app/controllers/visitors_controller.rb
95
94
  * app/views/users/_user.html.erb
@@ -98,13 +97,7 @@ The generator will create:
98
97
  * app/views/visitors/index.html.erb
99
98
  * plus tests (if RSpec is installed)
100
99
 
101
- It will add routes to the *config/routes.rb* file:
102
-
103
- <pre>
104
- root :to => "visitors#index"
105
- devise_for :users, :controllers => {:registrations => "registrations"}
106
- resources :users
107
- </pre>
100
+ It will also add routes to the *config/routes.rb* file.
108
101
 
109
102
  h2. Generate User Pages Requiring Authorization
110
103
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  # Feature: 'About' page
4
4
  # As a visitor
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  # Feature: Home page
4
4
  # As a visitor
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  # Feature: Sign in
4
4
  # As a user
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  # Feature: Sign out
4
4
  # As a user
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
  include Warden::Test::Helpers
3
3
  Warden.test_mode!
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
  include Warden::Test::Helpers
3
3
  Warden.test_mode!
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
  include Warden::Test::Helpers
3
3
  Warden.test_mode!
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
  include Warden::Test::Helpers
3
3
  Warden.test_mode!
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  # Feature: Sign up
4
4
  # As a visitor
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  describe User do
4
4
 
@@ -1,3 +1,3 @@
1
1
  module RailsAppsPages
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-31 00:00:00.000000000 Z
11
+ date: 2014-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler