dalliance 0.2.9 → 0.3.0

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: bde62f0fa719b137c48013a3c8936017d6e75f74
4
- data.tar.gz: a21153e5c0a2f989bd2e5220a457d1eb542bcb52
3
+ metadata.gz: 5792029ac730db3f72a9fd7691dc948d4f32ea6a
4
+ data.tar.gz: 60d2898195cceb82558fe0a0ba0401f73db5af27
5
5
  SHA512:
6
- metadata.gz: 4dd0b9cd8107589016b0d72561f2e92ce265f59081b30e20a2f6e3f41b58304fc09dde922826b29e1d55a7c4c1ec2ecf4e88fc4fc9afbfd662a7ecf7cc66b66e
7
- data.tar.gz: 0001621cf0cab6b3ccb0856052eba4dd3f68e944c4e5abea9fc535447f22aa499acff6c4f5486ca9acc262d18beee2c8bfef1aabcdd2f9693517438c775232f2
6
+ metadata.gz: f196084cca0afd9a4ce249e1c21e3561a66e7359ab9c83ca7b17f527239232f5f9de262a928e215259e8242a30910994e13f3259be88e3d78dcd2a5d128ffbac
7
+ data.tar.gz: cbe9c5e6139eabf02b015d120b5fb768439230ef0ea3c98181058a16c8a3c62c8b3b2916b66b295f7bae3dc4e947da230a60dc49f8c2f9c62bd4e5992ce6da35
data/Appraisals ADDED
@@ -0,0 +1,15 @@
1
+ appraise "rails-3.1" do
2
+ gem "rails", "~> 3.1.0"
3
+ end
4
+
5
+ appraise "rails-3.2" do
6
+ gem "rails", "~> 3.2.0"
7
+ end
8
+
9
+ appraise "rails-4.0" do
10
+ gem "rails", "~> 4.0.0"
11
+ end
12
+
13
+ appraise "rails-4.1" do
14
+ gem "rails", "~> 4.1.0"
15
+ end
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in dalliance.gemspec
4
4
  gemspec
5
+
6
+ gem "appraisal"
data/dalliance.gemspec CHANGED
@@ -18,12 +18,12 @@ 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.0.0')
22
- s.add_dependency('activesupport', '>= 3.0.0')
21
+ s.add_dependency('activerecord', '>= 3.1', "< 4.2")
22
+ s.add_dependency('activesupport', '>= 3.1', "< 4.2")
23
23
 
24
24
  s.add_dependency('state_machine')
25
25
 
26
- s.add_development_dependency('rspec')
26
+ s.add_development_dependency('rspec', '>= 3.0.0')
27
27
  s.add_development_dependency('delayed_job', '>= 3.0.0')
28
28
  s.add_development_dependency('delayed_job_active_record')
