bookingsync_portal 0.8.5 → 0.8.7

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: f7f16868387509451a62766540c082cd2f222078
4
- data.tar.gz: a2817cde0215aca97bc8198004ef94e5ceba5645
3
+ metadata.gz: 961e3126066e8c0b4c5af503a9496f68f8029408
4
+ data.tar.gz: 4f0c8c0784af80d4c41daf5cf37594e48c9ec745
5
5
  SHA512:
6
- metadata.gz: cd558a7bb45ce8bab8417b6bc8bba5e93bf3cf17a840af3963186a225fee3ce6cada8ba48b73e821f164c96a2bef710f3a457ce9ddf45175824cfae16ab27b90
7
- data.tar.gz: 10103b846975ed8deba45844a3298f7e85bc46233febaad1d9a67d337daf26ffdcf4914df4a9d67d52e6620c708492ccf50dc8a6c07b928d56784098052d6ca4
6
+ metadata.gz: cd58e04448318fa74b5a2a28fb73412fd95a3c9dfefe471f975ee8166e7d78e8d82872126e22d5c2216df8b838290f923653c13f00b0ba0a0e35edaaf6f6ba2a
7
+ data.tar.gz: 9489841bc147f2316af80da2c90e9f399973baa0727fff4937ee1900e815a05d35bacdccc6bf9f07a09a7a113036fa641dcd6dd9680ace79afcbf800e643766b
@@ -21,7 +21,7 @@ class BookingsyncPortal::Write::Source
21
21
  end
22
22
 
23
23
  def find_source
24
- api.sources.find { |s| s.name == BookingsyncPortal.source_name }
24
+ api.sources.find { |source| source.name.downcase == BookingsyncPortal.source_name.downcase }
25
25
  end
26
26
 
27
27
  def create_source
@@ -0,0 +1,9 @@
1
+ class CreateBookings < ActiveRecord::Migration
2
+ def change
3
+ create_table :bookings do |t|
4
+ t.datetime :start_at
5
+ t.datetime :end_at
6
+ t.string :status
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module BookingsyncPortal
2
- VERSION = '0.8.5'
2
+ VERSION = '0.8.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync_portal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Marciniak
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-03-28 00:00:00.000000000 Z
13
+ date: 2016-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -388,6 +388,7 @@ files:
388
388
  - db/migrate/20150520134912_create_photos.rb
389
389
  - db/migrate/20150521091056_create_rates.rb
390
390
  - db/migrate/20151210164752_add_synced_source_id_to_account.rb
391
+ - db/migrate/20160301141356_create_bookings.rb
391
392
  - lib/bookingsync_portal.rb
392
393
  - lib/bookingsync_portal/booking_map.rb
393
394
  - lib/bookingsync_portal/engine.rb