wine_bouncer 0.5.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -9
  3. data/CHANGELOG.md +5 -1
  4. data/Gemfile +7 -3
  5. data/README.md +5 -5
  6. data/Rakefile +2 -0
  7. data/UPGRADING.md +6 -0
  8. data/lib/generators/templates/wine_bouncer.rb +2 -0
  9. data/lib/generators/wine_bouncer/initializer_generator.rb +2 -0
  10. data/lib/wine_bouncer/auth_methods/auth_methods.rb +2 -0
  11. data/lib/wine_bouncer/auth_strategies/default.rb +2 -0
  12. data/lib/wine_bouncer/auth_strategies/protected.rb +2 -0
  13. data/lib/wine_bouncer/auth_strategies/swagger.rb +2 -0
  14. data/lib/wine_bouncer/base_strategy.rb +2 -0
  15. data/lib/wine_bouncer/configuration.rb +2 -0
  16. data/lib/wine_bouncer/errors.rb +2 -0
  17. data/lib/wine_bouncer/extension.rb +2 -0
  18. data/lib/wine_bouncer/oauth2.rb +2 -0
  19. data/lib/wine_bouncer/version.rb +3 -1
  20. data/lib/wine_bouncer.rb +2 -0
  21. data/spec/dummy/app/api/default_api.rb +2 -0
  22. data/spec/dummy/app/api/protected_api.rb +2 -0
  23. data/spec/dummy/app/api/swagger_api.rb +2 -0
  24. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  25. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  26. data/spec/dummy/app/models/user.rb +2 -0
  27. data/spec/dummy/config/application.rb +2 -0
  28. data/spec/dummy/config/boot.rb +2 -0
  29. data/spec/dummy/config/environment.rb +2 -0
  30. data/spec/dummy/config/environments/development.rb +2 -0
  31. data/spec/dummy/config/environments/production.rb +2 -0
  32. data/spec/dummy/config/environments/test.rb +4 -1
  33. data/spec/dummy/config/initializers/assets.rb +2 -0
  34. data/spec/dummy/config/initializers/backtrace_silencers.rb +2 -0
  35. data/spec/dummy/config/initializers/cookies_serializer.rb +2 -0
  36. data/spec/dummy/config/initializers/doorkeeper.rb +2 -0
  37. data/spec/dummy/config/initializers/filter_parameter_logging.rb +2 -0
  38. data/spec/dummy/config/initializers/inflections.rb +2 -0
  39. data/spec/dummy/config/initializers/mime_types.rb +2 -0
  40. data/spec/dummy/config/initializers/secret_token.rb +2 -0
  41. data/spec/dummy/config/initializers/session_store.rb +2 -0
  42. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -0
  43. data/spec/dummy/config/routes.rb +2 -0
  44. data/spec/dummy/db/migrate/20140915153344_create_users.rb +2 -0
  45. data/spec/dummy/db/migrate/20140915160601_create_doorkeeper_tables.rb +2 -0
  46. data/spec/dummy/db/schema.rb +2 -0
  47. data/spec/factories/access_token.rb +2 -0
  48. data/spec/factories/application.rb +2 -0
  49. data/spec/factories/user.rb +2 -0
  50. data/spec/intergration/oauth2_default_strategy_spec.rb +2 -0
  51. data/spec/intergration/oauth2_protected_strategy_spec.rb +2 -0
  52. data/spec/intergration/oauth2_swagger_strategy_spec.rb +2 -0
  53. data/spec/lib/generators/wine_bouncer/initializer_generator_spec.rb +3 -1
  54. data/spec/lib/wine_bouncer/auth_methods/auth_methods_spec.rb +2 -0
  55. data/spec/lib/wine_bouncer/auth_strategies/default_spec.rb +2 -0
  56. data/spec/lib/wine_bouncer/auth_strategies/swagger_spec.rb +2 -0
  57. data/spec/rails_helper.rb +2 -0
  58. data/spec/shared/orm/active_record.rb +2 -0
  59. data/spec/spec_helper.rb +2 -0
  60. data/wine_bouncer.gemspec +4 -4
  61. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6961476143d7f8be5bc53b9268c7950a374d31f
4
- data.tar.gz: 0d507a032e778c40bc314fbd77e92b20e654004f
3
+ metadata.gz: 7299e034fff833ad12c89307d28b058eb9819902
4
+ data.tar.gz: 1792e3d936d4d74e0d0a1ff89194394e4fc4eb37
5
5
  SHA512:
