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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cfa262d5a7e0dd4280c2aabd48dbbf87a2dbfb6
4
- data.tar.gz: 916ba67878020e414c788b5c24d81dfdccdb8681
3
+ metadata.gz: b5dbefdd1748f572990e810abda51ce769796487
4
+ data.tar.gz: 235f094de6d86081fac02163b3480b1827e4a8b0
5
5
  SHA512:
6
- metadata.gz: 90ce4b94ec65c79a3c55f607daf0198d2c21ca7f12e904d6325c66c1faae46cd795a6dbb7f5fba83a1ca09270db72eff85d62b28e9ef630484616dec83d66082
7
- data.tar.gz: 66f0dbf6f1c72a71693d136d6f4cf748d71284995857397a9d5a05b434769afd8c3331d33b47918cd3cfaa8eaaac8b000156d1ba6aeaf082a4d67d1d62cbc3f5
6
+ metadata.gz: eb88088ae36be159e56cff1404d905a10d4e946c385ae66a29ceba51030e0c5630e144eca06a51b1bed16ebf2ff81143ed4b12e423cbc4ad5469e0c963e29691
7
+ data.tar.gz: 02b41725aafbc6f437d3443d1cc8cde4057e989d6d7e2f4e0ee5b2af070346b408b0e72b986926d9e7c3132202c4a4301659fb60ff0973d5f1293143e69847a1
@@ -0,0 +1 @@
1
+ rpush_config_file: './config/rpush.rb'
@@ -1,5 +1,8 @@
1
1
  require 'rpush'
2
- require_relative '../../config/rpush'
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
+
@@ -1,3 +1,3 @@
1
1
  module RpushWebui
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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: '0'
237
+ version: '2.1'
237
238
  required_rubygems_version: !ruby/object:Gem::Requirement
238
239
  requirements:
239
240
  - - ">="