bookingsync_portal 0.8.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +2 -2
  3. data/app/assets/config/manifest.js +3 -0
  4. data/app/assets/javascripts/bookingsync_portal/admin/application.js.coffee +2 -3
  5. data/app/assets/javascripts/bookingsync_portal/admin/lib/list-filter.js.coffee +4 -4
  6. data/app/assets/stylesheets/bookingsync_portal/admin/{application.css.scss → application.scss} +4 -1
  7. data/app/controllers/bookingsync_portal/admin/base_controller.rb +2 -2
  8. data/app/controllers/bookingsync_portal/admin/remote_accounts_controller.rb +1 -1
  9. data/app/controllers/bookingsync_portal/admin/rentals_controller.rb +1 -1
  10. data/app/helpers/bookingsync_portal/admin/application_helper.rb +1 -1
  11. data/app/models/bookingsync_portal/account.rb +1 -1
  12. data/app/models/bookingsync_portal/connection.rb +2 -3
  13. data/app/synchronizers/bookingsync_portal/write/source.rb +1 -1
  14. data/app/views/bookingsync_portal/admin/help/index.html.erb +1 -1
  15. data/app/views/bookingsync_portal/admin/rentals/_connected_rental.html.erb +1 -1
  16. data/app/views/bookingsync_portal/admin/rentals/_remote_rental.html.erb +1 -2
  17. data/app/views/bookingsync_portal/admin/rentals/index.html.erb +4 -3
  18. data/app/views/bookingsync_portal/admin/rentals/show.js.erb +1 -1
  19. data/app/views/layouts/bookingsync_portal/_menu.html.erb +1 -1
  20. data/config/locales/en.yml +2 -2
  21. data/db/migrate/20150222172825_create_accounts.rb +1 -1
  22. data/db/migrate/20150222173413_create_rentals.rb +1 -1
  23. data/db/migrate/20150222173711_create_remote_accounts.rb +1 -1
  24. data/db/migrate/20150222174023_create_remote_rentals.rb +1 -1
  25. data/db/migrate/20150222174234_create_connections.rb +1 -1
  26. data/db/migrate/20150520134912_create_photos.rb +1 -1
  27. data/db/migrate/20150521091056_create_rates.rb +1 -1
  28. data/db/migrate/20151210164752_add_synced_source_id_to_account.rb +1 -1
  29. data/db/migrate/20160301141356_create_bookings.rb +9 -0
  30. data/lib/bookingsync_portal.rb +0 -11
  31. data/lib/bookingsync_portal/booking_map.rb +1 -1
  32. data/lib/bookingsync_portal/engine.rb +9 -0
  33. data/lib/bookingsync_portal/version.rb +1 -1
  34. data/lib/generators/templates/models/rental.rb +6 -1
  35. metadata +122 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f7f16868387509451a62766540c082cd2f222078
4
- data.tar.gz: a2817cde0215aca97bc8198004ef94e5ceba5645
2
+ SHA256:
3
+ metadata.gz: 6d421d75ad1576b846c1193f95a99cbdccfc69c3a2e425ce277f9b0f1ee5da96
4
+ data.tar.gz: ca119adacdf8c98acb2e307ecb220b74741a3a066ba46531f764b686976f9ae8
5
5
  SHA512:
6
- metadata.gz: cd558a7bb45ce8bab8417b6bc8bba5e93bf3cf17a840af3963186a225fee3ce6cada8ba48b73e821f164c96a2bef710f3a457ce9ddf45175824cfae16ab27b90
7
- data.tar.gz: 10103b846975ed8deba45844a3298f7e85bc46233febaad1d9a67d337daf26ffdcf4914df4a9d67d52e6620c708492ccf50dc8a6c07b928d56784098052d6ca4
6
+ metadata.gz: e943963710bb782ba8bf3f970115a07298de7cd98c5b1bdbd3d59705dc829070ad00f2499584fb33a8b2a1a423a36e554799d6072727d4a6b68671e2901a676a
7
+ data.tar.gz: ab637cea334141163a8672ccf1c4d7c6936f8e402babedf5ca52ce5675d7c400e2fab9273662e5726a8fabc502aec963e520412bb58b07e1417fd81953fea539
data/README.md CHANGED
@@ -7,7 +7,7 @@ A Rails engine to simplify building BookingSync Portal Applications.
7
7
 
