raygun 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +11 -0
- data/README.md +14 -9
- data/app_prototype/.rbenv-version +1 -0
- data/app_prototype/Gemfile +6 -0
- data/app_prototype/Guardfile +10 -2
- data/app_prototype/README.md +1 -1
- data/app_prototype/app/controllers/password_resets_controller.rb +6 -8
- data/app_prototype/app/controllers/registrations_controller.rb +1 -1
- data/app_prototype/app/mailers/user_mailer.rb +0 -3
- data/app_prototype/app/models/user.rb +5 -2
- data/app_prototype/app/views/layouts/application.html.slim +1 -1
- data/app_prototype/app/views/password_resets/edit.html.slim +2 -3
- data/app_prototype/app/views/password_resets/new.html.slim +2 -2
- data/app_prototype/app/views/registrations/new.html.slim +1 -2
- data/app_prototype/app/views/user_mailer/activation_needed_email.html.erb +2 -2
- data/app_prototype/app/views/user_mailer/activation_needed_email.text.erb +2 -2
- data/app_prototype/app/views/user_mailer/activation_success_email.html.erb +2 -2
- data/app_prototype/app/views/user_mailer/activation_success_email.text.erb +2 -2
- data/app_prototype/app/views/user_mailer/reset_password_email.html.erb +2 -2
- data/app_prototype/app/views/user_mailer/reset_password_email.text.erb +2 -2
- data/app_prototype/app/views/user_sessions/new.html.slim +2 -2
- data/app_prototype/app/views/users/show.html.slim +1 -1
- data/app_prototype/config/application.rb +2 -2
- data/app_prototype/config/environments/acceptance.rb +1 -1
- data/app_prototype/config/environments/development.rb +1 -1
- data/app_prototype/config/environments/production.rb +1 -1
- data/app_prototype/config/environments/test.rb +2 -0
- data/app_prototype/config/initializers/email.rb +11 -0
- data/app_prototype/config/initializers/secret_token.rb +1 -1
- data/app_prototype/config/routes.rb +10 -10
- data/app_prototype/config.ru +12 -2
- data/app_prototype/db/sample_data.rb +4 -4
- data/app_prototype/lib/templates/rspec/scaffold/controller_spec.rb +21 -21
- data/app_prototype/public/index.html +3 -3
- data/app_prototype/spec/controllers/user_sessions_controller_spec.rb +7 -7
- data/app_prototype/spec/controllers/users_controller_spec.rb +22 -22
- data/app_prototype/spec/factories/users.rb +2 -0
- data/app_prototype/spec/features/activation_spec.rb +18 -0
- data/app_prototype/spec/features/password_reset_spec.rb +41 -0
- data/app_prototype/spec/features/registration_spec.rb +39 -0
- data/app_prototype/spec/features/sign_in_spec.rb +30 -0
- data/app_prototype/spec/mailers/user_mailer_spec.rb +16 -16
- data/app_prototype/spec/models/user_spec.rb +13 -6
- data/app_prototype/spec/spec_helper.rb +8 -12
- data/app_prototype/spec/support/user_sessions_feature_helper.rb +2 -2
- data/app_prototype/spec/views/users/edit.html.slim_spec.rb +0 -1
- data/app_prototype/spec/views/users/index.html.slim_spec.rb +0 -1
- data/app_prototype/spec/views/users/new.html.slim_spec.rb +0 -1
- data/app_prototype/spec/views/users/show.html.slim_spec.rb +2 -3
- data/bin/raygun +8 -1
- data/cleanup.sh +8 -0
- data/lib/raygun/version.rb +1 -1
- data/raygun.gemspec +1 -3
- metadata +13 -21
- data/app_prototype/spec/features/user_sessions_spec.rb +0 -32
- data/app_prototype/spec/helpers/users_helper_spec.rb +0 -15
metadata
CHANGED
@@ -1,32 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Christian Nelson
|
9
|
+
- Jonah Williams
|
10
|
+
- Jason Wadsworth
|
9
11
|
autorequire:
|
10
12
|
bindir: bin
|
11
13
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
-
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: bundler
|
16
|
-
prerelease: false
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '1.2'
|
22
|
-
none: false
|
23
|
-
type: :runtime
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - ! '>='
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: '1.2'
|
29
|
-
none: false
|
14
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
15
|
+
dependencies: []
|
30
16
|
description: Carbon Five Rails application generator
|
31
17
|
email:
|
32
18
|
- christian@carbonfive.com
|
@@ -38,12 +24,14 @@ files:
|
|
38
24
|
- .gitignore
|
39
25
|
- .rbenv-version
|
40
26
|
- .rvmrc
|
27
|
+
- CHANGES.md
|
41
28
|
- Gemfile
|
42
29
|
- LICENSE.txt
|
43
30
|
- README.md
|
44
31
|
- Rakefile
|
45
32
|
- TODO.md
|
46
33
|
- app_prototype/.gitignore
|
34
|
+
- app_prototype/.rbenv-version
|
47
35
|
- app_prototype/.rspec
|
48
36
|
- app_prototype/.rvmrc
|
49
37
|
- app_prototype/Gemfile
|
@@ -94,6 +82,7 @@ files:
|
|
94
82
|
- app_prototype/config/environments/production.rb
|
95
83
|
- app_prototype/config/environments/test.rb
|
96
84
|
- app_prototype/config/initializers/backtrace_silencers.rb
|
85
|
+
- app_prototype/config/initializers/email.rb
|
97
86
|
- app_prototype/config/initializers/inflections.rb
|
98
87
|
- app_prototype/config/initializers/mime_types.rb
|
99
88
|
- app_prototype/config/initializers/secret_token.rb
|
@@ -139,8 +128,10 @@ files:
|
|
139
128
|
- app_prototype/spec/controllers/user_sessions_controller_spec.rb
|
140
129
|
- app_prototype/spec/controllers/users_controller_spec.rb
|
141
130
|
- app_prototype/spec/factories/users.rb
|
142
|
-
- app_prototype/spec/features/
|
143
|
-
- app_prototype/spec/
|
131
|
+
- app_prototype/spec/features/activation_spec.rb
|
132
|
+
- app_prototype/spec/features/password_reset_spec.rb
|
133
|
+
- app_prototype/spec/features/registration_spec.rb
|
134
|
+
- app_prototype/spec/features/sign_in_spec.rb
|
144
135
|
- app_prototype/spec/javascripts/example_spec.js.coffee
|
145
136
|
- app_prototype/spec/javascripts/spec.css
|
146
137
|
- app_prototype/spec/javascripts/spec.js.coffee
|
@@ -160,6 +151,7 @@ files:
|
|
160
151
|
- app_prototype/vendor/assets/stylesheets/.gitkeep
|
161
152
|
- app_prototype/vendor/plugins/.gitkeep
|
162
153
|
- bin/raygun
|
154
|
+
- cleanup.sh
|
163
155
|
- lib/raygun/version.rb
|
164
156
|
- marvin.jpg
|
165
157
|
- raygun.gemspec
|
@@ -1,32 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
feature "User Sessions" do
|
4
|
-
|
5
|
-
background(:all) do
|
6
|
-
@user = create(:user)
|
7
|
-
@user.activate!
|
8
|
-
end
|
9
|
-
|
10
|
-
after(:all) do
|
11
|
-
@user.destroy
|
12
|
-
end
|
13
|
-
|
14
|
-
scenario "Sign in with valid credentials" do
|
15
|
-
sign_in(@user.email, 'password')
|
16
|
-
|
17
|
-
find('.alert').should have_content("Successfully signed in")
|
18
|
-
end
|
19
|
-
|
20
|
-
scenario "Sign in with an invalid email" do
|
21
|
-
sign_in('this is not valid', 'password')
|
22
|
-
|
23
|
-
find('.alert').should have_content("Sign in failed")
|
24
|
-
end
|
25
|
-
|
26
|
-
scenario "Sign in with an invalid password" do
|
27
|
-
sign_in(@user.email, 'this is not valid')
|
28
|
-
|
29
|
-
find('.alert').should have_content("Sign in failed")
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
# Specs in this file have access to a helper object that includes
|
4
|
-
# the UsersHelper. For example:
|
5
|
-
#
|
6
|
-
# describe UsersHelper do
|
7
|
-
# describe "string concat" do
|
8
|
-
# it "concats two strings with spaces" do
|
9
|
-
# helper.concat_strings("this","that").should == "this that"
|
10
|
-
# end
|
11
|
-
# end
|
12
|
-
# end
|
13
|
-
describe UsersHelper do
|
14
|
-
pending "add some examples to (or delete) #{__FILE__}"
|
15
|
-
end
|