authful 0.5.14 → 0.5.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmM5MTY2NjVjMWMzYzA0NmQ3YzI3OThhYTljYzgyYmJiNTJkNmZmZg==
4
+ ZWEwM2I0ZmE3ZGUzNGI4OGM4MTAxMTAwZDRlMTAxMWNkMTY5NDQ4Ng==
5
5
  data.tar.gz: !binary |-
6
- MWM1N2ZlZjA2NWYzZGRiNzIwMTdkMzJjMzU1MjQyMzVjNjgyZWU1Nw==
6
+ MWEzMWMxYWFkZjczYWZkMmMzNzUzZDI5MjVlNjE3NWFlMDQ0NjhlOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmRiOGRkYWI0ODg4YmNlYmI1MWU3ODVlZGI1OWVhMmNiMDNmNWI4ZWI1NWMy
10
- MWZiYTE0OGRhYmM3MDY4YThjN2Y5YmI1ZjU3NGYzMTJjYjYwYzA1MmYzNDc0
11
- MTgzMDhmOGQ1NWY5M2ZlZjUyM2JhYmZjZmIxMjM1Mjg1ODJjNzU=
9
+ ZWI1OWNiNzY3YWQxMjI4YmE5Mzk1ZmEzNmJhYWI5MTIxYmI0MjNmZTI1YWRm
10
+ OTZjYTU4MDIyODYyYjAwM2E4OWZlOTFlNjdjOTZiYzg5Mjk2ZDk4NTZkMzlm
11
+ ZTA0NWI4MzljNzYxNTJlMmFhZDI4M2RjOGIzZTg2NzUyNDU0Nzc=
12
12
  data.tar.gz: !binary |-
13
- ODNiNzI0MTdlMzNhMWFmNzExNzRjN2ExMWYxZjg5MTg1NWE3NDNiZDQ0MmU2
14
- NTA2ZDg1NjFjODlkNjdkNzM1ZWJjNDIzZDIzYjc0MDcyZDE2MTMxY2IzOWM4
15
- MjMzNWZiNDYwZmU0MTBjNjNkZTIwZGE3MjljNDdkMTc0MWFlMDI=
13
+ ZGExYmVmOTU0ZDY3OTBiZWE0NGEzOTc3YTE5NDQxZTM4ZGY2OGNlMzYxNjk2
14
+ OTIyYWUyZjFiNmRlZjVmZjlhMjk2Mzg4ZDY0YjQ5ZDBhY2Q5NGY3NTcxYTAz
15
+ MDgxYmM1MjY3OGFlNGE4NWEyNjJlMDdmOGQ0ZDMwOTdlY2Y1NGY=
data/authful.gemspec CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency 'rest-client'
22
- spec.add_dependency 'active_support'
23
22
 
24
23
  spec.add_development_dependency "bundler", "~> 1.3"
25
24
  spec.add_development_dependency "rake"
data/lib/authful/api.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  module Authful
2
2
  module Api
3
- extend ActiveSupport::Concern
3
+ def self.included(base)
4
+ base.extend ClassMethods
5
+ end
4
6
 
5
7
  module ClassMethods
6
8
  def enroll(email)
@@ -1,9 +1,10 @@
1
1
  module Authful
2
2
  module Endpoint
3
- extend ActiveSupport::Concern
4
-
5
- included do
6
- @config = Struct.new(:endpoint, :api_key).new
3
+ def self.included(base)
4
+ base.extend ClassMethods
5
+ base.class_eval do
6
+ @config = Struct.new(:endpoint, :api_key).new
7
+ end
7
8
  end
8
9
 
9
10
  module ClassMethods
data/lib/authful.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'active_support/concern'
2
1
  require 'rest-client'
3
2
  require 'json'
4
3
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Wyrosdick
@@ -25,20 +25,6 @@ dependencies:
25
25
  - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: active_support
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ! '>='
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ! '>='
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: bundler
44
30
  requirement: !ruby/object:Gem::Requirement