8
8
  ## Requirements
9
9
 
10
- This engine requires Rails `>= 4.0.0` and Ruby `>= 2.1.0`.
10
+ This engine requires Rails `>= 5.2.0` and Ruby `>= 2.5.0`.
11
11
 
12
12
  ## Documentation
13
13
 
@@ -15,7 +15,7 @@ This engine requires Rails `>= 4.0.0` and Ruby `>= 2.1.0`.
15
15
 
16
16
  ## Installation
17
17
 
18
- BookingSync Portal works with Rails 4.0 onwards and Ruby 2.1 onwards. To get started, add it to your Gemfile with:
18
+ BookingSync Portal works with Rails 5.2 onwards and Ruby 2.5 onwards. To get started, add it to your Gemfile with:
19
19
 
20
20
  ```ruby
21
21
  gem 'bookingsync_portal'
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link "bookingsync_portal/admin/application.js"
3
+ //= link "bookingsync_portal/admin/application.css"
@@ -12,8 +12,8 @@
12
12
  #
13
13
  #= require jquery
14
14
  #= require jquery_ujs
15
- #= require jquery-ui/draggable
16
- #= require jquery-ui/droppable
15
+ #= require jquery-ui/widgets/draggable
16
+ #= require jquery-ui/widgets/droppable
17
17
  #= require handlebars.runtime
18
18
  #= require message-bus
19
19
  #= require bootstrap/alert
@@ -58,7 +58,6 @@ $.fn.extend
58
58
  rentalId = extractIdFromDomId($(ui.draggable).attr("id"))
59
59
  remoteRentalId = extractIdFromDomId(remoteRentalDropZone.attr("id"))
60
60
  remoteAccountId = remoteRentalDropZone.data("remote-account-id")
61
- remoteRentalUid = remoteRentalDropZone.data("uid")
62
61
 
63
62
  if remoteRentalId
64
63
  postData = { "rental_id": rentalId, "remote_rental_id": remoteRentalId }
@@ -14,15 +14,15 @@ class @ListFilter
14
14
  observeInputChanges: ->
15
15
  @input.change( =>
16
16
  filter = $(event.target).val()
17
- @showElements @listFilterable + ":not(:Contains(" + filter + "))"
18
- @hideElements @listFilterable + ":Contains(" + filter + ")"
17
+ @hideElements @listFilterable + ":not(:Contains(" + filter + "))"
18
+ @showElements @listFilterable + ":Contains(" + filter + ")"
19
19
  false
20
20
  ).keyup =>
21
21
  # fire the above change event after every letter
22
22
  @input.change()
23
23
 
24
24
  showElements: (elements) ->
25
- @list.find(elements).parents(@listElement).slideUp()
25
+ @list.find(elements).parents(@listElement).show()
26
26
 
27
27
  hideElements: (elements) ->
28
- @list.find(elements).parents(@listElement).slideDown()
28
+ @list.find(elements).parents(@listElement).hide()
@@ -14,7 +14,6 @@ body.fullscreen {
14
14
  }
15
15
 
16
16
  body > .footer {
17
- padding-bottom: 20px;
18
17
  clear: both;
19
18
  }
20
19
 
@@ -199,6 +198,10 @@ body > .footer {
199
198
  right: 3px;
200
199
  top: 8px;
201
200
 
201
+ .btn-xs {
202
+ border-radius: 11px;
203
+ }
204
+
202
205
  .remove-connection {
203
206
  .hover_show {
204
207
  display: none;
@@ -1,4 +1,4 @@
1
- require 'bookingsync_application/admin/common_base_controller'
1
+ require 'bookingsync_application/controllers/common_base'
2
2
 
3
3
  module BookingsyncPortal
4
4
  module Admin
@@ -6,7 +6,7 @@ module BookingsyncPortal
6
6
  helper BookingsyncPortal::Admin::ApplicationHelper
7
7
  layout 'bookingsync_portal/admin'
8
8
  respond_to :html
9
- include BookingsyncApplication::Admin::CommonBaseController
9
+ include BookingsyncApplication::Controllers::CommonBase
10
10
 
11
11
  before_action :enforce_remote_account!
12
12
 
@@ -10,7 +10,7 @@ module BookingsyncPortal
10
10
  def create
11
11
  BookingsyncPortal::Write::EnsureSourceExists.new(current_account).call
12
12
  @remote_account = scope.create(params_remote_account)
13
- respond_with @remote_account, location: admin_rentals_url
13
+ respond_with @remote_account, location: admin_rentals_path
14
14
  end
15
15
 
16
16
  private
@@ -9,7 +9,7 @@ module BookingsyncPortal
9
9
  @visible_rentals = current_account.rentals.visible
10
10
  @remote_accounts = current_account.remote_accounts
11
11
  @remote_rentals_by_account = current_account.remote_rentals.ordered
12
- .includes(:remote_account).group_by(&:remote_account)
12
+ .includes(:remote_account, :rental).group_by(&:remote_account)
13
13
  end
14
14
 
15
15
  def show
@@ -24,7 +24,7 @@ module BookingsyncPortal
24
24
  end
25
25
  if rental.surface.to_i > 0
26
26
  details << t(:surface_html, scope: scope,
27
- count: rental.surface.to_i)
27
+ count: rental.surface.to_i, unit: rental.surface_unit_symbol)
28
28
  end
29
29
 
30
30
  safe_join(details, ', ')
@@ -1,7 +1,7 @@
1
1
  class BookingsyncPortal::Account < ActiveRecord::Base
2
2
  self.table_name = 'accounts'
3
3
 
4
- include BookingSync::Engine::Model
4
+ include BookingSync::Engine::Models::Account
5
5
 
6
6
  has_many :remote_accounts, class_name: BookingsyncPortal.remote_account_model, dependent: :destroy
7
7
  has_many :remote_rentals, class_name: BookingsyncPortal.remote_rental_model, through: :remote_accounts
@@ -9,12 +9,11 @@ class BookingsyncPortal::Connection < ActiveRecord::Base
9
9
 
10
10
  validate :matching_accounts, if: -> { rental && remote_rental }
11
11
 
12
- after_save :notify_via_message_bus
13
- after_destroy :notify_via_message_bus
12
+ after_commit :notify_via_message_bus
14
13
 
15
14
  def notify_via_message_bus
16
15
  MessageBus.publish "/account-#{rental.account_id}", { refresh_from:
17
- BookingsyncPortal::Routes.admin_rental_path(rental, format: :js)
16
+ BookingsyncPortal::Engine.routes.url_helpers.admin_rental_path(rental, format: :js)
18
17
  }
19
18
  end
20
19
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  <article>
2
2
  <header>
3
- <%= link_to icon("times", t('.close')), admin_root_url, class: "pull-right" %>
3
+ <%= link_to icon("times", t('.close')), admin_root_path, class: "pull-right" %>
4
4
  <h1><%=t '.title' %></h1>
5
5
  </header>
6
6
  <%= render 'help' %>
@@ -13,7 +13,7 @@
13
13
  <small><%= remote_rental.display_name %></small>
14
14
  </h4>
15
15
  <div class="status">
16
- <%= link_to bookingsync_portal.admin_connection_path(rental.connection),
16
+ <%= link_to BookingsyncPortal::Engine.routes.url_helpers.admin_connection_path(rental.connection),
17
17
  class: ["btn", "btn-xs", "remove-connection", rental.remote_rental.synchronized? ? "btn-success" : "btn-warning"],
18
18
  data: { disable_with: t('.disconnecting_rental') }, method: :delete, remote: true do %>
19
19
  <% unless rental.remote_rental.synchronized? %>
@@ -1,5 +1,4 @@
1
- <div class="panel panel-remote" id="<%= dom_id remote_rental %>"
2
- data-uid="<%= remote_rental.uid %>">
1
+ <div class="panel panel-remote" id="<%= dom_id remote_rental %>">
3
2
  <div class="panel-body-grid">
4
3
  <div class="panel-body-grid-photo">
5
4
  </div>
@@ -1,6 +1,6 @@
1
1
  <%- content_for :navbar_right do -%>
2
2
  <ul class="nav navbar-nav">
3
- <li><%= link_to icon("life-ring", t('.help')), admin_help_url %></li>
3
+ <li><%= link_to icon("life-ring", t('.help')), admin_help_path %></li>
4
4
  </ul>
5
5
  <%- end -%>
6
6
  <div class="rentals-container row">
@@ -10,13 +10,14 @@
10
10
  <legend class="text-center"><%= image_tag('bookingsync_portal/bookingsync.png', alt: 'BookingSync') %></legend>
11
11
  </div>
12
12
  <div class="rentals-list-scroll">
13
- <%= render "rentals", visible_rentals: @visible_rentals, not_connected_rentals: @not_connected_rentals %>
13
+ <%= render "rentals", visible_rentals: @visible_rentals,
14
+ not_connected_rentals: @not_connected_rentals %>
14
15
  </div>
15
16
  </div>
16
17
  </div>
17
18
  <div class="col-xs-6">
18
19
  <div class="remote-rentals-list rentals-list"
19
- data-connect-url="<%= bookingsync_portal.admin_connections_url %>">
20
+ data-connect-url="<%= BookingsyncPortal::Engine.routes.url_helpers.admin_connections_path %>">
20
21
  <div class="rentals-list-header">
21
22
  <legend class="text-center">
22
23
  <%= image_tag("#{BookingsyncPortal.portal_name.parameterize}.png",
@@ -1,7 +1,7 @@
1
1
  $("#<%= dom_id @rental %>").replaceWith(
2
2
  <%- if @rental.connected? %>
3
3
  "<%=j render 'connected_rental', rental: @rental, remote_rental: @rental.remote_rental,
4
- disconnect_url: bookingsync_portal.admin_connection_url(@rental.connection) %>");
4
+ disconnect_url: BookingsyncPortal::Engine.routes.url_helpers.admin_connection_path(@rental.connection) %>");
5
5
  <%- else %>
6
6
  "<%=j render 'rental', rental: @rental %>");
7
7
  <%- end %>
@@ -13,7 +13,7 @@
13
13
  </button>
14
14
  <%- end -%>
15
15
  <div>
16
- <%= link_to icon("globe", BookingsyncPortal.portal_name), admin_root_url,
16
+ <%= link_to icon("globe", BookingsyncPortal.portal_name), admin_root_path,
17
17
  class: "navbar-brand h1",
18
18
  data: { toggle: "dropdown" } %>
19
19
  </a>
@@ -65,8 +65,8 @@ en:
65
65
  other: '<strong>%{count}</strong> People'
66
66
  surface_html:
67
67
  zero: ''
68
- one: '<span>Surface</span> <strong>%{count}m²</strong>'
69
- other: '<span>Surface</span> <strong>%{count}m²</strong>'
68
+ one: '<span>Surface</span> <strong>%{count}%{unit}</strong>'
69
+ other: '<span>Surface</span> <strong>%{count}%{unit}</strong>'
70
70
  no_name: Unnamed rental
71
71
  remote_rental:
72
72
  no_name: Unnamed remote rental
@@ -1,4 +1,4 @@
1
- class CreateAccounts < ActiveRecord::Migration
1
+ class CreateAccounts < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :accounts do |t|
4
4
  t.string :provider
@@ -1,4 +1,4 @@
1
- class CreateRentals < ActiveRecord::Migration
1
+ class CreateRentals < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :rentals do |t|
4
4
  t.belongs_to :account, index: true
@@ -1,4 +1,4 @@
1
- class CreateRemoteAccounts < ActiveRecord::Migration
1
+ class CreateRemoteAccounts < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :remote_accounts do |t|
4
4
  t.belongs_to :account, index: true
@@ -1,4 +1,4 @@
1
- class CreateRemoteRentals < ActiveRecord::Migration
1
+ class CreateRemoteRentals < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :remote_rentals do |t|
4
4
  t.belongs_to :remote_account, index: true
@@ -1,4 +1,4 @@
1
- class CreateConnections < ActiveRecord::Migration
1
+ class CreateConnections < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :connections do |t|
4
4
  t.belongs_to :remote_rental, index: true
@@ -1,4 +1,4 @@
1
- class CreatePhotos < ActiveRecord::Migration
1
+ class CreatePhotos < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :photos do |t|
4
4
  t.belongs_to :rental, index: true
@@ -1,4 +1,4 @@
1
- class CreateRates < ActiveRecord::Migration
1
+ class CreateRates < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :rates do |t|
4
4
  t.belongs_to :rental, index: true
@@ -1,4 +1,4 @@
1
- class AddSyncedSourceIdToAccount < ActiveRecord::Migration
1
+ class AddSyncedSourceIdToAccount < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column :accounts, :synced_source_id, :integer
4
4
  end
@@ -0,0 +1,9 @@
1
+ class CreateBookings < ActiveRecord::Migration[4.2]
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
@@ -74,15 +74,4 @@ module BookingsyncPortal
74
74
  message_bus_channel_scope
75
75
  end
76
76
  end
77
-
78
- # use this until migrated to ruby 2.3, https://bugs.ruby-lang.org/issues/10871, https://github.com/puma/puma/issues/647
79
- module Routes
80
- module UrlHelpers
81
- include BookingsyncPortal::Engine.routes.url_helpers
82
- end
83
- extend UrlHelpers
84
- def self.default_url_options
85
- {}
86
- end
87
- end
88
77
  end
@@ -24,7 +24,7 @@ class BookingsyncPortal::BookingMap
24
24
 
25
25
  bookings.each do |booking|
26
26
  (booking.start_at.to_date...booking.end_at.to_date).each do |day|
27
- if day >= from && day <= to
27
+ if day >= from && day < to
28
28
  days[day] = statuses[booking.status.downcase.to_sym]
29
29
  end
30
30
  end
@@ -5,5 +5,14 @@ module BookingsyncPortal
5
5
  config.generators do |g|
6
6
  g.install :install
7
7
  end
8
+
9
+ if defined?(Sprockets) && Sprockets::VERSION.chr.to_i >= 3
10
+ initializer 'bookingsync_portal.assets.precompile' do |app|
11
+ app.config.assets.precompile += %w(
12
+ bookingsync_portal/help/connect.gif
13
+ bookingsync_portal/bookingsync.png
14
+ )
15
+ end
16
+ end
8
17
  end
9
18
  end
@@ -1,3 +1,3 @@
1
1
  module BookingsyncPortal
2
- VERSION = '0.8.5'
2
+ VERSION = "3.0.0"
3
3
  end
@@ -2,5 +2,10 @@ class Rental < BookingsyncPortal::Rental
2
2
  synced associations: [:photos, :rates],
3
3
  local_attributes: [:position, :published_at],
4
4
  include: [:availability],
5
- delegate_attributes: [:name, :sleeps, :sleeps_max, :bedrooms_count, :bathrooms_count, :surface]
5
+ delegate_attributes: [:name, :sleeps, :sleeps_max, :bedrooms_count, :bathrooms_count,
6
+ :surface, :surface_symbol]
7
+
8
+ def surface_unit_symbol
9
+ surface_unit == "imperial" ? "ft²" : "m²"
10
+ end
6
11
  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: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Marciniak
@@ -10,10 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-03-28 00:00:00.000000000 Z
13
+ date: 2020-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '5.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '5.2'
29
+ - !ruby/object:Gem::Dependency
30
+ name: sprockets-rails
17
31
  requirement: !ruby/object:Gem::Requirement
18
32
  requirements:
19
33
  - - ">="
@@ -27,49 +41,55 @@ dependencies:
27
41
  - !ruby/object:Gem::Version
28
42
  version: '0'
29
43
  - !ruby/object:Gem::Dependency
30
- name: sprockets-rails
44
+ name: sprockets
31
45
  requirement: !ruby/object:Gem::Requirement
32
46
  requirements:
33
- - - "~>"
47
+ - - ">="
34
48
  - !ruby/object:Gem::Version
35
- version: '2.3'
49
+ version: '4'
36
50
  type: :runtime
37
51
  prerelease: false
38
52
  version_requirements: !ruby/object:Gem::Requirement
39
53
  requirements:
40
- - - "~>"
54
+ - - ">="
41
55
  - !ruby/object:Gem::Version
42
- version: '2.3'
56
+ version: '4'
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: responders
45
59
  requirement: !ruby/object:Gem::Requirement
46
60
  requirements:
47
- - - "~>"
61
+ - - ">="
48
62
  - !ruby/object:Gem::Version
49
- version: '2.0'
63
+ version: '0'
50
64
  type: :runtime
51
65
  prerelease: false
52
66
  version_requirements: !ruby/object:Gem::Requirement
53
67
  requirements:
54
- - - "~>"
68
+ - - ">="
55
69
  - !ruby/object:Gem::Version
56
- version: '2.0'
70
+ version: '0'
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: bookingsync_application
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
- - - "~>"
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '4'
78
+ - - "<"
62
79
  - !ruby/object:Gem::Version
63
- version: 0.4.1
80
+ version: '5'
64
81
  type: :runtime
65
82
  prerelease: false
66
83
  version_requirements: !ruby/object:Gem::Requirement
67
84
  requirements:
68
- - - "~>"
85
+ - - ">="
69
86
  - !ruby/object:Gem::Version
70
- version: 0.4.1
87
+ version: '4'
88
+ - - "<"
89
+ - !ruby/object:Gem::Version
90
+ version: '5'
71
91
  - !ruby/object:Gem::Dependency
72
- name: jquery-rails
92
+ name: redis
73
93
  requirement: !ruby/object:Gem::Requirement
74
94
  requirements:
75
95
  - - ">="
@@ -83,7 +103,7 @@ dependencies:
83
103
  - !ruby/object:Gem::Version
84
104
  version: '0'
85
105
  - !ruby/object:Gem::Dependency
86
- name: jquery-ui-rails
106
+ name: jquery-rails
87
107
  requirement: !ruby/object:Gem::Requirement
88
108
  requirements:
89
109
  - - ">="
@@ -96,34 +116,62 @@ dependencies:
96
116
  - - ">="
97
117
  - !ruby/object:Gem::Version
98
118
  version: '0'
119
+ - !ruby/object:Gem::Dependency
120
+ name: jquery-ui-rails
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: 6.0.1
126
+ type: :runtime
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: 6.0.1
133
+ - !ruby/object:Gem::Dependency
134
+ name: bootstrap-sass
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "<"
138
+ - !ruby/object:Gem::Version
139
+ version: '3.5'
140
+ type: :runtime
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "<"
145
+ - !ruby/object:Gem::Version
146
+ version: '3.5'
99
147
  - !ruby/object:Gem::Dependency
100
148
  name: bootstrap-bookingsync-sass
101
149
  requirement: !ruby/object:Gem::Requirement
102
150
  requirements:
103
- - - ">="
151
+ - - "~>"
104
152
  - !ruby/object:Gem::Version
105
- version: '0'
153
+ version: 3.0.0
106
154
  type: :runtime
107
155
  prerelease: false
108
156
  version_requirements: !ruby/object:Gem::Requirement
109
157
  requirements:
110
- - - ">="
158
+ - - "~>"
111
159
  - !ruby/object:Gem::Version
112
- version: '0'
160
+ version: 3.0.0
113
161
  - !ruby/object:Gem::Dependency
114
162
  name: font-awesome-sass
115
163
  requirement: !ruby/object:Gem::Requirement
116
164
  requirements:
117
- - - ">="
165
+ - - '='
118
166
  - !ruby/object:Gem::Version
119
- version: '0'
167
+ version: 4.7.0
120
168
  type: :runtime
121
169
  prerelease: false
122
170
  version_requirements: !ruby/object:Gem::Requirement
123
171
  requirements:
124
- - - ">="
172
+ - - '='
125
173
  - !ruby/object:Gem::Version
126
- version: '0'
174
+ version: 4.7.0
127
175
  - !ruby/object:Gem::Dependency
128
176
  name: handlebars_assets
129
177
  requirement: !ruby/object:Gem::Requirement
@@ -223,7 +271,7 @@ dependencies:
223
271
  - !ruby/object:Gem::Version
224
272
  version: '0'
225
273
  - !ruby/object:Gem::Dependency
226
- name: rspec-rails
274
+ name: appraisal
227
275
  requirement: !ruby/object:Gem::Requirement
228
276
  requirements:
229
277
  - - ">="
@@ -237,7 +285,7 @@ dependencies:
237
285
  - !ruby/object:Gem::Version
238
286
  version: '0'
239
287
  - !ruby/object:Gem::Dependency
240
- name: shoulda
288
+ name: rspec-rails
241
289
  requirement: !ruby/object:Gem::Requirement
242
290
  requirements:
243
291
  - - ">="
@@ -250,6 +298,20 @@ dependencies:
250
298
  - - ">="
251
299
  - !ruby/object:Gem::Version
252
300
  version: '0'
301
+ - !ruby/object:Gem::Dependency
302
+ name: shoulda-matchers
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ version: '4'
308
+ type: :development
309
+ prerelease: false
310
+ version_requirements: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: '4'
253
315
  - !ruby/object:Gem::Dependency
254
316
  name: factory_girl_rails
255
317
  requirement: !ruby/object:Gem::Requirement
@@ -294,6 +356,20 @@ dependencies:
294
356
  version: '0'
295
357
  - !ruby/object:Gem::Dependency
296
358
  name: sqlite3
359
+ requirement: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '1.4'
364
+ type: :development
365
+ prerelease: false
366
+ version_requirements: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - "~>"
369
+ - !ruby/object:Gem::Version
370
+ version: '1.4'
371
+ - !ruby/object:Gem::Dependency
372
+ name: rubocop
297
373
  requirement: !ruby/object:Gem::Requirement
298
374
  requirements:
299
375
  - - ">="
@@ -307,7 +383,21 @@ dependencies:
307
383
  - !ruby/object:Gem::Version
308
384
  version: '0'
309
385
  - !ruby/object:Gem::Dependency
310
- name: rubocop
386
+ name: pry-rails
387
+ requirement: !ruby/object:Gem::Requirement
388
+ requirements:
389
+ - - ">="
390
+ - !ruby/object:Gem::Version
391
+ version: '0'
392
+ type: :development
393
+ prerelease: false
394
+ version_requirements: !ruby/object:Gem::Requirement
395
+ requirements:
396
+ - - ">="
397
+ - !ruby/object:Gem::Version
398
+ version: '0'
399
+ - !ruby/object:Gem::Dependency
400
+ name: rails-controller-testing
311
401
  requirement: !ruby/object:Gem::Requirement
312
402
  requirements:
313
403
  - - ">="
@@ -332,6 +422,7 @@ files:
332
422
  - MIT-LICENSE
333
423
  - README.md
334
424
  - Rakefile
425
+ - app/assets/config/manifest.js
335
426
  - app/assets/images/bookingsync_portal/bookingsync.png
336
427
  - app/assets/images/bookingsync_portal/help/connect.gif
337
428
  - app/assets/javascripts/bookingsync_portal/admin/application.js.coffee
@@ -342,7 +433,7 @@ files:
342
433
  - app/assets/javascripts/bookingsync_portal/admin/rentals.js.coffee
343
434
  - app/assets/javascripts/bookingsync_portal/admin/templates/filter_input.hbs
344
435
  - app/assets/javascripts/bookingsync_portal/admin/vendor/css-contains.js
345
- - app/assets/stylesheets/bookingsync_portal/admin/application.css.scss
436
+ - app/assets/stylesheets/bookingsync_portal/admin/application.scss
346
437
  - app/controllers/bookingsync_portal/admin/base_controller.rb
347
438
  - app/controllers/bookingsync_portal/admin/connections_controller.rb
348
439
  - app/controllers/bookingsync_portal/admin/help_controller.rb
@@ -388,6 +479,7 @@ files:
388
479
  - db/migrate/20150520134912_create_photos.rb
389
480
  - db/migrate/20150521091056_create_rates.rb
390
481
  - db/migrate/20151210164752_add_synced_source_id_to_account.rb
482
+ - db/migrate/20160301141356_create_bookings.rb
391
483
  - lib/bookingsync_portal.rb
392
484
  - lib/bookingsync_portal/booking_map.rb
393
485
  - lib/bookingsync_portal/engine.rb
@@ -422,8 +514,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
514
  - !ruby/object:Gem::Version
423
515
  version: '0'
424
516
  requirements: []
425
- rubyforge_project:
426
- rubygems_version: 2.4.8
517
+ rubygems_version: 3.0.1
427
518
  signing_key:
428
519
  specification_version: 4
429
520
  summary: A common base for creating BookingSync portal applications.