notify_user 0.0.16 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/notify_user/base_notification.rb +7 -1
  3. data/lib/notify_user/version.rb +1 -1
  4. data/spec/dummy/rails-4.0.4/config/initializers/secret_token.rb +1 -1
  5. data/spec/dummy/{rails-4.0.2/db/migrate/20140428015529_create_users.rb → rails-4.0.4/db/migrate/20140624075850_create_users.rb} +0 -0
  6. data/spec/dummy/{rails-4.0.2/db/migrate/20140428015531189189694000_create_notify_user_notifications.rb → rails-4.0.4/db/migrate/20140624075852587587217000_create_notify_user_notifications.rb} +0 -0
  7. data/spec/dummy/{rails-4.0.2/db/migrate/20140428015531190190743000_create_notify_user_unsubscribes.rb → rails-4.0.4/db/migrate/20140624075852588588765000_create_notify_user_unsubscribes.rb} +0 -0
  8. data/spec/dummy/{rails-4.0.2/db/migrate/20140428015531191191953000_create_notify_user_user_hashes.rb → rails-4.0.4/db/migrate/20140624075852590590153000_create_notify_user_user_hashes.rb} +0 -0
  9. data/spec/dummy/rails-4.0.4/db/schema.rb +1 -1
  10. data/spec/dummy/rails-4.0.4/log/test.log +8421 -19580
  11. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  12. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  13. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  14. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/{461686bcf3d7c88e0499f60b83be1fbd → 80e5f8379c6b79f7685b1a2124c2c032} +0 -0
  15. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/{8347cdde4e97e62f293aab2e5e6fcc2a → 8b79deab756579c0e92b62a86f6a5fef} +0 -0
  16. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  17. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  18. data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  19. data/spec/models/notify_user/notification_spec.rb +7 -0
  20. metadata +52 -190
  21. data/spec/dummy/rails-4.0.2/Gemfile +0 -45
  22. data/spec/dummy/rails-4.0.2/README.rdoc +0 -28
  23. data/spec/dummy/rails-4.0.2/Rakefile +0 -6
  24. data/spec/dummy/rails-4.0.2/app/assets/javascripts/application.js +0 -16
  25. data/spec/dummy/rails-4.0.2/app/assets/stylesheets/application.css +0 -13
  26. data/spec/dummy/rails-4.0.2/app/controllers/application_controller.rb +0 -5
  27. data/spec/dummy/rails-4.0.2/app/controllers/notify_user/notifications_controller.rb +0 -9
  28. data/spec/dummy/rails-4.0.2/app/helpers/application_helper.rb +0 -2
  29. data/spec/dummy/rails-4.0.2/app/models/user.rb +0 -2
  30. data/spec/dummy/rails-4.0.2/app/notifications/new_post_notification.rb +0 -11
  31. data/spec/dummy/rails-4.0.2/app/views/layouts/application.html.erb +0 -14
  32. data/spec/dummy/rails-4.0.2/app/views/notify_user/layouts/action_mailer.html.erb +0 -39
  33. data/spec/dummy/rails-4.0.2/app/views/notify_user/new_post_notification/action_mailer/notification.html.erb +0 -1
  34. data/spec/dummy/rails-4.0.2/app/views/notify_user/new_post_notification/mobile_sdk/notification.html.erb +0 -1
  35. data/spec/dummy/rails-4.0.2/bin/bundle +0 -3
  36. data/spec/dummy/rails-4.0.2/bin/rails +0 -4
  37. data/spec/dummy/rails-4.0.2/bin/rake +0 -4
  38. data/spec/dummy/rails-4.0.2/config/application.rb +0 -23
  39. data/spec/dummy/rails-4.0.2/config/boot.rb +0 -4
  40. data/spec/dummy/rails-4.0.2/config/database.yml +0 -54
  41. data/spec/dummy/rails-4.0.2/config/database2.yml +0 -57
  42. data/spec/dummy/rails-4.0.2/config/environment.rb +0 -5
  43. data/spec/dummy/rails-4.0.2/config/environments/development.rb +0 -29
  44. data/spec/dummy/rails-4.0.2/config/environments/production.rb +0 -80
  45. data/spec/dummy/rails-4.0.2/config/environments/test.rb +0 -36
  46. data/spec/dummy/rails-4.0.2/config/initializers/backtrace_silencers.rb +0 -7
  47. data/spec/dummy/rails-4.0.2/config/initializers/filter_parameter_logging.rb +0 -4
  48. data/spec/dummy/rails-4.0.2/config/initializers/inflections.rb +0 -16
  49. data/spec/dummy/rails-4.0.2/config/initializers/mime_types.rb +0 -5
  50. data/spec/dummy/rails-4.0.2/config/initializers/notify_user.rb +0 -14
  51. data/spec/dummy/rails-4.0.2/config/initializers/secret_token.rb +0 -12
  52. data/spec/dummy/rails-4.0.2/config/initializers/session_store.rb +0 -3
  53. data/spec/dummy/rails-4.0.2/config/initializers/wrap_parameters.rb +0 -14
  54. data/spec/dummy/rails-4.0.2/config/locales/en.yml +0 -23
  55. data/spec/dummy/rails-4.0.2/config/routes.rb +0 -56
  56. data/spec/dummy/rails-4.0.2/config.ru +0 -4
  57. data/spec/dummy/rails-4.0.2/db/schema.rb +0 -53
  58. data/spec/dummy/rails-4.0.2/db/seeds.rb +0 -7
  59. data/spec/dummy/rails-4.0.2/log/test.log +0 -3146
  60. data/spec/dummy/rails-4.0.2/public/404.html +0 -58
  61. data/spec/dummy/rails-4.0.2/public/422.html +0 -58
  62. data/spec/dummy/rails-4.0.2/public/500.html +0 -57
  63. data/spec/dummy/rails-4.0.2/public/favicon.ico +0 -0
  64. data/spec/dummy/rails-4.0.2/public/robots.txt +0 -5
  65. data/spec/dummy/rails-4.0.2/test/fixtures/users.yml +0 -7
  66. data/spec/dummy/rails-4.0.2/test/models/user_test.rb +0 -7
  67. data/spec/dummy/rails-4.0.2/test/test_helper.rb +0 -15
  68. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13195a56ea8581e42f709ea01ea4604f +0 -0
  69. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  70. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/148f39f7dc2ea6cb194598111dbd4598 +0 -0
  71. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/1d6bc1877ba2bbb89f393e10e8303d39 +0 -0
  72. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  73. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/311d2b645a860b78f79ff156f12092ce +0 -0
  74. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  75. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/39651f0f2ac78423732234ebf092c632 +0 -0
  76. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/5c85b1b5ac27b699c5f800c4e7ec82fb +0 -0
  77. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/68752c7ddc300bee3e9823db8befc306 +0 -0
  78. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/6961013077b8573ed19d1e33abb8ebc5 +0 -0
  79. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/7a316b3629b980c6d3a28924cb5fbbd8 +0 -0
  80. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8698d6fed0ef2f173a377160752b959f +0 -0
  81. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8bab520aad78da438df1c428288cf229 +0 -0
  82. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  83. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  84. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  85. data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/fa138a16887e031c0ae1b4caccfb4c05 +0 -0
  86. data/spec/dummy/rails-4.0.4/db/migrate/20140519075749_create_users.rb +0 -9
  87. data/spec/dummy/rails-4.0.4/db/migrate/20140519075751424424898000_create_notify_user_notifications.rb +0 -13
  88. data/spec/dummy/rails-4.0.4/db/migrate/20140519075751426426728000_create_notify_user_unsubscribes.rb +0 -10
  89. data/spec/dummy/rails-4.0.4/db/migrate/20140519075751428428230000_create_notify_user_user_hashes.rb +0 -12
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/404.html -->
52
- <div class="dialog">
53
- <h1>The page you were looking for doesn't exist.</h1>
54
- <p>You may have mistyped the address or the page may have moved.</p>
55
- </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
- </body>
58
- </html>
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/422.html -->
52
- <div class="dialog">
53
- <h1>The change you wanted was rejected.</h1>
54
- <p>Maybe you tried to change something you didn't have access to.</p>
55
- </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
- </body>
58
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/500.html -->
52
- <div class="dialog">
53
- <h1>We're sorry, but something went wrong.</h1>
54
- </div>
55
- <p>If you are the application owner check the logs for more information.</p>
56
- </body>
57
- </html>
File without changes
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-agent: *
5
- # Disallow: /
@@ -1,7 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
-
3
- one:
4
- email: MyString
5
-
6
- two:
7
- email: MyString
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class UserTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,15 +0,0 @@
1
- ENV["RAILS_ENV"] ||= "test"
2
- require File.expand_path('../../config/environment', __FILE__)
3
- require 'rails/test_help'
4
-
5
- class ActiveSupport::TestCase
6
- ActiveRecord::Migration.check_pending!
7
-
8
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
9
- #
10
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
11
- # -- they do not yet inherit this setting
12
- fixtures :all
13
-
14
- # Add more helper methods to be used by all tests here...
15
- end
@@ -1,9 +0,0 @@
1
- class CreateUsers < ActiveRecord::Migration
2
- def change
3
- create_table :users do |t|
4
- t.string :email
5
-
6
- t.timestamps
7
- end
8
- end
9
- end
@@ -1,13 +0,0 @@
1
- class CreateNotifyUserNotifications < ActiveRecord::Migration
2
- def change
3
- create_table :notify_user_notifications do |t|
4
- t.string :type
5
- t.integer :target_id
6
- t.string :target_type
7
- t.json :params
8
- t.string :state
9
-
10
- t.timestamps
11
- end
12
- end
13
- end
@@ -1,10 +0,0 @@
1
- class CreateNotifyUserUnsubscribes < ActiveRecord::Migration
2
- def change
3
- create_table :notify_user_unsubscribes do |t|
4
- t.string :type
5
- t.integer :target_id
6
- t.string :target_type
7
- t.timestamps
8
- end
9
- end
10
- end
@@ -1,12 +0,0 @@
1
- class CreateNotifyUserUserHashes < ActiveRecord::Migration
2
- def change
3
- create_table :notify_user_user_hashes do |t|
4
- t.string :type
5
- t.integer :target_id
6
- t.string :target_type
7
- t.string :token
8
- t.boolean :active, default: true
9
- t.timestamps
10
- end
11
- end
12
- end