dalliance 0.3.3 → 0.3.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: 770b598ecda6d6367cfd24565553f708e299fafe
4
- data.tar.gz: 35655132bdd46cc7f08c158f62ee7317639a23cc
3
+ metadata.gz: 267405e920c6dfe198292f8ae05498c00494b34b
4
+ data.tar.gz: ad7ffd0ee48511a8121a68def129eb8ac8ccb6f9
5
5
  SHA512:
6
- metadata.gz: 64e6db3bd0dd227225e6fb19478f12dab7ba5eeb6c61ba93b1f3e16f0a7f663989e841f352bc4928194564fe37dc70be43eabd8ace1b2d40b2ca78ad024b3b2f
7
- data.tar.gz: 4548bf3c28267439d47e7a35d7ce3c18dcb0366d8ab90044e037e283f5a00e4163839de39c61e6c1738a9f8c3fcab024cebdb86e696e3cd25b8c1d4d668d919c
6
+ metadata.gz: 67b7ba61c97d54b59a5c11b83fee1e735ff43ac1b6c8f5998f6f102395eee408a099a05a66ea3c4aed7d871fd7ed4a24492efd9155abd5464afe65b109d54f46
7
+ data.tar.gz: a331099ddaf02e82c158ff928ad8a4a3cbf8ebd5aa19ea2aaa98593dc80574f6e6977bcd0b51bea715c75a3c4a9d70b26f35615deb2a798bf1e4804c6d2040ab
data/Appraisals CHANGED
@@ -1,7 +1,3 @@
1
- appraise "rails-3.1" do
2
- gem "rails", "~> 3.1.0"
3
- end
4
-
5
1
  appraise "rails-3.2" do
6
2
  gem "rails", "~> 3.2.0"
7
3
  end
@@ -13,3 +9,7 @@ end
13
9
  appraise "rails-4.1" do
14
10
  gem "rails", "~> 4.1.0"
15
11
  end
12
+
13
+ appraise "rails-4.2" do
14
+ gem "rails", "~> 4.2.0"
15
+ end
data/dalliance.gemspec CHANGED
@@ -18,8 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency('activerecord', '>= 3.1', "< 4.2")
22
- s.add_dependency('activesupport', '>= 3.1', "< 4.2")
21
+ s.add_dependency('rails', '>= 3.2', "< 5.0")
23
22
 
24
23
  s.add_dependency('state_machine')
25
24
 
@@ -5,4 +5,8 @@ source "http://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "rails", "~> 3.1.0"
7
7
 
8
+ group :development, :test do
9
+ gem "byebug"
10
+ end
11
+
8
12
  gemspec :path => "../"
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- dalliance (0.3.0)
5
- activerecord (>= 3.1, < 4.2)
6
- activesupport (>= 3.1, < 4.2)
4
+ dalliance (0.3.3)
5
+ activerecord (>= 3.1, < 5.0)
6
+ activesupport (>= 3.1, < 5.0)
7
7
  state_machine
8
8
 
9
9
  GEM
@@ -43,6 +43,7 @@ GEM
43
43
  thor (>= 0.14.0)
44
44
  arel (2.2.3)
45
45
  builder (3.0.4)
46
+ byebug (9.0.5)
46
47
  delayed_job (4.0.6)
47
48
  activesupport (>= 3.0, < 5.0)
48
49
  delayed_job_active_record (4.0.3)
@@ -135,6 +136,7 @@ PLATFORMS
135
136
 
136
137
  DEPENDENCIES
137
138
  appraisal
139
+ byebug
138
140
  dalliance!
139
141
  delayed_job (>= 3.0.0)
140
142
  delayed_job_active_record
@@ -142,3 +144,6 @@ DEPENDENCIES
142
144
  resque
143
145
  rspec (>= 3.0.0)
144
146
  sqlite3
147
+
148
+ BUNDLED WITH
149
+ 1.13.1
@@ -5,4 +5,8 @@ source "http://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "rails", "~> 3.2.0"
7
7
 
8
+ group :development, :test do
9
+ gem "byebug"
10
+ end
11
+
8
12
  gemspec :path => "../"
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- dalliance (0.3.0)
5
- activerecord (>= 3.1, < 4.2)
6
- activesupport (>= 3.1, < 4.2)
4
+ dalliance (0.3.4)
5
+ rails (>= 3.2, < 5.0)
7
6
  state_machine
8
7
 
9
8
  GEM
@@ -42,6 +41,7 @@ GEM
42
41
  thor (>= 0.14.0)
