rpush_webui 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rpush_webui.yml +1 -0
- data/lib/models/notifications.rb +5 -1
- data/lib/rpush_webui/version.rb +1 -1
- data/rpush_webui.gemspec +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5dbefdd1748f572990e810abda51ce769796487
|
4
|
+
data.tar.gz: 235f094de6d86081fac02163b3480b1827e4a8b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb88088ae36be159e56cff1404d905a10d4e946c385ae66a29ceba51030e0c5630e144eca06a51b1bed16ebf2ff81143ed4b12e423cbc4ad5469e0c963e29691
|
7
|
+
data.tar.gz: 02b41725aafbc6f437d3443d1cc8cde4057e989d6d7e2f4e0ee5b2af070346b408b0e72b986926d9e7c3132202c4a4301659fb60ff0973d5f1293143e69847a1
|
@@ -0,0 +1 @@
|
|
1
|
+
rpush_config_file: './config/rpush.rb'
|
data/lib/models/notifications.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
require 'rpush'
|
2
|
-
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
config = YAML.load_file('config/rpush_webui.yml')
|
5
|
+
require config['rpush_config_file']
|
3
6
|
|
4
7
|
class Hash
|
5
8
|
def map_value
|
@@ -27,3 +30,4 @@ class Notifications
|
|
27
30
|
end
|
28
31
|
|
29
32
|
end
|
33
|
+
|
data/lib/rpush_webui/version.rb
CHANGED
data/rpush_webui.gemspec
CHANGED
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
+
spec.required_ruby_version = '~> 2.1'
|
23
|
+
|
22
24
|
spec.add_development_dependency "bundler", "~> 1.7"
|
23
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
26
|
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolay Murzin
|
@@ -207,6 +207,7 @@ files:
|
|
207
207
|
- Rakefile
|
208
208
|
- bin/rpush_webui
|
209
209
|
- config/rpush.rb
|
210
|
+
- config/rpush_webui.yml
|
210
211
|
- lib/models/notifications.rb
|
211
212
|
- lib/public/webui.js
|
212
213
|
- lib/rpush_webui.rb
|
@@ -231,9 +232,9 @@ require_paths:
|
|
231
232
|
- lib
|
232
233
|
required_ruby_version: !ruby/object:Gem::Requirement
|
233
234
|
requirements:
|
234
|
-
- - "
|
235
|
+
- - "~>"
|
235
236
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
237
|
+
version: '2.1'
|
237
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
239
|
requirements:
|
239
240
|
- - ">="
|