flexirest 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/flexirest.gemspec +4 -0
- data/lib/flexirest/result_iterator.rb +4 -0
- data/lib/flexirest/version.rb +1 -1
- data/spec/lib/result_iterator_spec.rb +7 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc25c4790b42d7d6c5f17f1bccf38af464ae9acc
|
4
|
+
data.tar.gz: 851bdde04eb58f1e9b38753fd8c6ad72324c92d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0179fd825262037792935e82e26c86d262c4d3675410850fc05aeefb37b72e8d620b60e6e245487825e50aa69cae40e4e2e13020b40704b856fb61e025dbaeec'
|
7
|
+
data.tar.gz: 79aa3524f59de9ff2932d2ee07c69170bb281031ba393551fe6dbe63f3ae5583dff88c93e6ecce0a4e7110afbb1750808bbe78fec9efe625667c702559699da4
|
data/CHANGELOG.md
CHANGED
data/flexirest.gemspec
CHANGED
@@ -14,6 +14,10 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://andyjeffries.co.uk/"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
+
if spec.respond_to?(:metadata)
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/flexirest/flexirest"
|
19
|
+
end
|
20
|
+
|
17
21
|
spec.files = `git ls-files`.split($/)
|
18
22
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
23
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
data/lib/flexirest/version.rb
CHANGED
@@ -34,6 +34,13 @@ describe Flexirest::ResultIterator do
|
|
34
34
|
expect(result.first).to eq("a")
|
35
35
|
end
|
36
36
|
|
37
|
+
it "should implement join" do
|
38
|
+
result = Flexirest::ResultIterator.new
|
39
|
+
result << "a"
|
40
|
+
result << "z"
|
41
|
+
expect(result.join(",")).to eq("a,z")
|
42
|
+
end
|
43
|
+
|
37
44
|
it "should implement any?" do
|
38
45
|
result = Flexirest::ResultIterator.new
|
39
46
|
expect(result.any?).to be_falsey
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -330,7 +330,8 @@ files:
|
|
330
330
|
homepage: https://andyjeffries.co.uk/
|
331
331
|
licenses:
|
332
332
|
- MIT
|
333
|
-
metadata:
|
333
|
+
metadata:
|
334
|
+
source_code_uri: https://github.com/flexirest/flexirest
|
334
335
|
post_install_message:
|
335
336
|
rdoc_options: []
|
336
337
|
require_paths:
|