6
- metadata.gz: edce51422f46f91269b531449998f8bdaaf1489b3ad168fed239c7155623577a3ed02a457d0556c6f0c134baab2da84d74f9e8a318fc77bfc93917c2150ca236
7
- data.tar.gz: ad1c4c0eb4b7cb6663bcd48425399ddbe74cb12b2001a7a9229b0b6c81fe9eb06f09d2ca6b8279293c4252193308ddab6aabeb39d4d48f0f3d99fc613dc6e501
6
+ metadata.gz: 8d5f7d22ecedf5c66140fc96aeed92ad174230279f160d451372f1471882d48f4ebab6d7ee8e97098dbd4f533dd6b989652d0e37ea68548795d6700ffe46ecbd
7
+ data.tar.gz: 0672c75da327503196e0f6243432788758355c8c12bfb81dd94f4f63d6aad8fda5df7d130be89772da8dbea377e3c9fe17ee3a26a9274c329032378e5f98b6d3
data/.travis.yml CHANGED
@@ -5,17 +5,16 @@ before_install:
5
5
  language: ruby
6
6
  cache: bundler
7
7
  rvm:
8
- - 2.0.0
9
8
  - 2.1.0
10
- - 2.2.0
11
- - 2.3.0
9
+ - 2.2.2
10
+ - 2.2.5
11
+ - 2.3.1
12
12
  env:
13
- - rails=4.1.1 grape=0.12.0 doorkeeper=2.0.1
14
- - rails=4.1.1 grape=0.13.0 doorkeeper=2.1.4
15
- - rails=4.2.0 grape=0.10.0 doorkeeper=2.2.1
16
- - rails=4.2.0 grape=0.11.0 doorkeeper=3.1.0
17
- - rails=4.2.0 grape=0.13.0 doorkeeper=3.1.0
18
- - rails=4.2.0 grape=0.14.0 doorkeeper=3.1.0
13
+
14
+ - rails=4.2.6 grape=0.15.0 doorkeeper=3.1.0
15
+ - rails=4.2.6 grape=0.15.0 doorkeeper=4.0.0
16
+ - rails=4.2.6 grape=0.16.2 doorkeeper=3.1.0
17
+ - rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
19
18
  addons:
20
19
  code_climate:
21
20
  repo_token: ab1b6ce5f973da033f80ae2e99fadbb32b2f9c37892703956d8ef954c8e8134e
@@ -23,3 +22,7 @@ notifications:
23
22
  hipchat:
24
23
  rooms:
25
24
  secure: SUWenlDzlDbpryO1QzD+rN4MxIBpAAzwsFqnnkyRQ11thRVdvKuT2TUd+RlYImLXDNkvNjqmpXh7mihtcro9g8unR3nF1UKbuAPIv2kCklsio0jAnjVn7+h1l56hsa90Jy9t/YpKtoLx2QNWLz70n8VrtGJMAt53T6tZdgNUp58=
25
+ matrix:
26
+ exclude:
27
+ - rvm: 2.1.0
28
+ env: rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
1
  Changelog
2
2
  =========
