dalliance 0.5.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +107 -0
  3. data/Appraisals +10 -14
  4. data/Gemfile +1 -1
  5. data/README.rdoc +13 -1
  6. data/dalliance.gemspec +4 -4
  7. data/gemfiles/rails_5.0.gemfile +1 -1
  8. data/gemfiles/rails_5.0.gemfile.lock +116 -89
  9. data/gemfiles/rails_5.1.gemfile +1 -1
  10. data/gemfiles/rails_5.1.gemfile.lock +115 -88
  11. data/gemfiles/{rails_4.2.gemfile → rails_5.2.gemfile} +2 -2
  12. data/gemfiles/rails_5.2.gemfile.lock +209 -0
  13. data/gemfiles/{rails_4.0.gemfile → rails_6.0.gemfile} +2 -2
  14. data/gemfiles/rails_6.0.gemfile.lock +225 -0
  15. data/gemfiles/{rails_3.2.gemfile → rails_6.1.gemfile} +2 -2
  16. data/gemfiles/rails_6.1.gemfile.lock +233 -0
  17. data/lib/dalliance.rb +83 -22
  18. data/lib/dalliance/engine.rb +1 -1
  19. data/lib/dalliance/progress_meter.rb +5 -5
  20. data/lib/dalliance/version.rb +2 -2
  21. data/lib/dalliance/workers/delayed_job.rb +20 -9
  22. data/lib/dalliance/workers/resque.rb +17 -9
  23. data/spec/dalliance/asynchronous_delayed_job_spec.rb +42 -0
  24. data/spec/dalliance/asynchronous_resque_spec.rb +54 -0
  25. data/spec/dalliance/dalliance_spec.rb +2 -2
  26. data/spec/dalliance/synchronous_spec.rb +56 -1
  27. data/spec/spec_helper.rb +2 -0
  28. data/spec/support/active_record.rb +7 -1
  29. metadata +60 -21
  30. data/gemfiles/rails_3.1.gemfile +0 -12
  31. data/gemfiles/rails_3.1.gemfile.lock +0 -149
  32. data/gemfiles/rails_3.2.gemfile.lock +0 -146
  33. data/gemfiles/rails_4.0.gemfile.lock +0 -134
  34. data/gemfiles/rails_4.1.gemfile +0 -12
  35. data/gemfiles/rails_4.1.gemfile.lock +0 -140
  36. data/gemfiles/rails_4.2.gemfile.lock +0 -168
