resque-reports 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTg1YTcwMDRhNWJhYTViN2I1NjVmYzMxODQwNjBjNmZlZGEyNDg2Nw==
4
+ OTdhOGY0OGI3MWY1ZDNmY2E1YzI3YWVhYTQyMWNhZDM3ZWZiODgzZQ==
5
5
  data.tar.gz: !binary |-
6
- MWY4NWZhNzZlN2MyNmYzMjVlMWU0ODA0M2Q2M2E4Mjg5ZmJjZjE4Yg==
6
+ MzFlMDFmNjEwYThjM2FhOTE2NWY1OWU4NWFlMzM4MDA4ZjhmMWJiOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTYyN2UxMzVlMDJlYWYyZjU0Yzc4ODE0NWQ3YzY1ZDQwZDdiZDY0MGMzYWJh
10
- YzYyMmRiZjQ3N2U1ZjIzMjAzMDU2ZDQ3ZDFkY2RlNmVhMzAwZmRlZTkxNzEw
11
- MDMxYWU1YmJjMmRiYzZkN2VmODVjZmIxMGJiYTg0YmQ0YTAzYjc=
9
+ NzJhZmY3Mjg5MTYyZjA1YWY4ODViZGRhZjE1OGM2MzIwY2ZjYjM3NGI2OTEx
10
+ YjAzNzM4MDg5NGYxNjc0ZWMzYjk5MTYxYTk2MTEzZjU5YjU4MDY3MjZkZWU5
11
+ MjVjZThmMDhkY2M2ZmMyYTA3ZGUwMWY4NDA3MjQ3NDNhMzI0NjY=
12
12
  data.tar.gz: !binary |-
13
- MGYwN2RhZGFiZWMxYzQyMTAyMzY5YWJmNGMwY2NjZjA2NzIyYTA4NGY2YzA3
14
- NjliYmU2ZmEzOTU4MzViODNiNjhlMDJiZTNiNWEwNTQxZWNjMDc2MTM3ZjVi
15
- Zjk2ZWU2YWI0ZWU2MzAyZGVjNGQ0MGUxNTA0NTYyMjMyYzlhZDQ=
13
+ NjYxNThjZTQ0MmJmNmUyNWY3MjdhMzZlOTAxOTRjOGJiODcwNDQwMDkyZGI2
14
+ ZTUxY2EwZmM5ZTY2NzRmYTliMDhiNWViNDJmYTlkY2Y5NThlNTAyYzRhZGE4
15
+ M2E0MThkMjdmZjU1YmRlYWEyNWM5YzUzMTg0MTI4MWM4NTI1OGY=
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .idea/
@@ -122,7 +122,7 @@ module Resque
122
122
  query.project(Arel.sql(select))
123
123
  .take(batch_size)
124
124
  .skip(offset)
125
- .order(order_by)
125
+ .order(order)
126
126
  .to_sql
127
127
  end
128
128
  end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  module Resque
3
3
  module Reports
4
- VERSION = '0.4.5'
4
+ VERSION = '0.4.6'
5
5
  end
6
6
  end
7
7
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ['lib']
20
20
 
21
- gem.add_dependency 'resque-integration', '~> 1.1.0'
21
+ gem.add_dependency 'resque-integration', '>= 1.1.0'
22
22
  gem.add_dependency 'activesupport' # избавиться от зависимости
23
23
 
24
24
  gem.add_development_dependency 'bundler', '~> 1.3'
@@ -115,13 +115,13 @@ describe 'Resque::Reports::CsvReport successor' do
115
115
 
116
116
  it do
117
117
  Timecop.travel(1.hour.since) do
118
- expect(subject.exists?).to be_false
118
+ expect(subject.exists?).to be_falsey
119
119
  end
120
120
  end
121
121
 
122
122
  it do
123
123
  Timecop.travel(30.minutes.since) do
124
- expect(subject.exists?).to be_true
124
+ expect(subject.exists?).to be_truthy
125
125
  end
126
126
  end
127
127
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-25 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque-integration
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.1.0
27
27
  - !ruby/object:Gem::Dependency