billomat 0.1.1 → 0.1.2

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: e9b1dc728272e6dca7e6fe43418c9ec7511f962b
4
- data.tar.gz: a83499376d3e6aa576d4a9270d3d5f3bd3566199
3
+ metadata.gz: 46ed797579c37a183f62382779f2872a04db5e36
4
+ data.tar.gz: 2f48fd804b7b06cb2805bbb62125b251392bb080
5
5
  SHA512:
6
- metadata.gz: 4387bcef030751f0147c14469d0b25fc332266c0462be814396ba749ff8ba51c2dd474437d7946d6069ca20c732f516a11bfead7fa31d69b3a4e405b4f5213ca
7
- data.tar.gz: 7502cfd88d175ed62aa57be385c99dc00b07a03cb49f97cfed3ab6f71214944e9cb3572ee03da6ee5b43102394020a90028a993629fa589bedd01d7e00873d5e
6
+ metadata.gz: 3ba4b8f7405ea77675a2559014199c251c008c5f6ab6d96661dfd02f4eedc35536d7c88430017a7db53c50238045b99dc0f62a58c459bb43f430c4923a20abf9
7
+ data.tar.gz: e50580b56bc197307da0168607c82a0e6f3386d5208bcc03e15ed97ccd4cdb6c8f0707ae0dd36004b6cfd104f5bbe62d76c8d3a0d0a379ec36731411d6b38582
data/billomat.gemspec CHANGED
@@ -28,10 +28,13 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
30
 
31
+ spec.required_ruby_version = '>= 2.0'
32
+
31
33
  spec.add_dependency 'rest-client', '~> 2.0', '>= 2.0.2'
32
34
 
33
35
  spec.add_development_dependency "bundler", "~> 1.15"
34
36
  spec.add_development_dependency "rake", "~> 10.0"
35
37
  spec.add_development_dependency "rspec", "~> 3.0"
36
38
  spec.add_development_dependency "simplecov", "~> 0.15"
39
+ spec.add_development_dependency "pry", "~> 0.11"
37
40
  end
@@ -45,7 +45,7 @@ module Billomat
45
45
  #
46
46
  # @return [TrueClass]
47
47
  def save
48
- return create if id.blank?
48
+ return create if id.nil?
49
49
  update
50
50
  end
51
51
 
@@ -23,6 +23,7 @@ module Billomat
23
23
 
24
24
  ##
25
25
  # Runs the query and calls the gateway
26
+ # Currently it will always return an empty array when no query is provided
26
27
  #
27
28
  # @return [Array<Billomat::Model::Base>]
28
29
  def run
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Billomat
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billomat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Vogt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-19 00:00:00.000000000 Z
11
+ date: 2017-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0.15'
89
+ - !ruby/object:Gem::Dependency
90
+ name: pry
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.11'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.11'
89
103
  description:
90
104
  email:
91
105
  - henning.vogt@hausgold.de
@@ -133,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
147
  requirements:
134
148
  - - ">="
135
149
  - !ruby/object:Gem::Version
136
- version: '0'
150
+ version: '2.0'
137
151
  required_rubygems_version: !ruby/object:Gem::Requirement
138
152
  requirements:
139
153
  - - ">="