43
42
  arel (3.0.3)
44
43
  builder (3.0.4)
44
+ byebug (9.0.5)
45
45
  delayed_job (4.0.6)
46
46
  activesupport (>= 3.0, < 5.0)
47
47
  delayed_job_active_record (4.0.3)
@@ -133,6 +133,7 @@ PLATFORMS
133
133
 
134
134
  DEPENDENCIES
135
135
  appraisal
136
+ byebug
136
137
  dalliance!
137
138
  delayed_job (>= 3.0.0)
138
139
  delayed_job_active_record
@@ -140,3 +141,6 @@ DEPENDENCIES
140
141
  resque
141
142
  rspec (>= 3.0.0)
142
143
  sqlite3
144
+
145
+ BUNDLED WITH
146
+ 1.13.1
@@ -5,4 +5,8 @@ source "http://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "rails", "~> 4.0.0"
7
7
 
8
+ group :development, :test do
9
+ gem "byebug"
10
+ end
11
+
8
12
  gemspec :path => "../"
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- dalliance (0.3.0)
5
- activerecord (>= 3.1, < 4.2)
6
- activesupport (>= 3.1, < 4.2)
4
+ dalliance (0.3.4)
5
+ rails (>= 3.2, < 5.0)
7
6
  state_machine
8
7
 
9
8
  GEM
@@ -39,6 +38,7 @@ GEM
39
38
  thor (>= 0.14.0)
40
39
  arel (4.0.2)
41
40
  builder (3.1.4)
41
+ byebug (9.0.5)
42
42
  delayed_job (4.0.6)
43
43
  activesupport (>= 3.0, < 5.0)
44
44
  delayed_job_active_record (4.0.3)
@@ -121,6 +121,7 @@ PLATFORMS
121
121
 
122
122
  DEPENDENCIES
123
123
  appraisal
124
+ byebug
124
125
  dalliance!
125
126
  delayed_job (>= 3.0.0)
126
127
  delayed_job_active_record
@@ -128,3 +129,6 @@ DEPENDENCIES
128
129
  resque
129
130
  rspec (>= 3.0.0)
130
131
  sqlite3
132
+
133
+ BUNDLED WITH
134
+ 1.13.1
@@ -5,4 +5,8 @@ source "http://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "rails", "~> 4.1.0"
7
7
 
8
+ group :development, :test do
9
+ gem "byebug"
10
+ end
11
+
8
12
  gemspec :path => "../"
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- dalliance (0.3.0)
5
- activerecord (>= 3.1, < 4.2)
6
- activesupport (>= 3.1, < 4.2)
4
+ dalliance (0.3.4)
5
+ rails (>= 3.2, < 5.0)
7
6
  state_machine
8
7
 
9
8
  GEM
@@ -41,6 +40,7 @@ GEM
41
40
  thor (>= 0.14.0)
42
41
  arel (5.0.1.20140414130214)
43
42
  builder (3.2.2)
43
+ byebug (9.0.5)
44
44
  delayed_job (4.0.6)
45
45
  activesupport (>= 3.0, < 5.0)
46
46
  delayed_job_active_record (4.0.3)
@@ -127,6 +127,7 @@ PLATFORMS
127
127
 
128
128
  DEPENDENCIES
129
129
  appraisal
130
+ byebug
130
131
  dalliance!
131
132
  delayed_job (>= 3.0.0)
132
133
  delayed_job_active_record
@@ -134,3 +135,6 @@ DEPENDENCIES
134
135
  resque
135
136
  rspec (>= 3.0.0)
136
137
  sqlite3
