rack-push-notification 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +12 -50
  4. data/README.md +0 -15
  5. data/lib/rack/push-notification.rb +15 -9
  6. data/lib/rack/push-notification/migrations/001_base_schema.rb +4 -4
  7. data/lib/rack/push-notification/migrations/002_add_full_text_search.rb +9 -16
  8. data/lib/rack/push-notification/{device.rb → models/device.rb} +7 -10
  9. data/rack-push-notification-0.3.0.gem +0 -0
  10. data/rack-push-notification-0.3.1.gem +0 -0
  11. data/rack-push-notification.gemspec +3 -11
  12. metadata +47 -144
  13. data/lib/rack/push-notification/admin.rb +0 -140
  14. data/lib/rack/push-notification/assets/images/wallpaper-clown-fish.jpg +0 -0
  15. data/lib/rack/push-notification/assets/javascripts/application.coffee +0 -28
  16. data/lib/rack/push-notification/assets/javascripts/collections/devices.coffee +0 -29
  17. data/lib/rack/push-notification/assets/javascripts/models/device.coffee +0 -2
  18. data/lib/rack/push-notification/assets/javascripts/routers/root.coffee +0 -30
  19. data/lib/rack/push-notification/assets/javascripts/rpn.coffee +0 -14
  20. data/lib/rack/push-notification/assets/javascripts/templates/_devices.jst.eco +0 -23
  21. data/lib/rack/push-notification/assets/javascripts/templates/_preview.jst.eco +0 -24
  22. data/lib/rack/push-notification/assets/javascripts/templates/compose.jst.eco +0 -46
  23. data/lib/rack/push-notification/assets/javascripts/templates/devices.jst.eco +0 -12
  24. data/lib/rack/push-notification/assets/javascripts/templates/pagination.jst.eco +0 -12
  25. data/lib/rack/push-notification/assets/javascripts/vendor/backbone.js +0 -1431
  26. data/lib/rack/push-notification/assets/javascripts/vendor/backbone.paginator.js +0 -833
  27. data/lib/rack/push-notification/assets/javascripts/vendor/codemirror.javascript.js +0 -411
  28. data/lib/rack/push-notification/assets/javascripts/vendor/codemirror.js +0 -3047
  29. data/lib/rack/push-notification/assets/javascripts/vendor/date.js +0 -104
  30. data/lib/rack/push-notification/assets/javascripts/vendor/jquery.js +0 -9404
  31. data/lib/rack/push-notification/assets/javascripts/vendor/underscore.js +0 -1059
  32. data/lib/rack/push-notification/assets/javascripts/views/compose.coffee +0 -120
  33. data/lib/rack/push-notification/assets/javascripts/views/devices.coffee +0 -23
  34. data/lib/rack/push-notification/assets/javascripts/views/pagination.coffee +0 -29
  35. data/lib/rack/push-notification/assets/stylesheets/_codemirror.sass +0 -219
  36. data/lib/rack/push-notification/assets/stylesheets/_preview.sass +0 -148
  37. data/lib/rack/push-notification/assets/stylesheets/screen.sass +0 -108
  38. data/lib/rack/push-notification/assets/views/index.haml +0 -26
  39. data/lib/rack/push-notification/version.rb +0 -5
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6189e4a0c3430242190ac852f27d262eabded2be
4
+ data.tar.gz: 89e2d000787ea286122818b09f7a52f9f3a4376b
5
+ SHA512:
6
+ metadata.gz: 9057e2842abe453535817556368c31cefb8e6f065089ad2e183499936be2d1404610a4ea73c7335f4c738074f1f43d2cb82143a8697fa24515462bb8dbd3b70c
7
+ data.tar.gz: 3a73b070e7d0a773ece77b71de1602c0ac9ae1738d037acbe245dc5b205c95ff960f3973972fc15fadf73af98c429bc5b873cc4cca957ef32690836c81c7840e
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
data/Gemfile.lock CHANGED
@@ -1,82 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-push-notification (0.2.0)
5
- bootstrap-sass (~> 2.1.0)
6
- coffee-script (~> 2.2)
7
- compass (~> 0.11)
8
- eco (~> 1.0)
9
- haml (~> 3.1)
4
+ rack-push-notification (0.4.0)
10
5
  houston (~> 0.1.1)