3
+ ## 1.0
4
+ * [#61](https://github.com/antek-drzewiecki/wine_bouncer/pull/61): Travis cleanup Rails 4.1.x is EOL. Ruby 2.0 is unsupported.
5
+ * [#60](https://github.com/antek-drzewiecki/wine_bouncer/pull/60): Rails 5, Doorkeeper 4, grape 0.16.2 support. Thanks @texpert
6
+
3
7
  ## 0.5.1
4
- * [#56](https://github.com/antek-drzewiecki/wine_bouncer/pull/57): Removed locks for doorkeeper
8
+ * [#57](https://github.com/antek-drzewiecki/wine_bouncer/pull/57): Removed locks for doorkeeper
5
9
  * [#56](https://github.com/antek-drzewiecki/wine_bouncer/pull/56): Grape 0.14.x support, removed locks.
6
10
  * Tested against ruby 2.3.0
7
11
 
data/Gemfile CHANGED
@@ -1,8 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
- ENV['grape'] ||= '0.14.0'
4
- ENV['rails'] ||= '4.2.0'
5
- ENV['doorkeeper'] ||= '3.1.0'
5
+ ENV['grape'] ||= '0.16.2'
6
+ ENV['rails'] ||= '5.0.0'
7
+ ENV['doorkeeper'] ||= '4.0.0'
8
+
9
+ ruby '>=2.2.2' if ENV['rails'][0].to_i > 4
6
10
 
7
11
  gem 'rails', ENV['rails']
8
12
 
data/README.md CHANGED
@@ -29,7 +29,7 @@ Table of Contents
29
29
 
30
30
  ## Requirements
31
31
  - Ruby > 2.0
32
- - Doorkeeper > 1.4.0 and < 4.0
32
+ - Doorkeeper > 1.4.0 and < 4.1
33
33
  - Grape > 0.10 and < 1.0
34
34
  Please submit pull requests and Travis env bumps for newer dependency versions.
35
35
 
@@ -38,7 +38,7 @@ Please submit pull requests and Travis env bumps for newer dependency versions.
38
38
  Add this line to your application's Gemfile:
39
39
 
40
40
  ```ruby
41
- gem 'wine_bouncer', '~> 0.5.1'
41
+ gem 'wine_bouncer', '~> 1.0.0'
42
42
  ```
43
43
 
44
44
  And then execute:
@@ -227,13 +227,13 @@ A full working sample app (or starter template) can be found at [grape-doorkeepe
227
227
 
228
228
  Since we want the gem tested against several rails versions we use the same way to prepare our development environment as Doorkeeper.
229
229
 
230
- To install the development environment for rails 3.2.18, you can also specify a different rails version to test against.
230
+ To install the development environment for rails 4.2.6, you can also specify a different rails version to test against.
231
231
 
232
- `rails=3.2.18 bundle install`
232
+ `rails=4.2.6 bundle install`
233
233
 
234
234
  To run the specs.
235
235
 
236
- `rails=3.2.18 bundle exec rake`
236
+ `rails=4.2.6 bundle exec rake`
237
237
 
238
238
  ## Contributing
239
239
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
 
3
5
  require 'rspec/core/rake_task'
data/UPGRADING.md CHANGED
@@ -1,6 +1,12 @@
1
1
  Upgrading WineBouncer
2
2
  =====================
3
3
 
4
+
5
+ ## Upgrading to >= 1.0
6
+
7
+ No DSL changes have been made. This is just a stability release from we can work to next releases.
8
+
9
+
4
10
  ## Upgrading to >= 0.5.0
5
11
 
6
12
  WineBouncer's exceptions `OAuthUnauthorizedError` and `OAuthForbiddenError` now come with a
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  WineBouncer.configure do |config|
2
4
  config.auth_strategy = :default
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module Generators
3
5
  class InitializerGenerator < ::Rails::Generators::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module AuthMethods
3
5
  attr_accessor :doorkeeper_access_token
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module AuthStrategies
3
5
  class Default < ::WineBouncer::BaseStrategy
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module AuthStrategies
3
5
  class Protected < WineBouncer::BaseStrategy
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module AuthStrategies
3
5
  class Swagger < ::WineBouncer::BaseStrategy
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  class BaseStrategy
3
5
  attr_accessor :api_context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
 
3
5
  class << self
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module Errors
3
5
  class UnconfiguredError < StandardError; end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  module Extension
3
5
  def oauth2(*scopes)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
4
  class OAuth2 < Grape::Middleware::Base
3
5
  include Doorkeeper::Helpers::Controller
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module WineBouncer
2
- VERSION = '0.5.1'
4
+ VERSION = '1.0.0'
3
5
  end
data/lib/wine_bouncer.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'grape'
2
4
  require 'doorkeeper'
3
5
  require 'wine_bouncer/version'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Api
2
4
 
3
5
  ###
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Api
2
4
 
3
5
  ###
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Api
2
4
 
3
5
  ###
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class ApplicationController < ActionController::Base
2
4
  # Prevent CSRF attacks by raising an exception.
3
5
  # For APIs, you may want to use :null_session instead.
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ApplicationHelper
2
4
  end
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class User < ActiveRecord::Base
2
4
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.expand_path('../boot', __FILE__)
2
4
 
3
5
  # Pick the frameworks you want:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Set up gems listed in the Gemfile.
2
4
  ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Load the Rails application.
2
4
  require File.expand_path('../application', __FILE__)
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Rails.application.configure do
2
4
  # Settings specified here will take precedence over those in config/application.rb.
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Rails.application.configure do
2
4
  # Settings specified here will take precedence over those in config/application.rb.
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Dummy::Application.configure do
2
4
  # Settings specified here will take precedence over those in config/application.rb.
3
5
 
@@ -14,7 +16,8 @@ Dummy::Application.configure do
14
16
 
15
17
  # Configure static asset server for tests with Cache-Control for performance.
16
18
  config.serve_static_assets = true
17
- config.static_cache_control = 'public, max-age=3600'
19
+ config.static_cache_control = 'public, max-age=3600' if Rails::VERSION::MAJOR < 5
20
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } if Rails::VERSION::MAJOR >= 5
18
21
 
19
22
  # Show full error reports and disable caching.
20
23
  config.consider_all_requests_local = true
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # Version of your assets, change this if you want to expire all your assets.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Doorkeeper.configure do
2
4
  # Change the ORM that doorkeeper will use.
3
5
  # Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # Configure sensitive parameters which will be filtered from the log file.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # Add new inflection rules using the following format. Inflections
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # Add new mime types for use in respond_to blocks:
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Dummy::Application.config.secret_token = 'c65fd1ffec8275651d1fd06ec3a4914ba644bbeb87729594a3b35fb4b7ad4cccd298d77baf63f7a6513d437e5b95eef9637f9c37a9691c3ed41143d8b5f9a5ef'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # This file contains settings for ActionController::ParamsWrapper which
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Rails.application.routes.draw do
2
4
  use_doorkeeper
3
5
  mount Api::DefaultApiUnderTest => '/default_api'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class CreateUsers < ActiveRecord::Migration
2
4
  def change
3
5
  create_table :users do |t|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class CreateDoorkeeperTables < ActiveRecord::Migration
2
4
  def change
3
5
  create_table :oauth_applications do |t|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # encoding: UTF-8
2
4
  # This file is auto-generated from the current state of the database. Instead
3
5
  # of editing this file, please use the migrations feature of Active Record to
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  FactoryGirl.define do
2
4
  factory :access_token, class: Doorkeeper::AccessToken do
3
5
  sequence(:resource_owner_id) { |n| n }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  FactoryGirl.define do
2
4
  factory :application, class: Doorkeeper::Application do
3
5
  sequence(:name) { |n| "Application #{n}" }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  FactoryGirl.define do
2
4
  factory :user do
3
5
  sequence(:name) { |n| "user-#{n}" }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
  require 'json'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
  require 'json'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
  require 'json'
3
5
 
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'generator_spec'
2
4
  require 'rails_helper'
3
5
  require 'spec_helper'
4
6
  require 'generators/wine_bouncer/initializer_generator'
5
7
 
6
8
  describe WineBouncer::Generators::InitializerGenerator, type: :generator do
7
- destination '/tmp'
9
+ destination '/tmp/wine_bouncer'
8
10
 
9
11
  before do
10
12
  prepare_destination
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
 
3
5
  describe ::WineBouncer::AuthMethods do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
  require 'wine_bouncer/auth_strategies/default'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_helper'
2
4
  require 'wine_bouncer/auth_strategies/swagger'
3
5
 
data/spec/rails_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
4
  ENV['RAILS_ENV'] ||= 'test'
3
5
  ORM = (ENV['orm'] || :active_record).to_sym
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ActiveRecord::Migration.verbose = false
2
4
  load Rails.root + 'db/schema.rb'
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by the `rspec --init` command. Conventionally, all
2
4
  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
5
  # The generated `.rspec` file contains `--require spec_helper` which will cause this
data/wine_bouncer.gemspec CHANGED
@@ -18,16 +18,16 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  spec.add_runtime_dependency 'grape', '~> 0.10', '< 1.0'
21
- spec.add_runtime_dependency 'doorkeeper', '>= 1.4', '< 4.0'
21
+ spec.add_runtime_dependency 'doorkeeper', '>= 1.4', '< 4.1'
22
22
 
23
23
  spec.add_development_dependency 'railties'
24
24
  spec.add_development_dependency 'bundler', '~> 1.7'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec-rails', '~> 3.2.0'
25
+ spec.add_development_dependency 'rake', '~> 11.0'
26
+ spec.add_development_dependency 'rspec-rails', '~> 3.5.0'
27
27
  spec.add_development_dependency 'factory_girl', '~> 4.4.0'
28
28
  spec.add_development_dependency 'generator_spec', '~> 0.9.0'
29
29
  spec.add_development_dependency 'sqlite3'
30
30
  spec.add_development_dependency 'database_cleaner', '~> 1.3.0'
31
- spec.add_development_dependency 'rubocop', '0.35.1'
31
+ spec.add_development_dependency 'rubocop', '0.41.1'
32
32
  spec.add_development_dependency 'yard', '~> 0.8.7'
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wine_bouncer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antek Drzewiecki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '1.4'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '4.0'
42
+ version: '4.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '1.4'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '4.0'
52
+ version: '4.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: railties
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -84,28 +84,28 @@ dependencies:
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '10.0'
87
+ version: '11.0'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '10.0'
94
+ version: '11.0'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: rspec-rails
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: 3.2.0
101
+ version: 3.5.0
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: 3.2.0
108
+ version: 3.5.0
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: factory_girl
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -168,14 +168,14 @@ dependencies:
168
168
  requirements:
169
169
  - - '='
170
170
  - !ruby/object:Gem::Version
171
- version: 0.35.1
171
+ version: 0.41.1
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - '='
177
177
  - !ruby/object:Gem::Version
178
- version: 0.35.1
178
+ version: 0.41.1
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: yard
181
181
  requirement: !ruby/object:Gem::Requirement