promoqui-api-sdk 2.0.4 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pqsdk/store.rb +1 -1
- data/lib/pqsdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ce3cda800c8e461a67b9ac54f7d4a3716eb61e9
|
4
|
+
data.tar.gz: 76c556a601594830a1fcc90b762d9b5dbba040a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e50ba7e458787a26588b64b403e7c576459c51c1fb4a66a1b21c7e8fee54990cee4018d9fbb6c32d79126ca5c6b88252cc37b280ec7ef7b19d695f8508ec352b
|
7
|
+
data.tar.gz: 9dd37867fb0f632fdf8d2d8b20872688f4a8dbf0116cd23cae438f1c543d8bd770a3a61caa9dfa793c19e8ff64ba1b425fc0fd8de81feb7d2bd5ea7e4a97aea0
|
data/lib/pqsdk/store.rb
CHANGED
@@ -9,7 +9,7 @@ module PQSDK
|
|
9
9
|
attr_accessor :id, :origin, :name, :address, :latitude, :longitude, :city,
|
10
10
|
:city_id, :zipcode, :phone, :opening_hours, :opening_hours_text
|
11
11
|
|
12
|
-
validates :origin, :name, :address,
|
12
|
+
validates :origin, :name, :address, presence: true
|
13
13
|
validates :city_id, presence: true, if: proc { |s| s.city.nil? }
|
14
14
|
|
15
15
|
def attributes
|
data/lib/pqsdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promoqui-api-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Boffa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
237
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.4.
|
238
|
+
rubygems_version: 2.4.5.1
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: A wrapper around PromoQui HTTP Crawler API
|