138
+
139
+ BUNDLED WITH
140
+ 1.13.1
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "rails", "~> 4.2.0"
7
+
8
+ group :development, :test do
9
+ gem "byebug"
10
+ end
11
+
12
+ gemspec :path => "../"
@@ -0,0 +1,168 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ dalliance (0.3.4)
5
+ rails (>= 3.2, < 5.0)
6
+ state_machine
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (4.2.7.1)
12
+ actionpack (= 4.2.7.1)
13
+ actionview (= 4.2.7.1)
14
+ activejob (= 4.2.7.1)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ actionpack (4.2.7.1)
18
+ actionview (= 4.2.7.1)
19
+ activesupport (= 4.2.7.1)
20
+ rack (~> 1.6)
21
+ rack-test (~> 0.6.2)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
+ actionview (4.2.7.1)
25
+ activesupport (= 4.2.7.1)
26
+ builder (~> 3.1)
27
+ erubis (~> 2.7.0)
28
+ rails-dom-testing (~> 1.0, >= 1.0.5)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ activejob (4.2.7.1)
31
+ activesupport (= 4.2.7.1)
32
+ globalid (>= 0.3.0)
33
+ activemodel (4.2.7.1)
34
+ activesupport (= 4.2.7.1)
35
+ builder (~> 3.1)
36
+ activerecord (4.2.7.1)
37
+ activemodel (= 4.2.7.1)
38
+ activesupport (= 4.2.7.1)
39
+ arel (~> 6.0)
40
+ activesupport (4.2.7.1)
41
+ i18n (~> 0.7)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.3, >= 0.3.4)
45
+ tzinfo (~> 1.1)
46
+ appraisal (2.1.0)
47
+ bundler
48
+ rake
49
+ thor (>= 0.14.0)
50
+ arel (6.0.3)
51
+ builder (3.2.2)
52
+ byebug (9.0.5)
53
+ concurrent-ruby (1.0.2)
54
+ delayed_job (4.1.2)
55
+ activesupport (>= 3.0, < 5.1)
56
+ delayed_job_active_record (4.1.1)
57
+ activerecord (>= 3.0, < 5.1)
58
+ delayed_job (>= 3.0, < 5)
59
+ diff-lcs (1.2.5)
60
+ erubis (2.7.0)
61
+ globalid (0.3.7)
62
+ activesupport (>= 4.1.0)
63
+ i18n (0.7.0)
64
+ json (1.8.3)
65
+ loofah (2.0.3)
66
+ nokogiri (>= 1.5.9)
67
+ mail (2.6.4)
68
+ mime-types (>= 1.16, < 4)
69
+ mime-types (3.1)
70
+ mime-types-data (~> 3.2015)
71
+ mime-types-data (3.2016.0521)
72
+ mini_portile2 (2.1.0)
73
+ minitest (5.9.0)
74
+ mono_logger (1.1.0)
75
+ multi_json (1.12.1)
76
+ nokogiri (1.6.8)
77
+ mini_portile2 (~> 2.1.0)
78
+ pkg-config (~> 1.1.7)
79
+ pkg-config (1.1.7)
80
+ rack (1.6.4)
81
+ rack-protection (1.5.3)
82
+ rack
83
+ rack-test (0.6.3)
84
+ rack (>= 1.0)
85
+ rails (4.2.7.1)
86
+ actionmailer (= 4.2.7.1)
87
+ actionpack (= 4.2.7.1)
88
+ actionview (= 4.2.7.1)
89
+ activejob (= 4.2.7.1)
90
+ activemodel (= 4.2.7.1)
91
+ activerecord (= 4.2.7.1)
92
+ activesupport (= 4.2.7.1)
93
+ bundler (>= 1.3.0, < 2.0)
94
+ railties (= 4.2.7.1)
95
+ sprockets-rails
96
+ rails-deprecated_sanitizer (1.0.3)
97
+ activesupport (>= 4.2.0.alpha)
98
+ rails-dom-testing (1.0.7)
99
+ activesupport (>= 4.2.0.beta, < 5.0)
100
+ nokogiri (~> 1.6.0)
101
+ rails-deprecated_sanitizer (>= 1.0.1)
102
+ rails-html-sanitizer (1.0.3)
103
+ loofah (~> 2.0)
104
+ railties (4.2.7.1)
105
+ actionpack (= 4.2.7.1)
106
+ activesupport (= 4.2.7.1)
107
+ rake (>= 0.8.7)
108
+ thor (>= 0.18.1, < 2.0)
109
+ rake (11.2.2)
110
+ redis (3.3.1)
111
+ redis-namespace (1.5.2)
112
+ redis (~> 3.0, >= 3.0.4)
113
+ resque (1.26.0)
114
+ mono_logger (~> 1.0)
115
+ multi_json (~> 1.0)
116
+ redis-namespace (~> 1.3)
117
+ sinatra (>= 0.9.2)
118
+ vegas (~> 0.1.2)
119
+ rspec (3.5.0)
120
+ rspec-core (~> 3.5.0)
121
+ rspec-expectations (~> 3.5.0)
122
+ rspec-mocks (~> 3.5.0)
123
+ rspec-core (3.5.3)
124
+ rspec-support (~> 3.5.0)
125
+ rspec-expectations (3.5.0)
126
+ diff-lcs (>= 1.2.0, < 2.0)
127
+ rspec-support (~> 3.5.0)
128
+ rspec-mocks (3.5.0)
129
+ diff-lcs (>= 1.2.0, < 2.0)
130
+ rspec-support (~> 3.5.0)
131
+ rspec-support (3.5.0)
132
+ sinatra (1.4.7)
133
+ rack (~> 1.5)
134
+ rack-protection (~> 1.4)
135
+ tilt (>= 1.3, < 3)
136
+ sprockets (3.7.0)
137
+ concurrent-ruby (~> 1.0)
138
+ rack (> 1, < 3)
139
+ sprockets-rails (3.2.0)
140
+ actionpack (>= 4.0)
141
+ activesupport (>= 4.0)
142
+ sprockets (>= 3.0.0)
143
+ sqlite3 (1.3.11)
144
+ state_machine (1.2.0)
145
+ thor (0.19.1)
146
+ thread_safe (0.3.5)
147
+ tilt (2.0.5)
148
+ tzinfo (1.2.2)
149
+ thread_safe (~> 0.1)
150
+ vegas (0.1.11)
151
+ rack (>= 1.0.0)
152
+
153
+ PLATFORMS
154
+ ruby
155
+
156
+ DEPENDENCIES
157
+ appraisal
158
+ byebug
159
+ dalliance!
160
+ delayed_job (>= 3.0.0)
161
+ delayed_job_active_record
162
+ rails (~> 4.2.0)
163
+ resque
164
+ rspec (>= 3.0.0)
165
+ sqlite3
166
+
167
+ BUNDLED WITH
168
+ 1.13.1
data/lib/dalliance.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'rails'
2
+
1
3
  require 'state_machine'