11
6
  rack (~> 1.4)
12
7
  rack-contrib (~> 1.1)
13
- sass (~> 3.2)
14
8
  sequel (~> 3.37)
15
- sinatra (~> 1.3.2)
9
+ sinatra (~> 1.3)
16
10
  sinatra-param (~> 0.1)
17
- sprockets (~> 2.8)
18
- sprockets-sass (~> 0.9)
19
11
 
20
12
  GEM
21
- remote: http://rubygems.org/
13
+ remote: https://rubygems.org/
22
14
  specs:
23
- bootstrap-sass (2.1.1.0)
24
- chunky_png (1.2.7)
25
- coffee-script (2.2.0)
26
- coffee-script-source
27
- execjs
28
- coffee-script-source (1.6.1)
29
15
  commander (4.1.3)
30
16
  highline (~> 1.6.11)
31
- compass (0.12.2)
32
- chunky_png (~> 1.2)
33
- fssm (>= 0.2.7)
34
- sass (~> 3.1)
35
- eco (1.0.0)
36
- coffee-script
37
- eco-source
38
- execjs
39
- eco-source (1.1.0.rc.1)
40
- execjs (1.4.0)
41
- multi_json (~> 1.0)
42
- fssm (0.2.10)
43
- haml (3.1.8)
44
- highline (1.6.15)
45
- hike (1.2.1)
17
+ highline (1.6.16)
46
18
  houston (0.1.1)
47
19
  commander (~> 4.1.2)
48
20
  json (~> 1.7.3)
49
21
  json (1.7.7)
50
- multi_json (1.6.1)
51
22
  rack (1.5.2)
52
23
  rack-contrib (1.1.0)
53
24
  rack (>= 0.9.1)
54
- rack-protection (1.4.0)
25
+ rack-protection (1.5.0)
55
26
  rack
56
27
  rake (0.9.2.2)
57
28
  rspec (0.6.4)
58
- sass (3.2.6)
59
29
  sequel (3.45.0)
60
- sinatra (1.3.5)
61
- rack (~> 1.4)
62
- rack-protection (~> 1.3)
63
- tilt (~> 1.3, >= 1.3.3)
30
+ sinatra (1.4.1)
31
+ rack (~> 1.5, >= 1.5.2)
32
+ rack-protection (~> 1.4)
33
+ tilt (~> 1.3, >= 1.3.4)
64
34
  sinatra-param (0.1.2)
65
35
  sinatra (~> 1.3)
66
- sprockets (2.9.0)
67
- hike (~> 1.2)
68
- multi_json (~> 1.0)
69
- rack (~> 1.0)
70
- tilt (~> 1.1, != 1.3.0)
71
- sprockets-sass (0.9.1)
72
- sprockets (~> 2.0)
73
- tilt (~> 1.1)
74
- tilt (1.3.4)
36
+ tilt (1.3.6)
75
37
 
76
38
  PLATFORMS
77
39
  ruby
78
40
 
79
41
  DEPENDENCIES
80
42
  rack-push-notification!
81
- rake (~> 0.9.2)
82
- rspec (~> 0.6.1)
43
+ rake (~> 0.9)
44
+ rspec (~> 0.6)
data/README.md CHANGED
@@ -6,14 +6,6 @@ Rack::PushNotification
6
6
 
7
7
  `Rack::PushNotification` generates API endpoints that can be consumed by iOS apps to register and unregister for push notifications. Along with the registration API, `Rack::PushNotification` spawns an admin console that gives you a convenient interface to manage device tokens and compose targeted push notification messages.
8
8
 