@@ -1,134 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- dalliance (0.4.0)
5
- rails (>= 3.2, <= 5.1.4)
6
- state_machine
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- actionmailer (4.0.13)
12
- actionpack (= 4.0.13)
13
- mail (~> 2.5, >= 2.5.4)
14
- actionpack (4.0.13)
15
- activesupport (= 4.0.13)
16
- builder (~> 3.1.0)
17
- erubis (~> 2.7.0)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- activemodel (4.0.13)
21
- activesupport (= 4.0.13)
22
- builder (~> 3.1.0)
23
- activerecord (4.0.13)
24
- activemodel (= 4.0.13)
25
- activerecord-deprecated_finders (~> 1.0.2)
26
- activesupport (= 4.0.13)
27
- arel (~> 4.0.0)
28
- activerecord-deprecated_finders (1.0.3)
29
- activesupport (4.0.13)
30
- i18n (~> 0.6, >= 0.6.9)
31
- minitest (~> 4.2)
32
- multi_json (~> 1.3)
33
- thread_safe (~> 0.1)
34
- tzinfo (~> 0.3.37)
35
- appraisal (1.0.2)
36
- bundler
37
- rake
38
- thor (>= 0.14.0)
39
- arel (4.0.2)
40
- builder (3.1.4)
41
- byebug (9.0.5)
42
- delayed_job (4.0.6)
43
- activesupport (>= 3.0, < 5.0)
44
- delayed_job_active_record (4.0.3)
45
- activerecord (>= 3.0, < 5.0)
46
- delayed_job (>= 3.0, < 4.1)
47
- diff-lcs (1.2.5)
48
- erubis (2.7.0)
49
- hike (1.2.3)
50
- i18n (0.7.0)
51
- mail (2.6.3)
52
- mime-types (>= 1.16, < 3)
53
- mime-types (2.4.3)
54
- minitest (4.7.5)
55
- mono_logger (1.1.0)
56
- multi_json (1.10.1)
57
- rack (1.5.2)
58
- rack-protection (1.5.3)
59
- rack
60
- rack-test (0.6.3)
61
- rack (>= 1.0)
62
- rails (4.0.13)
63
- actionmailer (= 4.0.13)
64
- actionpack (= 4.0.13)
65
- activerecord (= 4.0.13)
66
- activesupport (= 4.0.13)
67
- bundler (>= 1.3.0, < 2.0)
68
- railties (= 4.0.13)
69
- sprockets-rails (~> 2.0)
70
- railties (4.0.13)
71
- actionpack (= 4.0.13)
72
- activesupport (= 4.0.13)
73
- rake (>= 0.8.7)
74
- thor (>= 0.18.1, < 2.0)
75
- rake (10.4.2)
76
- redis (3.2.0)
77
- redis-namespace (1.5.1)
78
- redis (~> 3.0, >= 3.0.4)
79
- resque (1.25.2)
80
- mono_logger (~> 1.0)
81
- multi_json (~> 1.0)
82
- redis-namespace (~> 1.3)
83
- sinatra (>= 0.9.2)
84
- vegas (~> 0.1.2)
85
- rspec (3.1.0)
86
- rspec-core (~> 3.1.0)
87
- rspec-expectations (~> 3.1.0)
88
- rspec-mocks (~> 3.1.0)
89
- rspec-core (3.1.7)
90
- rspec-support (~> 3.1.0)
91
- rspec-expectations (3.1.2)
92
- diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.1.0)
94
- rspec-mocks (3.1.3)
95
- rspec-support (~> 3.1.0)
96
- rspec-support (3.1.2)
97
- sinatra (1.4.5)
98
- rack (~> 1.4)
99
- rack-protection (~> 1.4)
100
- tilt (~> 1.3, >= 1.3.4)
101
- sprockets (2.12.3)
102
- hike (~> 1.2)
103
- multi_json (~> 1.0)
104
- rack (~> 1.0)
105
- tilt (~> 1.1, != 1.3.0)
106
- sprockets-rails (2.2.2)
107
- actionpack (>= 3.0)
108
- activesupport (>= 3.0)
109
- sprockets (>= 2.8, < 4.0)
110
- sqlite3 (1.3.10)
111
- state_machine (1.2.0)
112
- thor (0.19.1)
113
- thread_safe (0.3.4)
114
- tilt (1.4.1)
115
- tzinfo (0.3.42)
116
- vegas (0.1.11)
117
- rack (>= 1.0.0)
118
-
119
- PLATFORMS
120
- ruby
121
-
122
- DEPENDENCIES
123
- appraisal
124
- byebug
125
- dalliance!
126
- delayed_job (>= 3.0.0)
127
- delayed_job_active_record
128
- rails (~> 4.0.0)
129
- resque
130
- rspec (>= 3.0.0)
131
- sqlite3
132
-
133
- BUNDLED WITH
134
- 1.16.0
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "rails", "~> 4.1.0"
7
-
8
- group :development, :test do
9
- gem "byebug"
10
- end
11
-
12
- gemspec path: "../"
@@ -1,140 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- dalliance (0.4.0)
5
- rails (>= 3.2, <= 5.1.4)
6
- state_machine
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- actionmailer (4.1.9)
12
- actionpack (= 4.1.9)
13
- actionview (= 4.1.9)
14
- mail (~> 2.5, >= 2.5.4)
15
- actionpack (4.1.9)
16
- actionview (= 4.1.9)
17
- activesupport (= 4.1.9)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- actionview (4.1.9)
21
- activesupport (= 4.1.9)
22
- builder (~> 3.1)
23
- erubis (~> 2.7.0)
24
- activemodel (4.1.9)
25
- activesupport (= 4.1.9)
26
- builder (~> 3.1)
27
- activerecord (4.1.9)
28
- activemodel (= 4.1.9)
29
- activesupport (= 4.1.9)
30
- arel (~> 5.0.0)
31
- activesupport (4.1.9)
32
- i18n (~> 0.6, >= 0.6.9)
33
- json (~> 1.7, >= 1.7.7)
34
- minitest (~> 5.1)
35
- thread_safe (~> 0.1)
36
- tzinfo (~> 1.1)
37
- appraisal (1.0.2)
38
- bundler
39
- rake
40
- thor (>= 0.14.0)
41
- arel (5.0.1.20140414130214)
42
- builder (3.2.2)
43
- byebug (9.0.5)
44
- delayed_job (4.0.6)
45
- activesupport (>= 3.0, < 5.0)
46
- delayed_job_active_record (4.0.3)
47
- activerecord (>= 3.0, < 5.0)
48
- delayed_job (>= 3.0, < 4.1)
49
- diff-lcs (1.2.5)
50
- erubis (2.7.0)
51
- hike (1.2.3)
52
- i18n (0.7.0)
53
- json (1.8.2)
54
- mail (2.6.3)
55
- mime-types (>= 1.16, < 3)
56
- mime-types (2.4.3)
57
- minitest (5.5.1)
58
- mono_logger (1.1.0)
59
- multi_json (1.10.1)
60
- rack (1.5.2)
61
- rack-protection (1.5.3)
62
- rack
63
- rack-test (0.6.3)
64
- rack (>= 1.0)
65
- rails (4.1.9)
66
- actionmailer (= 4.1.9)
67
- actionpack (= 4.1.9)
68
- actionview (= 4.1.9)
69
- activemodel (= 4.1.9)
70
- activerecord (= 4.1.9)
71
- activesupport (= 4.1.9)
72
- bundler (>= 1.3.0, < 2.0)
73
- railties (= 4.1.9)
74
- sprockets-rails (~> 2.0)
75
- railties (4.1.9)
76
- actionpack (= 4.1.9)
77
- activesupport (= 4.1.9)
78
- rake (>= 0.8.7)
79
- thor (>= 0.18.1, < 2.0)
80
- rake (10.4.2)
81
- redis (3.2.0)
82
- redis-namespace (1.5.1)
83
- redis (~> 3.0, >= 3.0.4)
84
- resque (1.25.2)
85
- mono_logger (~> 1.0)
86
- multi_json (~> 1.0)
87
- redis-namespace (~> 1.3)
88
- sinatra (>= 0.9.2)
89
- vegas (~> 0.1.2)
90
- rspec (3.1.0)
91
- rspec-core (~> 3.1.0)
92
- rspec-expectations (~> 3.1.0)
93
- rspec-mocks (~> 3.1.0)
94
- rspec-core (3.1.7)
95
- rspec-support (~> 3.1.0)
96
- rspec-expectations (3.1.2)
97
- diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.1.0)
99
- rspec-mocks (3.1.3)
100
- rspec-support (~> 3.1.0)
101
- rspec-support (3.1.2)
102
- sinatra (1.4.5)
103
- rack (~> 1.4)
104
- rack-protection (~> 1.4)
105
- tilt (~> 1.3, >= 1.3.4)
106
- sprockets (2.12.3)
107
- hike (~> 1.2)
108
- multi_json (~> 1.0)
109
- rack (~> 1.0)
110
- tilt (~> 1.1, != 1.3.0)
111
- sprockets-rails (2.2.2)
112
- actionpack (>= 3.0)
113
- activesupport (>= 3.0)
114
- sprockets (>= 2.8, < 4.0)
115
- sqlite3 (1.3.10)
116
- state_machine (1.2.0)
117
- thor (0.19.1)
118
- thread_safe (0.3.4)
119
- tilt (1.4.1)
120
- tzinfo (1.2.2)
121
- thread_safe (~> 0.1)
122
- vegas (0.1.11)
123
- rack (>= 1.0.0)
124
-
125
- PLATFORMS
126
- ruby
127
-
128
- DEPENDENCIES
129
- appraisal
130
- byebug
131
- dalliance!
132
- delayed_job (>= 3.0.0)
133
- delayed_job_active_record
134
- rails (~> 4.1.0)
135
- resque
136
- rspec (>= 3.0.0)
137
- sqlite3
138
-
139
- BUNDLED WITH
140
- 1.16.0
@@ -1,168 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- dalliance (0.4.0)
5
- rails (>= 3.2, <= 5.1.4)
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.16.0