canard 0.6.1.pre → 0.6.2.pre

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
  SHA256:
3
- metadata.gz: bb5b1f8ff0d7c747fc14740e05d7e8b2e9ef602618f3374726a0fa6ade307392
4
- data.tar.gz: c6b1ae2b1770fd7094ec90e5cc36a9246554edd641fbe354fd59e2bda02dd754
3
+ metadata.gz: a2b63e25b11a1fcf475de2e2b926fcca879a761956e58a8f0344dc744cd7a685
4
+ data.tar.gz: a8e62fc83f67834bb8ac37f5e97d4f9b9249dadacb11f8a836c1dac0a5d7a98e
5
5
  SHA512:
6
- metadata.gz: 02db33fa93e06956f349bec178bf3942c994ad19e389e1d9dad2dc44a86bfc7260a9e738574fac5c4a8afd581f1468fd8a3192fe8918acf498b5e0d56d2c7c46
7
- data.tar.gz: 6c5400553c9de218530a918d1dbc5123add24cce9a32ab321d1d97220f6bed373c32070c43f87087f41843cffd09f6bf9422117d64380bc450e0fff00a9f69a5
6
+ metadata.gz: 0be35910bf0f05133c7e6f57c0b951cda9bdad11fecbffab54595fee4a81731b452734552908d951457d6e5042c7188f0dec285b636decdfe96a3337a94fc81e
7
+ data.tar.gz: 37c08fd6ad799bf4b2e1d523151b6df01ed7f31c9030829e858a98711dc69bec6853734acd1fd256c7d76e4dca9195e3d0c3e558f8fe370ef763e7de38913001
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency 'rails', '~> 3.2', '>= 3.2'
26
26
 
27
27
  s.requirements << "cancan's community supported Rails4+ compatible cancancan fork."
28
- s.add_runtime_dependency 'cancancan', '>= 1'
28
+ s.add_runtime_dependency 'cancancan', '>= 1', '< 3.0'
29
29
  s.add_runtime_dependency 'role_model', '~> 0'
30
30
  end
@@ -30,7 +30,7 @@ module Canard
30
30
 
31
31
  def active_record_table_exists?
32
32
  respond_to?(:table_exists?) && table_exists?
33
- rescue ActiveRecord::NoDatabaseError, StandardError
33
+ rescue ::ActiveRecord::NoDatabaseError, StandardError
34
34
  false
35
35
  end
36
36
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Canard
4
- VERSION = '0.6.1.pre'
4
+ VERSION = '0.6.2.pre'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1.pre
4
+ version: 0.6.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - James McCarthy
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1'
68
+ - - "<"
69
+ - !ruby/object:Gem::Version
70
+ version: '3.0'
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - ">="
73
76
  - !ruby/object:Gem::Version
74
77
  version: '1'
78
+ - - "<"
79
+ - !ruby/object:Gem::Version
80
+ version: '3.0'
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: role_model
77
83
  requirement: !ruby/object:Gem::Requirement