redmine-cli 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redmine-cli/resources.rb +3 -0
- data/lib/redmine-cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA512:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 896bdb7a8315493240aca6a624484c570f731c57d7f0791d68ee82e077618cd7e17347846b16362e85342de403647837cee7a6eed2d1b0c62a4c7be40e2b0a5c
|
4
|
+
data.tar.gz: 5ebeb7bcba54ea0382a817a5879638e7e8becc8d8f8b56eee17fa4a8e74e1f99f1415d0f369b1ae40e6847025e577ffbbc7cddd8d0c39b757e2abada5ebc7641
|
5
5
|
SHA1:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c40b6d47be90c4baae7ef1582f0d8b9a4d296a1e
|
7
|
+
data.tar.gz: cfcea000850f572b241e52b8852f1d6121782e14
|
@@ -32,6 +32,9 @@ module Redmine
|
|
32
32
|
while((fetched_resources = self.all(:params => params.merge({:limit => limit, :offset => offset}))).any?)
|
33
33
|
resources += fetched_resources
|
34
34
|
offset += limit
|
35
|
+
if fetched_resources.length < limit then
|
36
|
+
break
|
37
|
+
end
|
35
38
|
end
|
36
39
|
|
37
40
|
resources
|
data/lib/redmine-cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Dias
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-08 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeresource
|