sequel-devise 0.0.11 → 0.0.12

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
- SHA1:
3
- metadata.gz: 80142c94ae893738707632a5b8feacdf20805300
4
- data.tar.gz: 3d5eef8d5ef5789641f7553421d4d98bdec85818
2
+ SHA256:
3
+ metadata.gz: eadd15ff6ee3ccaf2d4c49dc358b468ec5972b8fc8bfeeed5536e7ef22fd988c
4
+ data.tar.gz: 2075ab1f2aec15a1fe86edf56df4dc1d0f26876fe105f66f3b4e1c797edcdb85
5
5
  SHA512:
6
- metadata.gz: 8dd4cdc4caa582b464d2871639dd46c4801bb030c2a5ef269c4b5a4e4785691db32d440e681ae2037f7208cd80343dd644312af477ea912c73ba764f14d1abaa
7
- data.tar.gz: 0a6458524fc1383b220888b2f4679bc468da7b91292e217892c05df5dbc79c1a07c28044cab9c2a0531a88b10b388ea53d23c245403c049e3663f7c6cace4e70
6
+ metadata.gz: c45ec52408687a028ec355b9f71727612162d56857a09d0c63a84922299e4ead7b72b35b6abbd97da19ccfc866a8bbb2cae639e50268e0a8f89f5c510f213d54
7
+ data.tar.gz: 2feac6f1e28bcbb88a78144d572df2b3d1c7c297461609c56815d50b5065bf42c8bb2bcf749ca344e9c0a9cf10eadc31222f6d28274c16e292162cb73b809f09
data/lib/sequel-devise.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "sequel"
1
2
  require "sequel-devise/version"
2
3
  require 'sequel/plugins/devise'
3
4
  require 'orm_adapter-sequel'
@@ -1,5 +1,5 @@
1
1
  module Sequel
2
2
  module Devise
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
@@ -71,7 +71,7 @@ module Sequel
71
71
  include OverrideFixes
72
72
  end
73
73
 
74
- Model::HOOKS.reject { |hook| hook == :after_commit }.each do |hook|
74
+ ::Sequel::Model::HOOKS.reject { |hook| hook == :after_commit }.each do |hook|
75
75
  define_method(hook) do |method = nil, options = {}, &block|
76
76
  if Symbol === (if_method = options[:if])
77
77
  orig_block = block
@@ -15,6 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Sequel::Devise::VERSION
17
17
 
18
+ gem.add_dependency 'sequel', '>= 3.11.0'
18
19
  gem.add_dependency 'devise'
19
20
  gem.add_dependency 'orm_adapter-sequel'
20
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Rosenfeld Rosas
@@ -9,8 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-13 00:00:00.000000000 Z
12
+ date: 2018-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sequel
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 3.11.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: 3.11.0
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: devise
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
88
  version: '0'
75
89
  requirements: []
76
90
  rubyforge_project:
77
- rubygems_version: 2.6.11
91
+ rubygems_version: 2.7.3
78
92
  signing_key:
79
93
  specification_version: 4
80
94
  summary: Enable Devise support by adding plugin :devise to your Sequel Model