dagjeweg 0.0.7 → 0.0.8

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: 4910290fe78f3c57e52c88e74dbf48ea603cc428
4
- data.tar.gz: dbf8f4453e1dbb7fe758af96e2fb47a274e7d105
3
+ metadata.gz: 9a878de04d506868293ec277a358bcf0f57fb516
4
+ data.tar.gz: fd79ae2831635f8852065b48ddeaf9b866f0d5cc
5
5
  SHA512:
6
- metadata.gz: 9f83f070838ee49cb5421d6238dacbd5cf83d57a06b28a2b734edb860bebed93ad96c1138a86160a2a535a4243fb8303c4af3e98df5daf042b1af6e7106ab479
7
- data.tar.gz: 8bb6e27f705fddfa2bf0be96cf8bd763530b00f07a33339f59e4f10c8a2cd2debde6579af64a3b59d1a6d22519484bea4335724c085f05f12535fff81a09f75f
6
+ metadata.gz: 68b1059a9fdaf4741db32c66e51c7323c0a5a8c4bd9a96385e27168920fa732734668c3590bea27143e662d5f30e63b95a342e898f64b5bf754fd691afb2cef7
7
+ data.tar.gz: 55cf572b26eea6d8c94423d5e0c18f493f414e611adf8021c319e3d2609d4e1b40115646e300c935d80d2b00f786b7479ce3e65c4e966477895ef529a2b241de
data/lib/dagjeweg/tip.rb CHANGED
@@ -1,10 +1,8 @@
1
1
  module Dagjeweg
2
2
 
3
3
  class Tip
4
- attr_accessor :dw_id, :name, :google_name, :show_name, :show_price, :address, :email, :city, :postal_code, :dw_id, :latitude, :longitude, :image, :show_image, :long_description, :url, :phone, :email, :image2, :image3, :image4, :image5, :image6, :image8, :image9, :image10, :image11, :image12, :image13, :dwurl, :ma, :di, :wo, :do, :vr, :za, :zo, :from_time, :until_time, :open_comment, :price, :price_kids, :price_seniors, :price_toddlers, :price_comment, :description, :show_reviews, :wheelchair, :wheelchair_toilet, :accessible, :accessible_comment, :periode, :weer, :rounded_cijfer, :number_of_reviews, :activities, :genre, :distance
5
-
4
+ attr_accessor :dw_id, :name, :google_name, :show_name, :show_price, :address, :email, :city, :postal_code, :dw_id, :latitude, :longitude, :image, :show_image, :long_description, :url, :phone, :email, :image2, :image3, :image4, :image5, :image6, :image8, :image9, :image10, :image11, :image12, :image13, :dwurl, :ma, :di, :wo, :do, :vr, :za, :zo, :from_time, :until_time, :open_comment, :price, :price_kids, :price_seniors, :price_toddlers, :price_comment, :description, :show_reviews, :wheelchair, :wheelchair_toilet, :accessible, :accessible_comment, :periode, :weer, :rounded_cijfer, :number_of_reviews, :activities, :genre, :distance, :eerste_paasdag, :tweede_paasdag, :goede_vrijdag, :bevrijdingsdag, :hemelvaartsdag, :eerste_pinksterdag, :tweede_pinksterdag, :eerste_kerstdag, :tweede_kerstdag, :oudejaarsdag, :nieuwjaarsdag, :koningsdag
6
5
 
7
- #
8
6
  # Initializer to transform a +Hash+ into an Tip object
9
7
  #
10
8
  # @param [Hash] args
@@ -33,6 +31,7 @@ module Dagjeweg
33
31
  def self.find(dw_id="")
34
32
  uri = Dagjeweg::Tip.api_url("tips.json?id=#{dw_id.to_s}")
35
33
  json = Dagjeweg::Tip.get_json(uri)
34
+ puts "JSON: #{json}"
36
35
  if json && json.any?
37
36
  tip = new(json.first)
38
37
  return tip
@@ -1,3 +1,3 @@
1
1
  module Dagjeweg
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dagjeweg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henk Meijer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-25 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.4.5.1
184
+ rubygems_version: 2.6.14
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Communiceer met de API van DagjeWeg.NL en haal informatie op over dagjes
@@ -189,4 +189,3 @@ summary: Communiceer met de API van DagjeWeg.NL en haal informatie op over dagje
189
189
  test_files:
190
190
  - spec/spec_helper.rb
191
191
  - spec/tip_spec.rb
192
- has_rdoc: