bookingsync_application 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0cbdca0e61d27b5ecef4413b40b0dba4d7f51e2d
         | 
| 4 | 
            +
              data.tar.gz: b57ad899d0954cce2416cb103651f65413f43baf
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a7d89a5becfed667dfdd0831cfc4c502109c954d5bc1310f29555326e23a0d6380ec6db428fbcfe02e52a8db79cec2081ac31d5ae15e9fb16e14b2ffcc6c979d
         | 
| 7 | 
            +
              data.tar.gz: 4884988bbcdf32507603a78e3ee5c16a508eaf3fecb125a89dda2adcb6b1689fa57a8c134aed5f06ccb38c0f28bb0c15bd090251caa89c33fa8895cfaec2efaa
         | 
    
        data/README.md
    CHANGED
    
    | @@ -10,7 +10,6 @@ A Rails engine to simplify building BookingSync Applications. | |
| 10 10 | 
             
            * add bookingsync_application to your gemfile
         | 
| 11 11 | 
             
            ```
         | 
| 12 12 | 
             
            gem 'bookingsync_application'
         | 
| 13 | 
            -
            gem 'dotenv', github: "bkeepers/dotenv" # Work around https://github.com/bkeepers/dotenv/issues/144
         | 
| 14 13 | 
             
            ```
         | 
| 15 14 | 
             
            * add to rails_helper (before spec/support inclusion):
         | 
| 16 15 | 
             
            ```
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -15,17 +15,15 @@ RDoc::Task.new(:rdoc) do |rdoc| | |
| 15 15 | 
             
              rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 16 16 | 
             
            end
         | 
| 17 17 |  | 
| 18 | 
            -
            APP_RAKEFILE = File.expand_path( | 
| 18 | 
            +
            APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
         | 
| 19 19 | 
             
            load 'rails/tasks/engine.rake'
         | 
| 20 20 |  | 
| 21 | 
            -
             | 
| 22 21 | 
             
            Bundler::GemHelper.install_tasks
         | 
| 23 22 |  | 
| 24 | 
            -
             | 
| 25 23 | 
             
            require 'rspec/core'
         | 
| 26 24 | 
             
            require 'rspec/core/rake_task'
         | 
| 27 25 |  | 
| 28 | 
            -
            desc  | 
| 29 | 
            -
            RSpec::Core::RakeTask.new(: | 
| 26 | 
            +
            desc 'Run all specs in spec directory (excluding plugin specs)'
         | 
| 27 | 
            +
            RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare')
         | 
| 30 28 |  | 
| 31 29 | 
             
            task default: :spec
         | 
| @@ -9,9 +9,7 @@ class BookingsyncApplication::Admin::BaseController < JSONAPI::ResourceControlle | |
| 9 9 |  | 
| 10 10 | 
             
              private
         | 
| 11 11 |  | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
                  end
         | 
| 16 | 
            -
                end
         | 
| 12 | 
            +
              def set_json_format
         | 
| 13 | 
            +
                request.format = :json if params[:format].blank?
         | 
| 14 | 
            +
              end
         | 
| 17 15 | 
             
            end
         | 
| @@ -1,8 +1,8 @@ | |
| 1 | 
            -
            require  | 
| 2 | 
            -
            require  | 
| 3 | 
            -
            require  | 
| 4 | 
            -
            require  | 
| 5 | 
            -
            require  | 
| 1 | 
            +
            require 'bookingsync'
         | 
| 2 | 
            +
            require 'synced'
         | 
| 3 | 
            +
            require 'dotenv-rails'
         | 
| 4 | 
            +
            require 'jsonapi-resources'
         | 
| 5 | 
            +
            require 'bookingsync_application/engine'
         | 
| 6 6 | 
             
            require 'bookingsync_application/common_base_controller'
         | 
| 7 7 |  | 
| 8 8 | 
             
            module BookingsyncApplication
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            shared_examples_for :synced_model do
         | 
| 2 | 
            -
              describe  | 
| 2 | 
            +
              describe '.included_modules' do
         | 
| 3 3 | 
             
                subject { described_class.included_modules }
         | 
| 4 4 |  | 
| 5 5 | 
             
                it { is_expected.to include Synced::HasSyncedData }
         | 
| @@ -9,7 +9,7 @@ end | |
| 9 9 | 
             
            require 'vcr'
         | 
| 10 10 |  | 
| 11 11 | 
             
            VCR.configure do |config|
         | 
| 12 | 
            -
              config.cassette_library_dir =  | 
| 12 | 
            +
              config.cassette_library_dir = 'spec/fixtures/cassettes'
         | 
| 13 13 | 
             
              config.hook_into :webmock
         | 
| 14 14 | 
             
              config.configure_rspec_metadata!
         | 
| 15 15 | 
             
              config.filter_sensitive_data('Bearer <OAUTH_TOKEN>') do |interaction|
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: bookingsync_application
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Marcin Nowicki
         | 
| @@ -10,7 +10,7 @@ authors: | |
| 10 10 | 
             
            autorequire: 
         | 
| 11 11 | 
             
            bindir: bin
         | 
| 12 12 | 
             
            cert_chain: []
         | 
| 13 | 
            -
            date: 2015-02- | 
| 13 | 
            +
            date: 2015-02-23 00:00:00.000000000 Z
         | 
| 14 14 | 
             
            dependencies:
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 16 | 
             
              name: rails
         | 
| @@ -44,16 +44,16 @@ dependencies: | |
| 44 44 | 
             
              name: jsonapi-resources
         | 
| 45 45 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 46 46 | 
             
                requirements:
         | 
| 47 | 
            -
                - - " | 
| 47 | 
            +
                - - "~>"
         | 
| 48 48 | 
             
                  - !ruby/object:Gem::Version
         | 
| 49 | 
            -
                    version:  | 
| 49 | 
            +
                    version: 0.0.16
         | 
| 50 50 | 
             
              type: :runtime
         | 
| 51 51 | 
             
              prerelease: false
         | 
| 52 52 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 53 53 | 
             
                requirements:
         | 
| 54 | 
            -
                - - " | 
| 54 | 
            +
                - - "~>"
         | 
| 55 55 | 
             
                  - !ruby/object:Gem::Version
         | 
| 56 | 
            -
                    version:  | 
| 56 | 
            +
                    version: 0.0.16
         | 
| 57 57 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 58 58 | 
             
              name: rspec-rails
         | 
| 59 59 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -152,6 +152,20 @@ dependencies: | |
| 152 152 | 
             
                - - ">="
         | 
| 153 153 | 
             
                  - !ruby/object:Gem::Version
         | 
| 154 154 | 
             
                    version: '0'
         | 
| 155 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 156 | 
            +
              name: rubocop
         | 
| 157 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 158 | 
            +
                requirements:
         | 
| 159 | 
            +
                - - ">="
         | 
| 160 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 161 | 
            +
                    version: '0'
         | 
| 162 | 
            +
              type: :development
         | 
| 163 | 
            +
              prerelease: false
         | 
| 164 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 165 | 
            +
                requirements:
         | 
| 166 | 
            +
                - - ">="
         | 
| 167 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 168 | 
            +
                    version: '0'
         | 
| 155 169 | 
             
            description: A Rails engine to simplify building BookingSync Applications
         | 
| 156 170 | 
             
            email:
         | 
| 157 171 | 
             
            - dev@bookingsync.com
         |