rails_push_queues 0.0.1 → 0.0.2

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: 1d96f489fcddfb2ec0943cb5588349d066c1303f
4
- data.tar.gz: 98f66e59ee6ba9067ff817174d0f4bbe6a8346e8
3
+ metadata.gz: d46b09ef2e2f78707f75cc07ed4d93b12fb5eb48
4
+ data.tar.gz: c22924e57e7865334879f6db9fc5ce35f3aab412
5
5
  SHA512:
6
- metadata.gz: 74ae3aba50afb3b8292df3008ee888fca96bdaeccb6ffe5ec13fd147f32bbe52d1161414fd44204ac82168eef006c8771e8c0d97a6a4087ebf2297df2144e322
7
- data.tar.gz: df8628f51b82e35059e9795ff8a0c044ee21aec4ebb25114cd26adfc26c5fc296b1f976e43a9d4052100fe404d22f6a6e19dc35374ed32be594e71c76bfe6127
6
+ metadata.gz: cbc2ae58ece7410f8890b1d1e760ed5155ad236dcc5d49c510d54efc0105b1f66f3ed29b9b620308a0c35103292c7d5a15b6e2510326d6acad1e46999041812b
7
+ data.tar.gz: 19f99c8e7404646f5301ffeb34adf1de2c101b3ecc6a66d882928b63bba6dd0785f826b377442a982933238e707e6aa40370c63530c44b689703ca1e382fda7f
data/README.md CHANGED
@@ -6,12 +6,7 @@ You can easily use Resque and/or Sidekiq workers without change.
6
6
 
7
7
  ## Set Iron configs
8
8
 
9
- In the environment config file, set:
10
-
11
- ```
12
- config.iron_token = 'X'
13
- config.iron_project_id = 'Y'
14
- ```
9
+ LINK TO iron config stuff, iron.json or ENV vars.
15
10
 
16
11
  ## Register the workers
17
12
 
@@ -6,10 +6,10 @@ module RailsPushQueues
6
6
 
7
7
  initializer "RailsPushQueues.init" do |app|
8
8
  puts "CONFIG STUFF:"
9
- RailsPushQueues.iron_token = app.config.iron_token
10
- RailsPushQueues.iron_project_id = app.config.iron_project_id
9
+ # RailsPushQueues.iron_token = app.config.iron_token
10
+ # RailsPushQueues.iron_project_id = app.config.iron_project_id
11
11
 
12
- RailsPushQueues.comm = RailsPushQueues::Comm.new
12
+ RailsPushQueues.comm = RailsPushQueues::QueueComm.new
13
13
 
14
14
  end
15
15
  end
@@ -1,3 +1,5 @@
1
+ require 'iron_mq'
2
+
1
3
  module RailsPushQueues
2
4
 
3
5
  def self.queue_job(clz, *args)
@@ -1,3 +1,3 @@
1
1
  module RailsPushQueues
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_push_queues
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: iron_mq
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 5.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 5.0.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: sqlite3
29
43
  requirement: !ruby/object:Gem::Requirement