magic_link 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/magic_link.rb +5 -1
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ab8fd3f39c46ff25d63027ab3731317508f9ed7
4
- data.tar.gz: d7731f61d567434170de30d1d1e781eec7d1c6b0
3
+ metadata.gz: d6b4843ed87f13b6289036c98d3f9bef0b731466
4
+ data.tar.gz: b98d44cff2d470e8eed922ae6cb3b92fb78b6576
5
5
  SHA512:
6
- metadata.gz: c0389d33dcc0dc355a98993c2a2c05f6e67b82cbaef9b296906377f568a5ddc90040f8b2a9bed54bc4d2b7c7ac53dff882f3494b6c3aeaee3f8c54d69ba8d924
7
- data.tar.gz: 368afcd3785c19cff4d310caf233a455ba83c3d5c399202e2d170a3379f7f492c783837e6dae65ac5a46748b062f81b4341cdde52017f2603cad0abced215feb
6
+ metadata.gz: 9bb474b95c285f18da04c263e37efd94d3a6109849157e1d7f57a3fa1147501eb42076b8d376412a93b51e12e9ae92b1fc3fc42f28f592458b1ea13a6883baca
7
+ data.tar.gz: 2a68e5c67fd68409c80d1cb524088fc469cd7cbc8ec8610f08ed59093ee1984537e6c8b1be62a4f1ab23be0deee8ab79b987b93d99700b270777e5d9c1e825ea
data/lib/magic_link.rb CHANGED
@@ -1,3 +1,7 @@
1
- class MagicLink
1
+ require 'magic_link/client'
2
2
 
3
+ class MagicLink
4
+ def self.new key, value
5
+ MagicLink::Client.new key, value
6
+ end
3
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_link
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cristiano Betta
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-05-24 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: oauth2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '1'
13
27
  description: Wrapper for the MagicLink API and a Rails engine
14
28
  email: cbetta@gmail.com
15
29
  executables: []