rpush_webui 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc4a04094fcfebaff4a2cf3d7908945f67abe33a
4
- data.tar.gz: 1027940d63d63e43d03f858f1daac773c94ca6ce
3
+ metadata.gz: 032fa026b8756383d13c6679b218f76c03982a18
4
+ data.tar.gz: 1779473c22fe9cadfc998950d45da361d4a423b8
5
5
  SHA512:
6
- metadata.gz: 0034d92d68a83c26585c71a8226a26508ecb5aabebb5ffbb390904661718b92b52cc57d5688eefa968b966557dc80c8119357dc1c7e61ad7d7a735fc66514724
7
- data.tar.gz: 7ee363cb78f34f20b9105ca8b32bf14f8c1b15b9ad4d7463878a077cfc583b26c62c9a04ea1a97e294c1fb0ee82749cf71a87f8e4e926ffa3e0f70aa3fe67eef
6
+ metadata.gz: 062a222ff5b02f53f6d0134c331905bcc6b11ef6b1c4413d5b942b9ead21d94705f6623264dc4dfe22a9cd2675ec4f4175c7e3560522e23bfccd20030afd3913
7
+ data.tar.gz: 7bb9d552a09b0a50799416406eebcee3b4c4e93400e08e9a2b76320e4c173dddf14cf5e3ea27cbf1346a88c47a6ae8462ff577b07b83cc4986bac4c688b8de4d
data/.gitignore CHANGED
@@ -4,3 +4,4 @@
4
4
  *.un~
5
5
  *.swp
6
6
  /log
7
+ *.gem
data/bin/rpush_webui ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ begin
4
+ require 'rubygems'
5
+ require 'webui.rb'
6
+ end
@@ -1,3 +1,3 @@
1
1
  module RpushWebui
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/webui.rb CHANGED
@@ -16,3 +16,4 @@ get '/data/:start_at/:finish_at/:to' do
16
16
  notifications = Notifications.new dt: dt, start_at: start_at, finish_at: finish_at
17
17
  json notifications.data
18
18
  end
19
+
data/rpush_webui.gemspec CHANGED
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.default_executable = 'rpush_webui'
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
20
  spec.require_paths = ["lib"]
20
21
 
@@ -32,5 +33,5 @@ Gem::Specification.new do |spec|
32
33
  spec.add_dependency 'rpush-redis', '~> 0.4'
33
34
  spec.add_dependency 'sinatra', '~> 1.4'
34
35
  spec.add_dependency 'sinatra-contrib', '~> 1.4'
35
- spec.add_dependency 'slim', '~> 3.0'
36
+ spec.add_dependency 'slim', '~> 2.0'
36
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpush_webui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Murzin
@@ -184,18 +184,19 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '3.0'
187
+ version: '2.0'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '3.0'
194
+ version: '2.0'
195
195
  description: Plots of push notifications.
196
196
  email:
197
197
  - murzin.nikolay@gmail.com
198
- executables: []
198
+ executables:
199
+ - rpush_webui
199
200
  extensions: []
200
201
  extra_rdoc_files: []
201
202
  files:
@@ -204,6 +205,7 @@ files:
204
205
  - LICENSE.txt
205
206
  - README.md
206
207
  - Rakefile
208
+ - bin/rpush_webui
207
209
  - config/rpush.rb
208
210
  - lib/models/notifications.rb
209
211
  - lib/public/webui.js