raygun 0.0.13 → 0.0.14

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.
Files changed (56) hide show
  1. data/CHANGES.md +11 -0
  2. data/README.md +14 -9
  3. data/app_prototype/.rbenv-version +1 -0
  4. data/app_prototype/Gemfile +6 -0
  5. data/app_prototype/Guardfile +10 -2
  6. data/app_prototype/README.md +1 -1
  7. data/app_prototype/app/controllers/password_resets_controller.rb +6 -8
  8. data/app_prototype/app/controllers/registrations_controller.rb +1 -1
  9. data/app_prototype/app/mailers/user_mailer.rb +0 -3
  10. data/app_prototype/app/models/user.rb +5 -2
  11. data/app_prototype/app/views/layouts/application.html.slim +1 -1
  12. data/app_prototype/app/views/password_resets/edit.html.slim +2 -3
  13. data/app_prototype/app/views/password_resets/new.html.slim +2 -2
  14. data/app_prototype/app/views/registrations/new.html.slim +1 -2
  15. data/app_prototype/app/views/user_mailer/activation_needed_email.html.erb +2 -2
  16. data/app_prototype/app/views/user_mailer/activation_needed_email.text.erb +2 -2
  17. data/app_prototype/app/views/user_mailer/activation_success_email.html.erb +2 -2
  18. data/app_prototype/app/views/user_mailer/activation_success_email.text.erb +2 -2
  19. data/app_prototype/app/views/user_mailer/reset_password_email.html.erb +2 -2
  20. data/app_prototype/app/views/user_mailer/reset_password_email.text.erb +2 -2
  21. data/app_prototype/app/views/user_sessions/new.html.slim +2 -2
  22. data/app_prototype/app/views/users/show.html.slim +1 -1
  23. data/app_prototype/config/application.rb +2 -2
  24. data/app_prototype/config/environments/acceptance.rb +1 -1
  25. data/app_prototype/config/environments/development.rb +1 -1
  26. data/app_prototype/config/environments/production.rb +1 -1
  27. data/app_prototype/config/environments/test.rb +2 -0
  28. data/app_prototype/config/initializers/email.rb +11 -0
  29. data/app_prototype/config/initializers/secret_token.rb +1 -1
  30. data/app_prototype/config/routes.rb +10 -10
  31. data/app_prototype/config.ru +12 -2
  32. data/app_prototype/db/sample_data.rb +4 -4
  33. data/app_prototype/lib/templates/rspec/scaffold/controller_spec.rb +21 -21
  34. data/app_prototype/public/index.html +3 -3
  35. data/app_prototype/spec/controllers/user_sessions_controller_spec.rb +7 -7
  36. data/app_prototype/spec/controllers/users_controller_spec.rb +22 -22
  37. data/app_prototype/spec/factories/users.rb +2 -0
  38. data/app_prototype/spec/features/activation_spec.rb +18 -0
  39. data/app_prototype/spec/features/password_reset_spec.rb +41 -0
  40. data/app_prototype/spec/features/registration_spec.rb +39 -0
  41. data/app_prototype/spec/features/sign_in_spec.rb +30 -0
  42. data/app_prototype/spec/mailers/user_mailer_spec.rb +16 -16
  43. data/app_prototype/spec/models/user_spec.rb +13 -6
  44. data/app_prototype/spec/spec_helper.rb +8 -12
  45. data/app_prototype/spec/support/user_sessions_feature_helper.rb +2 -2
  46. data/app_prototype/spec/views/users/edit.html.slim_spec.rb +0 -1
  47. data/app_prototype/spec/views/users/index.html.slim_spec.rb +0 -1
  48. data/app_prototype/spec/views/users/new.html.slim_spec.rb +0 -1
  49. data/app_prototype/spec/views/users/show.html.slim_spec.rb +2 -3
  50. data/bin/raygun +8 -1
  51. data/cleanup.sh +8 -0
  52. data/lib/raygun/version.rb +1 -1
  53. data/raygun.gemspec +1 -3
  54. metadata +13 -21
  55. data/app_prototype/spec/features/user_sessions_spec.rb +0 -32
  56. 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.13
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-11-29 00:00:00.000000000 Z
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/user_sessions_spec.rb
143
- - app_prototype/spec/helpers/users_helper_spec.rb
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