9
- ## Screenshots
10
-
11
- ![Devices Screenshot](https://raw.github.com/mattt/rack-push-notification/screenshots/rack-push-notifications-screenshot-devices.png)
12
-
13
- ---
14
-
15
- ![Compose Screenshot](https://raw.github.com/mattt/rack-push-notification/screenshots/rack-push-notifications-screenshot-compose.png)
16
-
17
9
  ## Example Record
18
10
 
19
11
  <table>
@@ -45,12 +37,6 @@ Rack::PushNotification can be run as Rack middleware or as a single web applicat
45
37
  require 'bundler'
46
38
  Bundler.require
47
39
 
48
- Rack::PushNotification::Admin.use Rack::Auth::Basic do |username, password|
49
- [username, password] == ['admin', ENV['ADMIN_CONSOLE_PASSWORD'] || ""]
50
- end
51
-
52
- use Rack::PushNotification::Admin, certificate: "/path/to/apn_certificate.pem",
53
- environment: :production
54
40
  run Rack::PushNotification
55
41
  ```
56
42
 
@@ -82,7 +68,6 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
82
68
 
83
69
  ```
84
70
  $ heroku create
85
- $ heroku credentials:add ADMIN_CONSOLE_PASSWORD="YourPa55wordG0esH3r3"
86
71
  $ git push heroku master
87
72
  ```
88
73
 
@@ -6,18 +6,26 @@ require 'sinatra/param'
6
6
 
7
7
  require 'sequel'
8
8
 
9
- Sequel.extension(:pg_array, :migration)
10
-
11
9
  module Rack
12
10
  class PushNotification < Sinatra::Base
13
- autoload :Device, 'rack/push-notification/device'
14
- autoload :Admin, 'rack/push-notification/admin'
11
+ VERSION = '0.4.0'
15
12
 
16
13
  use Rack::PostBodyContentTypeParser
17
14
  helpers Sinatra::Param
18
15
 
19
16
  disable :raise_errors, :show_exceptions
20
17
 
18
+ autoload :Device, 'rack/push-notification/models/device'
19
+
20
+ configure do
21
+ if ENV['DATABASE_URL']
22
+ Sequel.extension :pg_array, :migration
23
+
24
+ DB = Sequel.connect(ENV['DATABASE_URL'])
25
+ Sequel::Migrator.run(DB, ::File.join(::File.dirname(__FILE__), 'push-notification/migrations'), table: 'push_notification_schema_info')
26
+ end
27
+ end
28
+
21
29
  before do
22
30
  content_type :json
23
31
  end
@@ -36,14 +44,14 @@ module Rack
36
44
  {device: record}.to_json
37
45
  else
38
46
  status 406
39
- {errors: @record.errors}.to_json
47
+ {errors: record.errors}.to_json
40
48
  end
41
49
  end
42
50
 
43
51
  delete '/devices/:token/?' do
44
- @record = Device.find(token: params[:token]) or halt 404
52
+ record = Device.find(token: params[:token]) or halt 404
45
53
 
46
- if @record.destroy
54
+ if record.destroy
47
55
  status 200
48
56
  else
49
57
  status 406
@@ -52,5 +60,3 @@ module Rack
52
60
  end
53
61
  end
54
62
  end
55
-
56
- require 'rack/push-notification/version'
@@ -1,10 +1,10 @@
1
1
  Sequel.migration do
2
2
  up do
3
- create_table :devices do
3
+ create_table :push_notification_devices do
4
4
  primary_key :id
5
5
 
6
6
  column :token, :varchar, empty: false, unique: true
7
- column :alias, :varchar
7
+ column :alias, :varchar
8
8
  column :badge, :int4, null: false, default: 0
9
9
  column :locale, :varchar
10
10
  column :language, :varchar
@@ -19,8 +19,8 @@ Sequel.migration do
19
19
  index [:lat, :lng]
20
20
  end
21
21
  end
22
-
22
+
23
23
  down do
24
- drop_table :devices
24
+ drop_table :push_notification_devices
25
25
  end
26
26
  end
@@ -1,23 +1,16 @@
1
1
  Sequel.migration do
2
2
  up do
3
- add_column :devices, :tsv, 'TSVector'
4
-
5
- run %{
6
- CREATE INDEX tsv_GIN ON devices \
7
- USING GIN(tsv);
8
- }
9
-
10
- run %{
11
- CREATE TRIGGER TS_tsv \
12
- BEFORE INSERT OR UPDATE ON devices \
13
- FOR EACH ROW EXECUTE PROCEDURE \
14
- tsvector_update_trigger(tsv, 'pg_catalog.english', token, alias, locale, timezone);
15
- }
3
+ add_column :push_notification_devices, :tsv, 'TSVector'
4
+ add_index :push_notification_devices, :tsv, type: "GIN"
5
+ create_trigger :push_notification_devices, :tsv, :tsvector_update_trigger,
6
+ args: [:tsv, :'pg_catalog.english', :token, :alias, :locale, :timezone],
7
+ events: [:insert, :update],
8
+ each_row: true
16
9
  end
17
10
 
18
11
  down do
19
- drop_column :devices, :tsv
20
- drop_index :devices, :tsv_GIN
21
- drop_trigger :devices, :TS_tsv
12
+ drop_column :push_notification_devices, :tsv
13
+ drop_index :push_notification_devices, :tsv
14
+ drop_trigger :push_notification_devices, :tsv
22
15
  end
23
16
  end
@@ -1,22 +1,21 @@
1
- Sequel.connect(ENV['DATABASE_URL'])
2
-
3
1
  module Rack
4
2
  class PushNotification::Device < Sequel::Model
5
- self.dataset = :devices
3
+ plugin :json_serializer, naked: true, except: :id
4
+ plugin :validation_helpers
5
+ plugin :timestamps, force: true, update_on_create: true
6
+ plugin :schema
6
7
 
8
+ self.dataset = :push_notification_devices
7
9
  self.strict_param_setting = false
8
10
  self.raise_on_save_failure = false
9
11
 
10
- plugin :json_serializer, naked: true
11
- plugin :validation_helpers
12
- plugin :timestamps, force: true
13
- plugin :schema
14
-
15
12
  def before_validation
16
13
  normalize_token!
17
14
  end
18
15
 
19
16
  def validate
17
+ super
18
+
20
19
  validates_presence :token
21
20
  validates_unique :token
22
21
  validates_format /[[:xdigit:]]{40}/, :token
@@ -27,7 +26,5 @@ module Rack
27
26
  def normalize_token!
28
27
  self.token = self.token.strip.gsub(/[<\s>]/, '')
29
28
  end
30
-
31
- Sequel::Migrator.run(self.db, ::File.join(::File.dirname(__FILE__), "migrations")) rescue false
32
29
  end
33
30
  end
Binary file
Binary file
@@ -11,22 +11,14 @@ Gem::Specification.new do |s|
11
11
  s.platform = Gem::Platform::RUBY
12
12
  s.summary = "Rack::PushNotification"
13
13
  s.description = "Generate a REST API for registering and querying push notification device tokens."
14
- s.add_development_dependency "rspec", "~> 0.6.1"
15
- s.add_development_dependency "rake", "~> 0.9.2"
14
+ s.add_development_dependency "rspec", "~> 0.6"
15
+ s.add_development_dependency "rake", "~> 0.9"
16
16
 
17
17
  s.add_dependency "rack", "~> 1.4"
18
18
  s.add_dependency "rack-contrib", "~> 1.1"
19
19
  s.add_dependency "sequel", "~> 3.37"
20
- s.add_dependency "sinatra", "~> 1.3.2"
20
+ s.add_dependency "sinatra", "~> 1.3"
21
21
  s.add_dependency "sinatra-param", "~> 0.1"
22
- s.add_dependency "coffee-script", "~> 2.2"
23
- s.add_dependency "eco", "~> 1.0"
24
- s.add_dependency "haml", "~> 3.1"
25
- s.add_dependency "sass", "~> 3.2"
26
- s.add_dependency "bootstrap-sass", "~> 2.1.0"
27
- s.add_dependency "compass", "~> 0.11"
28
- s.add_dependency "sprockets", "~> 2.8"
29
- s.add_dependency "sprockets-sass", "~> 0.9"
30
22
  s.add_dependency "houston", "~> 0.1.1"
31
23
 
32
24
  s.files = Dir["./**/*"].reject { |file| file =~ /\.\/(bin|example|log|pkg|script|spec|test|vendor)/ }
metadata CHANGED
@@ -1,192 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-push-notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mattt Thompson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-06 00:00:00.000000000 Z
11
+ date: 2013-03-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
- requirement: &70243365178400 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 0.6.1
19
+ version: '0.6'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *70243365178400
25
- - !ruby/object:Gem::Dependency
26
- name: rake
27
- requirement: &70243365177680 !ruby/object:Gem::Requirement
28
- none: false
22
+ version_requirements: !ruby/object:Gem::Requirement
29
23
  requirements:
30
24
  - - ~>
31
25
  - !ruby/object:Gem::Version
32
- version: 0.9.2
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70243365177680
26
+ version: '0.6'
36
27
  - !ruby/object:Gem::Dependency
37
- name: rack
38
- requirement: &70243365176960 !ruby/object:Gem::Requirement
39
- none: false
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
40
30
  requirements:
41
31
  - - ~>
42
32
  - !ruby/object:Gem::Version
43
- version: '1.4'
44
- type: :runtime
33
+ version: '0.9'
34
+ type: :development
45
35
  prerelease: false
46
- version_requirements: *70243365176960
47
- - !ruby/object:Gem::Dependency
48
- name: rack-contrib
49
- requirement: &70243365176280 !ruby/object:Gem::Requirement
50
- none: false
36
+ version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - ~>
53
39
  - !ruby/object:Gem::Version
54
- version: '1.1'
55
- type: :runtime
56
- prerelease: false
57
- version_requirements: *70243365176280
40
+ version: '0.9'
58
41
  - !ruby/object:Gem::Dependency
59
- name: sequel
60
- requirement: &70243365175480 !ruby/object:Gem::Requirement
61
- none: false
42
+ name: rack
43
+ requirement: !ruby/object:Gem::Requirement
62
44
  requirements:
63
45
  - - ~>
64
46
  - !ruby/object:Gem::Version
65
- version: '3.37'
47
+ version: '1.4'
66
48
  type: :runtime
67
49
  prerelease: false
68
- version_requirements: *70243365175480
69
- - !ruby/object:Gem::Dependency
70
- name: sinatra
71
- requirement: &70243365174540 !ruby/object:Gem::Requirement
72
- none: false
50
+ version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - ~>
75
53
  - !ruby/object:Gem::Version
76
- version: 1.3.2
77
- type: :runtime
78
- prerelease: false
79
- version_requirements: *70243365174540
54
+ version: '1.4'
80
55
  - !ruby/object:Gem::Dependency
81
- name: sinatra-param
82
- requirement: &70243365173800 !ruby/object:Gem::Requirement
83
- none: false
56
+ name: rack-contrib
57
+ requirement: !ruby/object:Gem::Requirement
84
58
  requirements:
85
59
  - - ~>
86
60
  - !ruby/object:Gem::Version
87
- version: '0.1'
61
+ version: '1.1'
88
62
  type: :runtime
89
63
  prerelease: false
90
- version_requirements: *70243365173800
91
- - !ruby/object:Gem::Dependency
92
- name: coffee-script
93
- requirement: &70243365173320 !ruby/object:Gem::Requirement
94
- none: false
64
+ version_requirements: !ruby/object:Gem::Requirement
95
65
  requirements:
96
66
  - - ~>
97
67
  - !ruby/object:Gem::Version
98
- version: '2.2'
99
- type: :runtime
100
- prerelease: false
101
- version_requirements: *70243365173320
68
+ version: '1.1'
102
69
  - !ruby/object:Gem::Dependency
103
- name: eco
104
- requirement: &70243365172840 !ruby/object:Gem::Requirement
105
- none: false
70
+ name: sequel
71
+ requirement: !ruby/object:Gem::Requirement
106
72
  requirements:
107
73
  - - ~>
108
74
  - !ruby/object:Gem::Version
109
- version: '1.0'
75
+ version: '3.37'
110
76
  type: :runtime
111
77
  prerelease: false
112
- version_requirements: *70243365172840
113
- - !ruby/object:Gem::Dependency
114
- name: haml
115
- requirement: &70243365172340 !ruby/object:Gem::Requirement
116
- none: false
78
+ version_requirements: !ruby/object:Gem::Requirement
117
79
  requirements:
118
80
  - - ~>
119
81
  - !ruby/object:Gem::Version
120
- version: '3.1'
121
- type: :runtime
122
- prerelease: false
123
- version_requirements: *70243365172340
82
+ version: '3.37'
124
83
  - !ruby/object:Gem::Dependency
125
- name: sass
126
- requirement: &70243365171860 !ruby/object:Gem::Requirement
127
- none: false
84
+ name: sinatra
85
+ requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
87
  - - ~>
130
88
  - !ruby/object:Gem::Version
131
- version: '3.2'
89
+ version: '1.3'
132
90
  type: :runtime
133
91
  prerelease: false
134
- version_requirements: *70243365171860
135
- - !ruby/object:Gem::Dependency
136
- name: bootstrap-sass
137
- requirement: &70243365171380 !ruby/object:Gem::Requirement
138
- none: false
92
+ version_requirements: !ruby/object:Gem::Requirement
139
93
  requirements:
140
94
  - - ~>
141
95
  - !ruby/object:Gem::Version
142
- version: 2.1.0
143
- type: :runtime
144
- prerelease: false
145
- version_requirements: *70243365171380
96
+ version: '1.3'
146
97
  - !ruby/object:Gem::Dependency
147
- name: compass
148
- requirement: &70243365170900 !ruby/object:Gem::Requirement
149
- none: false
98
+ name: sinatra-param
99
+ requirement: !ruby/object:Gem::Requirement
150
100
  requirements:
151
101
  - - ~>
152
102
  - !ruby/object:Gem::Version
153
- version: '0.11'
103
+ version: '0.1'
154
104
  type: :runtime
155
105
  prerelease: false
156
- version_requirements: *70243365170900
157
- - !ruby/object:Gem::Dependency
158
- name: sprockets
159
- requirement: &70243365170440 !ruby/object:Gem::Requirement
160
- none: false
106
+ version_requirements: !ruby/object:Gem::Requirement
161
107
  requirements:
162
108
  - - ~>
163
109
  - !ruby/object:Gem::Version
164
- version: '2.8'
165
- type: :runtime
166
- prerelease: false
167
- version_requirements: *70243365170440
110
+ version: '0.1'
168
111
  - !ruby/object:Gem::Dependency
169
- name: sprockets-sass
170
- requirement: &70243365169980 !ruby/object:Gem::Requirement
171
- none: false
112
+ name: houston
113
+ requirement: !ruby/object:Gem::Requirement
172
114
  requirements:
173
115
  - - ~>
174
116
  - !ruby/object:Gem::Version
175
- version: '0.9'
117
+ version: 0.1.1
176
118
  type: :runtime
177
119
  prerelease: false
178
- version_requirements: *70243365169980
179
- - !ruby/object:Gem::Dependency
180
- name: houston
181
- requirement: &70243365169520 !ruby/object:Gem::Requirement
182
- none: false
120
+ version_requirements: !ruby/object:Gem::Requirement
183
121
  requirements:
184
122
  - - ~>
185
123
  - !ruby/object:Gem::Version
186
124
  version: 0.1.1
187
- type: :runtime
188
- prerelease: false
189
- version_requirements: *70243365169520
190
125
  description: Generate a REST API for registering and querying push notification device
191
126
  tokens.
192
127
  email: m@mattt.me
@@ -196,69 +131,37 @@ extra_rdoc_files: []
196
131
  files:
197
132
  - ./Gemfile
198
133
  - ./Gemfile.lock
199
- - ./lib/rack/push-notification/admin.rb
200
- - ./lib/rack/push-notification/assets/images/wallpaper-clown-fish.jpg
201
- - ./lib/rack/push-notification/assets/javascripts/application.coffee
202
- - ./lib/rack/push-notification/assets/javascripts/collections/devices.coffee
203
- - ./lib/rack/push-notification/assets/javascripts/models/device.coffee
204
- - ./lib/rack/push-notification/assets/javascripts/routers/root.coffee
205
- - ./lib/rack/push-notification/assets/javascripts/rpn.coffee
206
- - ./lib/rack/push-notification/assets/javascripts/templates/_devices.jst.eco
207
- - ./lib/rack/push-notification/assets/javascripts/templates/_preview.jst.eco
208
- - ./lib/rack/push-notification/assets/javascripts/templates/compose.jst.eco
209
- - ./lib/rack/push-notification/assets/javascripts/templates/devices.jst.eco
210
- - ./lib/rack/push-notification/assets/javascripts/templates/pagination.jst.eco
211
- - ./lib/rack/push-notification/assets/javascripts/vendor/backbone.js
212
- - ./lib/rack/push-notification/assets/javascripts/vendor/backbone.paginator.js
213
- - ./lib/rack/push-notification/assets/javascripts/vendor/codemirror.javascript.js
214
- - ./lib/rack/push-notification/assets/javascripts/vendor/codemirror.js
215
- - ./lib/rack/push-notification/assets/javascripts/vendor/date.js
216
- - ./lib/rack/push-notification/assets/javascripts/vendor/jquery.js
217
- - ./lib/rack/push-notification/assets/javascripts/vendor/underscore.js
218
- - ./lib/rack/push-notification/assets/javascripts/views/compose.coffee
219
- - ./lib/rack/push-notification/assets/javascripts/views/devices.coffee
220
- - ./lib/rack/push-notification/assets/javascripts/views/pagination.coffee
221
- - ./lib/rack/push-notification/assets/stylesheets/_codemirror.sass
222
- - ./lib/rack/push-notification/assets/stylesheets/_preview.sass
223
- - ./lib/rack/push-notification/assets/stylesheets/screen.sass
224
- - ./lib/rack/push-notification/assets/views/index.haml
225
- - ./lib/rack/push-notification/device.rb
226
134
  - ./lib/rack/push-notification/migrations/001_base_schema.rb
227
135
  - ./lib/rack/push-notification/migrations/002_add_full_text_search.rb
228
- - ./lib/rack/push-notification/version.rb
136
+ - ./lib/rack/push-notification/models/device.rb
229
137
  - ./lib/rack/push-notification.rb
230
138
  - ./LICENSE
139
+ - ./rack-push-notification-0.3.0.gem
140
+ - ./rack-push-notification-0.3.1.gem
231
141
  - ./rack-push-notification.gemspec
232
142
  - ./Rakefile
233
143
  - ./README.md
234
144
  homepage: http://mattt.me
235
145
  licenses: []
146
+ metadata: {}
236
147
  post_install_message:
237
148
  rdoc_options: []
238
149
  require_paths:
239
150
  - lib
240
151
  required_ruby_version: !ruby/object:Gem::Requirement
241
- none: false
242
152
  requirements:
243
153
  - - ! '>='
244
154
  - !ruby/object:Gem::Version
245
155
  version: '0'
246
- segments:
247
- - 0
248
- hash: -324249567493366905
249
156
  required_rubygems_version: !ruby/object:Gem::Requirement
250
- none: false
251
157
  requirements:
252
158
  - - ! '>='
253
159
  - !ruby/object:Gem::Version
254
160
  version: '0'
255
- segments:
256
- - 0
257
- hash: -324249567493366905
258
161
  requirements: []
259
162
  rubyforge_project:
260
- rubygems_version: 1.8.15
163
+ rubygems_version: 2.0.3
261
164
  signing_key:
262
- specification_version: 3
165
+ specification_version: 4
263
166
  summary: Rack::PushNotification
264
167
  test_files: []