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.
- checksums.yaml +4 -4
- data/app/models/notify_user/base_notification.rb +7 -1
- data/lib/notify_user/version.rb +1 -1
- data/spec/dummy/rails-4.0.4/config/initializers/secret_token.rb +1 -1
- 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
- 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
- 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
- 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
- data/spec/dummy/rails-4.0.4/db/schema.rb +1 -1
- data/spec/dummy/rails-4.0.4/log/test.log +8421 -19580
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/{461686bcf3d7c88e0499f60b83be1fbd → 80e5f8379c6b79f7685b1a2124c2c032} +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/{8347cdde4e97e62f293aab2e5e6fcc2a → 8b79deab756579c0e92b62a86f6a5fef} +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/rails-4.0.4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/models/notify_user/notification_spec.rb +7 -0
- metadata +52 -190
- data/spec/dummy/rails-4.0.2/Gemfile +0 -45
- data/spec/dummy/rails-4.0.2/README.rdoc +0 -28
- data/spec/dummy/rails-4.0.2/Rakefile +0 -6
- data/spec/dummy/rails-4.0.2/app/assets/javascripts/application.js +0 -16
- data/spec/dummy/rails-4.0.2/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/rails-4.0.2/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/rails-4.0.2/app/controllers/notify_user/notifications_controller.rb +0 -9
- data/spec/dummy/rails-4.0.2/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/rails-4.0.2/app/models/user.rb +0 -2
- data/spec/dummy/rails-4.0.2/app/notifications/new_post_notification.rb +0 -11
- data/spec/dummy/rails-4.0.2/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/rails-4.0.2/app/views/notify_user/layouts/action_mailer.html.erb +0 -39
- data/spec/dummy/rails-4.0.2/app/views/notify_user/new_post_notification/action_mailer/notification.html.erb +0 -1
- data/spec/dummy/rails-4.0.2/app/views/notify_user/new_post_notification/mobile_sdk/notification.html.erb +0 -1
- data/spec/dummy/rails-4.0.2/bin/bundle +0 -3
- data/spec/dummy/rails-4.0.2/bin/rails +0 -4
- data/spec/dummy/rails-4.0.2/bin/rake +0 -4
- data/spec/dummy/rails-4.0.2/config/application.rb +0 -23
- data/spec/dummy/rails-4.0.2/config/boot.rb +0 -4
- data/spec/dummy/rails-4.0.2/config/database.yml +0 -54
- data/spec/dummy/rails-4.0.2/config/database2.yml +0 -57
- data/spec/dummy/rails-4.0.2/config/environment.rb +0 -5
- data/spec/dummy/rails-4.0.2/config/environments/development.rb +0 -29
- data/spec/dummy/rails-4.0.2/config/environments/production.rb +0 -80
- data/spec/dummy/rails-4.0.2/config/environments/test.rb +0 -36
- data/spec/dummy/rails-4.0.2/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/rails-4.0.2/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/rails-4.0.2/config/initializers/inflections.rb +0 -16
- data/spec/dummy/rails-4.0.2/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/rails-4.0.2/config/initializers/notify_user.rb +0 -14
- data/spec/dummy/rails-4.0.2/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/rails-4.0.2/config/initializers/session_store.rb +0 -3
- data/spec/dummy/rails-4.0.2/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/rails-4.0.2/config/locales/en.yml +0 -23
- data/spec/dummy/rails-4.0.2/config/routes.rb +0 -56
- data/spec/dummy/rails-4.0.2/config.ru +0 -4
- data/spec/dummy/rails-4.0.2/db/schema.rb +0 -53
- data/spec/dummy/rails-4.0.2/db/seeds.rb +0 -7
- data/spec/dummy/rails-4.0.2/log/test.log +0 -3146
- data/spec/dummy/rails-4.0.2/public/404.html +0 -58
- data/spec/dummy/rails-4.0.2/public/422.html +0 -58
- data/spec/dummy/rails-4.0.2/public/500.html +0 -57
- data/spec/dummy/rails-4.0.2/public/favicon.ico +0 -0
- data/spec/dummy/rails-4.0.2/public/robots.txt +0 -5
- data/spec/dummy/rails-4.0.2/test/fixtures/users.yml +0 -7
- data/spec/dummy/rails-4.0.2/test/models/user_test.rb +0 -7
- data/spec/dummy/rails-4.0.2/test/test_helper.rb +0 -15
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13195a56ea8581e42f709ea01ea4604f +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/148f39f7dc2ea6cb194598111dbd4598 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/1d6bc1877ba2bbb89f393e10e8303d39 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/311d2b645a860b78f79ff156f12092ce +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/39651f0f2ac78423732234ebf092c632 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/5c85b1b5ac27b699c5f800c4e7ec82fb +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/68752c7ddc300bee3e9823db8befc306 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/6961013077b8573ed19d1e33abb8ebc5 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/7a316b3629b980c6d3a28924cb5fbbd8 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8698d6fed0ef2f173a377160752b959f +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8bab520aad78da438df1c428288cf229 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/fa138a16887e031c0ae1b4caccfb4c05 +0 -0
- data/spec/dummy/rails-4.0.4/db/migrate/20140519075749_create_users.rb +0 -9
- data/spec/dummy/rails-4.0.4/db/migrate/20140519075751424424898000_create_notify_user_notifications.rb +0 -13
- data/spec/dummy/rails-4.0.4/db/migrate/20140519075751426426728000_create_notify_user_unsubscribes.rb +0 -10
- 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,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
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13195a56ea8581e42f709ea01ea4604f
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/148f39f7dc2ea6cb194598111dbd4598
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/1d6bc1877ba2bbb89f393e10e8303d39
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/311d2b645a860b78f79ff156f12092ce
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/39651f0f2ac78423732234ebf092c632
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/5c85b1b5ac27b699c5f800c4e7ec82fb
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/68752c7ddc300bee3e9823db8befc306
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/6961013077b8573ed19d1e33abb8ebc5
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/7a316b3629b980c6d3a28924cb5fbbd8
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8698d6fed0ef2f173a377160752b959f
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/8bab520aad78da438df1c428288cf229
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
DELETED
Binary file
|
data/spec/dummy/rails-4.0.2/tmp/cache/assets/test/sprockets/fa138a16887e031c0ae1b4caccfb4c05
DELETED
Binary file
|
@@ -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
|
data/spec/dummy/rails-4.0.4/db/migrate/20140519075751428428230000_create_notify_user_user_hashes.rb
DELETED
@@ -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
|