2
4
  require 'benchmark'
3
5
 
@@ -168,7 +170,11 @@ module Dalliance
168
170
 
169
171
  self.dalliance_error_hash = { error: 'Persistance Failure: See Logs' }
170
172
 
171
- self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash.to_yaml )
173
+ if defined?(Rails) && ::Rails::VERSION::MAJOR > 3
174
+ self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash )
175
+ else
176
+ self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash.to_yaml )
177
+ end
172
178
  rescue
173
179
  end
174
180
  end
@@ -232,7 +238,11 @@ module Dalliance
232
238
 
233
239
  self.dalliance_error_hash = { error: 'Persistance Failure: See Logs' }
234
240
 
235
- self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash.to_yaml )
241
+ if defined?(Rails) && ::Rails::VERSION::MAJOR > 3
242
+ self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash )
243
+ else
244
+ self.class.where(id: self.id).update_all(dalliance_status: dalliance_status, dalliance_error_hash: dalliance_error_hash.to_yaml )
245
+ end
236
246
  rescue
237
247
  end
238
248
  end
@@ -2,7 +2,7 @@ module Dalliance
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 3
5
+ TINY = 4
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -1,18 +1,37 @@
1
1
  module Dalliance
2
2
  module Workers
3
- class DelayedJob < Struct.new(:instance_klass, :instance_id)
4
- def self.enqueue(instance, queue = 'dalliance')
5
- ::Delayed::Job.enqueue(self.new(instance.class.name, instance.id), :queue => queue)
6
- end
3
+ if defined?(Rails) && ::Rails::VERSION::MAJOR == 4 && ::Rails::VERSION::MINOR >= 2
4
+ class DelayedJob < ::ActiveJob::Base
5
+ queue_as :dalliance
6
+
7
+ def self.enqueue(instance, queue = 'dalliance')
8
+ Dalliance::Workers::DelayedJob.set(queue: queue).perform_later(instance.class.name, instance.id)
9
+ end
7
10
 
8
- def perform
9
- instance_klass.constantize.find(instance_id).dalliance_process(true)
11
+ def perform(instance_klass, instance_id)
12
+ instance_klass.constantize.find(instance_id).dalliance_process(true)
13
+ end
14
+
15
+ #Delayed job automatically retries, so rescue the error
16
+ def self.rescue_error?
17
+ true
18
+ end
10
19
  end
20
+ else
21
+ class DelayedJob < Struct.new(:instance_klass, :instance_id)
22
+ def self.enqueue(instance, queue = 'dalliance')
23
+ ::Delayed::Job.enqueue(self.new(instance.class.name, instance.id), :queue => queue)
24
+ end
25
+
26
+ def perform
27
+ instance_klass.constantize.find(instance_id).dalliance_process(true)
28
+ end
11
29
 
12
- #Delayed job automatically retries, so rescue the error
13
- def self.rescue_error?
14
- true
30
+ #Delayed job automatically retries, so rescue the error
31
+ def self.rescue_error?
32
+ true
33
+ end
15
34
  end
