wisper-activejob 0.0.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d53bfc83e3f730594c5fbe2dee7a2060048c5d58
4
- data.tar.gz: 2d0422efceea8383a6b272605b91fa0e7bfd332f
3
+ metadata.gz: d3229347ead9bc8634818ae822e3a8b162e9a9f0
4
+ data.tar.gz: 3877ba7b06492e62be75e573f2720e0317ba13db
5
5
  SHA512:
6
- metadata.gz: 6e0af56c4c170aff4d6600c236a1e2510d299634a3c39fc60c694826e3da69b53d1695980facc23585b17575a5d9d441a721de6dba14eb524c6cdf8da7855fe0
7
- data.tar.gz: e73d9bafb37b73eef97be2cbd168870c20555774f726ee3847e1a4acf0186c208ae8c91341fca99544f2c30984903df9f1ec0a821af1ac65541793ee7ac03fe1
6
+ metadata.gz: 31013a4b4a18020928456553c9a34f612d23e8cabfbe71c89abb8639f61ebf67f93345cccacaae4de659bc96216357cb1d39b89e31676db787dfe7dd9b58330f
7
+ data.tar.gz: aff523a278d6d6c7da2e19cf581580308cb6e15152b5bd2a328b4501217d20c13fc4e0c3ede068e4a97d2188a3d8f962c544a0d04fcfc80a19d3211b5fa31a51
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ /.gem
@@ -1 +1 @@
1
- 2.2
1
+ 2.4
@@ -1,6 +1,10 @@
1
1
  language: ruby
2
+ before_install:
3
+ - gem update bundler
2
4
  script: rspec spec
3
- bundler_args: --without=extras
5
+ sudo: false
6
+ gemfile:
7
+ - gemfiles/activejob-4.0
8
+ - gemfiles/activejob-5.0
4
9
  rvm:
5
- - rbx-2
6
- - 2.2
10
+ - '2.4.0'
data/README.md CHANGED
@@ -56,7 +56,5 @@ your idea first.
56
56
 
57
57
  * Bump VERSION
58
58
  * Push to master
59
- * git tag -a 'v<VERSION>' -m 'v<VERSION>'
60
- * git push --tags
61
59
  * rake build
62
60
  * rake release
@@ -0,0 +1,10 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activejob', '~> 4.0'
6
+
7
+ gem 'bundler'
8
+ gem 'rake'
9
+ gem 'rspec'
10
+ gem 'coveralls', require: false
@@ -0,0 +1,10 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activejob', '~> 5.0'
6
+
7
+ gem 'bundler'
8
+ gem 'rake'
9
+ gem 'rspec'
10
+ gem 'coveralls', require: false
@@ -1,5 +1,4 @@
1
1
  require 'wisper/active_job/version'
2
- # require 'active_job'
3
- require 'rails/all'
2
+ require 'active_job'
4
3
  require 'wisper'
5
4
  require 'wisper/active_job_broadcaster'
@@ -1,5 +1,5 @@
1
1
  module Wisper
2
2
  module ActiveJob
3
- VERSION = "0.0.2"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -1,7 +1,6 @@
1
1
  require 'wisper'
2
2
  require 'wisper/active_job/version'
3
- # require 'active_job'
4
- require 'rails/all'
3
+ require 'active_job'
5
4
 
6
5
  module Wisper
7
6
  class ActiveJobBroadcaster
@@ -1,5 +1,3 @@
1
- require 'wisper/active_job'
2
-
3
1
  RSpec.describe 'configuration' do
4
2
  let(:configuration) { Wisper.configuration }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'wisper/active_job'
2
-
3
1
  RSpec.describe 'integration tests:' do
4
2
  let(:publisher) do
5
3
  Class.new do
@@ -5,6 +5,11 @@ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
5
5
 
6
6
  SimpleCov.start
7
7
 
8
+ require 'wisper/active_job'
9
+
10
+ puts "Using ActiveJob version #{ActiveJob::VERSION::STRING}"
11
+ puts
12
+
8
13
  RSpec.configure do |config|
9
14
  config.expect_with :rspec do |expectations|
10
15
  expectations.include_chain_clauses_in_custom_matcher_descriptions = true
@@ -21,6 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency 'wisper'
24
- # spec.add_dependency 'activejob'
25
- spec.add_dependency 'rails', '~>4.2'
24
+ spec.add_dependency 'activejob', '>= 4.0.0'
26
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wisper-activejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Leech
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2017-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wisper
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rails
28
+ name: activejob
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.2'
33
+ version: 4.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '4.2'
40
+ version: 4.0.0
41
41
  description: Provides Wisper with asynchronous event publishing using ActiveJob
42
42
  email:
43
43
  - kris.leech@gmail.com
@@ -53,6 +53,8 @@ files:
53
53
  - LICENSE.txt
54
54
  - README.md
55
55
  - Rakefile
56
+ - gemfiles/activejob-4.0
57
+ - gemfiles/activejob-5.0
56
58
  - lib/wisper/active_job.rb
57
59
  - lib/wisper/active_job/version.rb
58
60
  - lib/wisper/active_job_broadcaster.rb
@@ -81,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
83
  version: '0'
82
84
  requirements: []
83
85
  rubyforge_project:
84
- rubygems_version: 2.4.5
86
+ rubygems_version: 2.6.8
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: Provides Wisper with asynchronous event publishing using ActiveJob