29
29
  s.add_development_dependency('sqlite3')
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "rails", "~> 3.1.0"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,144 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ dalliance (0.3.0)
5
+ activerecord (>= 3.1, < 4.2)
6
+ activesupport (>= 3.1, < 4.2)
7
+ state_machine
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ actionmailer (3.1.12)
13
+ actionpack (= 3.1.12)
14
+ mail (~> 2.4.4)
15
+ actionpack (3.1.12)
16
+ activemodel (= 3.1.12)
17
+ activesupport (= 3.1.12)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ i18n (~> 0.6)
21
+ rack (~> 1.3.6)
22
+ rack-cache (~> 1.2)
23
+ rack-mount (~> 0.8.2)
24
+ rack-test (~> 0.6.1)
25
+ sprockets (~> 2.0.4)
26
+ activemodel (3.1.12)
27
+ activesupport (= 3.1.12)
28
+ builder (~> 3.0.0)
29
+ i18n (~> 0.6)
30
+ activerecord (3.1.12)
31
+ activemodel (= 3.1.12)
32
+ activesupport (= 3.1.12)
33
+ arel (~> 2.2.3)
34
+ tzinfo (~> 0.3.29)
35
+ activeresource (3.1.12)
36
+ activemodel (= 3.1.12)
37
+ activesupport (= 3.1.12)
38
+ activesupport (3.1.12)
39
+ multi_json (~> 1.0)
40
+ appraisal (1.0.2)
41
+ bundler
42
+ rake
43
+ thor (>= 0.14.0)
44
+ arel (2.2.3)
45
+ builder (3.0.4)
46
+ delayed_job (4.0.6)
47
+ activesupport (>= 3.0, < 5.0)
48
+ delayed_job_active_record (4.0.3)
49
+ activerecord (>= 3.0, < 5.0)
50
+ delayed_job (>= 3.0, < 4.1)
51
+ diff-lcs (1.2.5)
52
+ erubis (2.7.0)
53
+ hike (1.2.3)
54
+ i18n (0.7.0)
55
+ json (1.8.2)
56
+ mail (2.4.4)
57
+ i18n (>= 0.4.0)
58
+ mime-types (~> 1.16)
59
+ treetop (~> 1.4.8)
60
+ mime-types (1.25.1)
61
+ mono_logger (1.1.0)
62
+ multi_json (1.10.1)
63
+ polyglot (0.3.5)
64
+ rack (1.3.10)
65
+ rack-cache (1.2)
66
+ rack (>= 0.4)
67
+ rack-mount (0.8.3)
68
+ rack (>= 1.0.0)
69
+ rack-protection (1.5.3)
70
+ rack
71
+ rack-ssl (1.3.4)
72
+ rack
73
+ rack-test (0.6.3)
74
+ rack (>= 1.0)
75
+ rails (3.1.12)
76
+ actionmailer (= 3.1.12)
77
+ actionpack (= 3.1.12)
78
+ activerecord (= 3.1.12)
79
+ activeresource (= 3.1.12)
80
+ activesupport (= 3.1.12)
81
+ bundler (~> 1.0)
82
+ railties (= 3.1.12)
83
+ railties (3.1.12)
84
+ actionpack (= 3.1.12)
85
+ activesupport (= 3.1.12)
86
+ rack-ssl (~> 1.3.2)
87
+ rake (>= 0.8.7)
88
+ rdoc (~> 3.4)
89
+ thor (~> 0.14.6)
90
+ rake (10.4.2)
91
+ rdoc (3.12.2)
92
+ json (~> 1.4)
93
+ redis (3.2.0)
94
+ redis-namespace (1.5.1)
95
+ redis (~> 3.0, >= 3.0.4)
96
+ resque (1.25.2)
97
+ mono_logger (~> 1.0)
98
+ multi_json (~> 1.0)
99
+ redis-namespace (~> 1.3)
100
+ sinatra (>= 0.9.2)
101
+ vegas (~> 0.1.2)
102
+ rspec (3.1.0)
103
+ rspec-core (~> 3.1.0)
104
+ rspec-expectations (~> 3.1.0)
105
+ rspec-mocks (~> 3.1.0)
106
+ rspec-core (3.1.7)
107
+ rspec-support (~> 3.1.0)
108
+ rspec-expectations (3.1.2)
109
+ diff-lcs (>= 1.2.0, < 2.0)
110
+ rspec-support (~> 3.1.0)
111
+ rspec-mocks (3.1.3)
112
+ rspec-support (~> 3.1.0)
113
+ rspec-support (3.1.2)
114
+ sinatra (1.3.3)
115
+ rack (~> 1.3, >= 1.3.6)
116
+ rack-protection (~> 1.2)
117
+ tilt (~> 1.3, >= 1.3.3)
118
+ sprockets (2.0.5)
119
+ hike (~> 1.2)
120
+ rack (~> 1.0)
121
+ tilt (~> 1.1, != 1.3.0)
122
+ sqlite3 (1.3.10)
123
+ state_machine (1.2.0)
124
+ thor (0.14.6)
125
+ tilt (1.4.1)
126
+ treetop (1.4.15)
127
+ polyglot
128
+ polyglot (>= 0.3.1)
129
+ tzinfo (0.3.42)
130
+ vegas (0.1.11)
131
+ rack (>= 1.0.0)
132
+
133
+ PLATFORMS
134
+ ruby
135
+
136
+ DEPENDENCIES
137
+ appraisal
138
+ dalliance!
139
+ delayed_job (>= 3.0.0)
140
+ delayed_job_active_record
141
+ rails (~> 3.1.0)
142
+ resque
143
+ rspec (>= 3.0.0)
144
+ sqlite3
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "rails", "~> 3.2.0"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,142 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ dalliance (0.3.0)
5
+ activerecord (>= 3.1, < 4.2)
6
+ activesupport (>= 3.1, < 4.2)
7
+ state_machine
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ actionmailer (3.2.21)
13
+ actionpack (= 3.2.21)
14
+ mail (~> 2.5.4)
15
+ actionpack (3.2.21)
16
+ activemodel (= 3.2.21)
17
+ activesupport (= 3.2.21)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ journey (~> 1.0.4)
21
+ rack (~> 1.4.5)
22
+ rack-cache (~> 1.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.2.1)
25
+ activemodel (3.2.21)
26
+ activesupport (= 3.2.21)
27
+ builder (~> 3.0.0)
28
+ activerecord (3.2.21)
29
+ activemodel (= 3.2.21)
30
+ activesupport (= 3.2.21)
31
+ arel (~> 3.0.2)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.2.21)
34
+ activemodel (= 3.2.21)
35
+ activesupport (= 3.2.21)
36
+ activesupport (3.2.21)
37
+ i18n (~> 0.6, >= 0.6.4)
38
+ multi_json (~> 1.0)
39
+ appraisal (1.0.2)
40
+ bundler
41
+ rake
42
+ thor (>= 0.14.0)
43
+ arel (3.0.3)
44
+ builder (3.0.4)
45
+ delayed_job (4.0.6)
46
+ activesupport (>= 3.0, < 5.0)
47
+ delayed_job_active_record (4.0.3)
48
+ activerecord (>= 3.0, < 5.0)
49
+ delayed_job (>= 3.0, < 4.1)
50
+ diff-lcs (1.2.5)
51
+ erubis (2.7.0)
52
+ hike (1.2.3)
53
+ i18n (0.7.0)
54
+ journey (1.0.4)
55
+ json (1.8.2)
56
+ mail (2.5.4)
57
+ mime-types (~> 1.16)
58
+ treetop (~> 1.4.8)
59
+ mime-types (1.25.1)
60
+ mono_logger (1.1.0)
61
+ multi_json (1.10.1)
62
+ polyglot (0.3.5)
63
+ rack (1.4.5)
64
+ rack-cache (1.2)
65
+ rack (>= 0.4)
66
+ rack-protection (1.5.3)
67
+ rack
68
+ rack-ssl (1.3.4)
69
+ rack
70
+ rack-test (0.6.3)
71
+ rack (>= 1.0)
72
+ rails (3.2.21)
73
+ actionmailer (= 3.2.21)
74
+ actionpack (= 3.2.21)
75
+ activerecord (= 3.2.21)
76
+ activeresource (= 3.2.21)
77
+ activesupport (= 3.2.21)
78
+ bundler (~> 1.0)
79
+ railties (= 3.2.21)
80
+ railties (3.2.21)
81
+ actionpack (= 3.2.21)
82
+ activesupport (= 3.2.21)
83
+ rack-ssl (~> 1.3.2)
84
+ rake (>= 0.8.7)
85
+ rdoc (~> 3.4)
86
+ thor (>= 0.14.6, < 2.0)
87
+ rake (10.4.2)
88
+ rdoc (3.12.2)
89
+ json (~> 1.4)
90
+ redis (3.2.0)
91
+ redis-namespace (1.5.1)
92
+ redis (~> 3.0, >= 3.0.4)
93
+ resque (1.25.2)
94
+ mono_logger (~> 1.0)
95
+ multi_json (~> 1.0)
96
+ redis-namespace (~> 1.3)
97
+ sinatra (>= 0.9.2)
98
+ vegas (~> 0.1.2)
99
+ rspec (3.1.0)
100
+ rspec-core (~> 3.1.0)
101
+ rspec-expectations (~> 3.1.0)
102
+ rspec-mocks (~> 3.1.0)
103
+ rspec-core (3.1.7)
104
+ rspec-support (~> 3.1.0)
105
+ rspec-expectations (3.1.2)
106
+ diff-lcs (>= 1.2.0, < 2.0)
107
+ rspec-support (~> 3.1.0)
108
+ rspec-mocks (3.1.3)
109
+ rspec-support (~> 3.1.0)
110
+ rspec-support (3.1.2)
111
+ sinatra (1.4.5)
112
+ rack (~> 1.4)
113
+ rack-protection (~> 1.4)
114
+ tilt (~> 1.3, >= 1.3.4)
115
+ sprockets (2.2.3)
116
+ hike (~> 1.2)
117
+ multi_json (~> 1.0)
118
+ rack (~> 1.0)
119
+ tilt (~> 1.1, != 1.3.0)
120
+ sqlite3 (1.3.10)
121
+ state_machine (1.2.0)
122
+ thor (0.19.1)
123
+ tilt (1.4.1)
124
+ treetop (1.4.15)
125
+ polyglot
126
+ polyglot (>= 0.3.1)
127
+ tzinfo (0.3.42)
128
+ vegas (0.1.11)
129
+ rack (>= 1.0.0)
130
+
131
+ PLATFORMS
132
+ ruby
133
+
134
+ DEPENDENCIES
135
+ appraisal
136
+ dalliance!
137
+ delayed_job (>= 3.0.0)
138
+ delayed_job_active_record
139
+ rails (~> 3.2.0)
140
+ resque
141
+ rspec (>= 3.0.0)
142
+ sqlite3
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "rails", "~> 4.0.0"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,130 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ dalliance (0.3.0)
5
+ activerecord (>= 3.1, < 4.2)
6
+ activesupport (>= 3.1, < 4.2)
7
+ state_machine
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ actionmailer (4.0.13)
13
+ actionpack (= 4.0.13)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ actionpack (4.0.13)
16
+ activesupport (= 4.0.13)
17
+ builder (~> 3.1.0)
18
+ erubis (~> 2.7.0)
19
+ rack (~> 1.5.2)
20
+ rack-test (~> 0.6.2)
21
+ activemodel (4.0.13)
22
+ activesupport (= 4.0.13)
23
+ builder (~> 3.1.0)
24
+ activerecord (4.0.13)
25
+ activemodel (= 4.0.13)
26
+ activerecord-deprecated_finders (~> 1.0.2)
27
+ activesupport (= 4.0.13)
28
+ arel (~> 4.0.0)
29
+ activerecord-deprecated_finders (1.0.3)
30
+ activesupport (4.0.13)
31
+ i18n (~> 0.6, >= 0.6.9)
32
+ minitest (~> 4.2)
33
+ multi_json (~> 1.3)
34
+ thread_safe (~> 0.1)
35
+ tzinfo (~> 0.3.37)
36
+ appraisal (1.0.2)
37
+ bundler
38
+ rake
39
+ thor (>= 0.14.0)
40
+ arel (4.0.2)
41
+ builder (3.1.4)
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
+ dalliance!
125
+ delayed_job (>= 3.0.0)
126
+ delayed_job_active_record
127
+ rails (~> 4.0.0)
128
+ resque
129
+ rspec (>= 3.0.0)
130
+ sqlite3
@@ -0,0 +1,8 @@
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
+ gemspec :path => "../"
@@ -0,0 +1,136 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ dalliance (0.3.0)
5
+ activerecord (>= 3.1, < 4.2)
6
+ activesupport (>= 3.1, < 4.2)
7
+ state_machine
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ actionmailer (4.1.9)
13
+ actionpack (= 4.1.9)
14
+ actionview (= 4.1.9)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ actionpack (4.1.9)
17
+ actionview (= 4.1.9)
18
+ activesupport (= 4.1.9)
19
+ rack (~> 1.5.2)
20
+ rack-test (~> 0.6.2)
21
+ actionview (4.1.9)
22
+ activesupport (= 4.1.9)
23
+ builder (~> 3.1)
24
+ erubis (~> 2.7.0)
25
+ activemodel (4.1.9)
26
+ activesupport (= 4.1.9)
27
+ builder (~> 3.1)
28
+ activerecord (4.1.9)
29
+ activemodel (= 4.1.9)
30
+ activesupport (= 4.1.9)
31
+ arel (~> 5.0.0)
32
+ activesupport (4.1.9)
33
+ i18n (~> 0.6, >= 0.6.9)
34
+ json (~> 1.7, >= 1.7.7)
35
+ minitest (~> 5.1)
36
+ thread_safe (~> 0.1)
37
+ tzinfo (~> 1.1)
38
+ appraisal (1.0.2)
39
+ bundler
40
+ rake
41
+ thor (>= 0.14.0)
42
+ arel (5.0.1.20140414130214)
43
+ builder (3.2.2)
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
+ dalliance!
131
+ delayed_job (>= 3.0.0)
132
+ delayed_job_active_record
133
+ rails (~> 4.1.0)
134
+ resque
135
+ rspec (>= 3.0.0)
136
+ sqlite3
@@ -1,8 +1,8 @@
1
1
  module Dalliance
2
2
  module VERSION
3
3
  MAJOR = 0
4
- MINOR = 2
5
- TINY = 9
4
+ MINOR = 3
5
+ TINY = 0
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
data/lib/dalliance.rb CHANGED
@@ -79,11 +79,11 @@ module Dalliance
79
79
  serialize :dalliance_error_hash, Hash
80
80
 
81
81
  #BEGIN state_machine(s)
82
- scope :pending, where(:dalliance_status => 'pending')
83
- scope :processing, where(:dalliance_status => 'processing')
84
- scope :validation_error, where(:dalliance_status => 'validation_error')
85
- scope :processing_error, where(:dalliance_status => 'processing_error')
86
- scope :completed, where(:dalliance_status => 'completed')
82
+ scope :pending, -> { where(:dalliance_status => 'pending') }
83
+ scope :processing, -> { where(:dalliance_status => 'processing') }
84
+ scope :validation_error, -> { where(:dalliance_status => 'validation_error') }
85
+ scope :processing_error, -> { where(:dalliance_status => 'processing_error') }
86
+ scope :completed, -> { where(:dalliance_status => 'completed') }
87
87
 
88
88
  state_machine :dalliance_status, :initial => :pending do
89
89
  state :pending