16
35
  end
17
36
  end
18
- end
37
+ end
@@ -1,18 +1,37 @@
1
1
  module Dalliance
2
2
  module Workers
3
- class Resque
4
- def self.enqueue(instance, queue = 'dalliance')
5
- ::Resque.enqueue_to(queue, self, instance.class.name, instance.id)
6
- end
3
+ if defined?(Rails) && ::Rails::VERSION::MAJOR == 4 && ::Rails::VERSION::MINOR >= 2
4
+ class Resque < ::ActiveJob::Base
5
+ queue_as :dalliance
6
+
7
+ def self.enqueue(instance, queue = 'dalliance')
8
+ Dalliance::Workers::Resque.set(queue: queue).perform_later(instance.class.name, instance.id)
9
+ end
7
10
 
8
- def self.perform(instance_klass, instance_id)
9
- instance_klass.constantize.find(instance_id).dalliance_process(true)
11
+ def perform(instance_klass, instance_id)
12
+ instance_klass.constantize.find(instance_id).dalliance_process(true)
13
+ end
14
+
15
+ #Resque fails, so don't rescue the error
16
+ def self.rescue_error?
17
+ false
18
+ end
10
19
  end
20
+ else
21
+ class Resque
22
+ def self.enqueue(instance, queue = 'dalliance')
23
+ ::Resque.enqueue_to(queue, self, instance.class.name, instance.id)
24
+ end
25
+
26
+ def self.perform(instance_klass, instance_id)
27
+ instance_klass.constantize.find(instance_id).dalliance_process(true)
28
+ end
11
29
 
12
- #Resque fails, so don't rescue the error
13
- def self.rescue_error?
14
- false
30
+ #Resque fails, so don't rescue the error
31
+ def self.rescue_error?
32
+ false
33
+ end
15
34
  end
16
35
  end
17
36
  end
18
- end
37
+ end
@@ -5,6 +5,9 @@ RSpec.describe DallianceModel do
5
5
 
6
6
  before(:all) do
7
7
  DallianceModel.dalliance_options[:background_processing] = true
8
+ if defined?(ActiveJob)
9
+ ActiveJob::Base.queue_adapter = :delayed_job
10
+ end
8
11
  end
9
12
 
10
13
  before do
@@ -5,6 +5,9 @@ RSpec.describe DallianceModel do
5
5
 
6
6
  before(:all) do
7
7
  DallianceModel.dalliance_options[:background_processing] = true
8
+ if defined?(ActiveJob)
9
+ ActiveJob::Base.queue_adapter = :resque
10
+ end
8
11
  end
9
12
 
10
13
  before do
data/spec/spec_helper.rb CHANGED
@@ -3,6 +3,12 @@ require 'bundler/setup'
3
3
 
4
4
  #Automatically included in a rails app...
5
5
  require 'active_support'
6
+
7
+ begin
8
+ require 'active_job'
9
+ rescue LoadError
10
+ end
11
+
6
12
  require 'state_machine'
7
13
  require 'byebug'
8
14
 
metadata CHANGED
@@ -1,55 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalliance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sullivan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activerecord
14
+ name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '4.2'
22
+ version: '5.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '3.1'
29
+ version: '3.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '4.2'
33
- - !ruby/object:Gem::Dependency
34
- name: activesupport
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '3.1'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '4.2'
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: '3.1'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '4.2'
32
+ version: '5.0'
53
33
  - !ruby/object:Gem::Dependency
54
34
  name: state_machine
55
35
  requirement: !ruby/object:Gem::Requirement
@@ -159,6 +139,8 @@ files:
159
139
  - gemfiles/rails_4.0.gemfile.lock
160
140
  - gemfiles/rails_4.1.gemfile
161
141
  - gemfiles/rails_4.1.gemfile.lock
142
+ - gemfiles/rails_4.2.gemfile
143
+ - gemfiles/rails_4.2.gemfile.lock
162
144
  - lib/dalliance.rb
163
145
  - lib/dalliance/engine.rb
164
146
  - lib/dalliance/progress_meter.rb
@@ -197,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
179
  version: '0'
198
180
  requirements: []
199
181
  rubyforge_project: dalliance
200
- rubygems_version: 2.4.5
182
+ rubygems_version: 2.4.5.1
201
183
  signing_key:
202
184
  specification_version: 4
203
185
  summary: Wrapper for an ActiveRecord model with a single ascynhronous method