rsr_group 3.0.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rsr_group/catalog.rb +8 -4
- data/lib/rsr_group/version.rb +1 -1
- data/rsr_group.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5aace14ec4f9b85ebf09c9d61ca97486a661cf48
|
4
|
+
data.tar.gz: f34b435dd8a47cb6e6de99195f0209bc10630fa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4b0a221e8607595994d4c31a5111ba55d01c79891ebbe9604ccaf6ced549e6ff301287003d028e7632d76b115366be086d04f480e975e60e37a9e958d28790
|
7
|
+
data.tar.gz: 86ad46aae7bfeeacd9333f32ac67e8eef19d240cdcfb7c15cf9be8749787819d74a9e8d56b505152fab177660e3d3f89d465d5e7e7b506c52c800f5fc2358635
|
data/lib/rsr_group/catalog.rb
CHANGED
@@ -6,12 +6,14 @@ module RsrGroup
|
|
6
6
|
@options = options
|
7
7
|
end
|
8
8
|
|
9
|
-
def self.all(options = {}
|
9
|
+
def self.all(options = {})
|
10
10
|
requires!(options, :username, :password)
|
11
|
-
new(options).all
|
11
|
+
new(options).all
|
12
12
|
end
|
13
13
|
|
14
|
-
def all
|
14
|
+
def all
|
15
|
+
items = []
|
16
|
+
|
15
17
|
connect(@options) do |ftp|
|
16
18
|
begin
|
17
19
|
tempfile = Tempfile.new
|
@@ -32,12 +34,14 @@ module RsrGroup
|
|
32
34
|
item[:quantity] = 0
|
33
35
|
end
|
34
36
|
|
35
|
-
|
37
|
+
items << item
|
36
38
|
end
|
37
39
|
end
|
38
40
|
|
39
41
|
tempfile.unlink
|
40
42
|
end
|
43
|
+
|
44
|
+
items
|
41
45
|
end
|
42
46
|
|
43
47
|
private
|
data/lib/rsr_group/version.rb
CHANGED
data/rsr_group.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_runtime_dependency "smarter_csv", "~> 1.1.4"
|
28
28
|
|
29
|
-
spec.add_development_dependency "bundler", "~> 1.
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
30
30
|
spec.add_development_dependency "memory_profiler", "~> 0.9"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
32
32
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsr_group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: smarter_csv
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.15'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.15'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: memory_profiler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.6.14
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: RSR Group Ruby library
|