apicasso 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: c102f8c260f993349064d24057e88c0966be73fa
4
- data.tar.gz: 388abb13d3a70fdfff51841012d7552d2ed8f789
3
+ metadata.gz: f4b6020281c79bc852fde82ddf19ebb0d6ef6aee
4
+ data.tar.gz: 5469d93b6d1237d6940519f3ab601df95c87b4fa
5
5
  SHA512:
6
- metadata.gz: 6337478894237bcf29575aa785a45c819cae0c1434c2b11c22268e7508eeafe5d6f68dd1682cac73d0376b7138eebc50e0e735e59d77807c7481301cb27ad771
7
- data.tar.gz: dd9e019838d4dc9f938c7bdeaf752c082c1974c92008a40ca00e9d5f53221bde82063ba30d5aa332b18736c18d5ce2ec708eef70911827f6162ebe4bfadc8551
6
+ metadata.gz: 3bd146c98f45a7baea201d8a1c6c171c8b2b9232c0bb7f29b526ed759b3140734609ddbc471df15f9e8bb4851323314e4c3990a3aadddf5ff08d4d5a11315cfd
7
+ data.tar.gz: eee19d4a0103f526f99d7a2059002817d7923a9c224f81a22ce3a418871fc521a1feadade836c7183d43cbd42325033793690c2a4b07435d87888a4755eef00c
@@ -3,7 +3,7 @@
3
3
  require 'securerandom'
4
4
  module Apicasso
5
5
  # A model to abstract API access, with scope options, token generation, request limiting
6
- class Key < ApplicationRecord
6
+ class Key < Apicasso::ApplicationRecord
7
7
  before_create :set_auth_token
8
8
 
9
9
  private
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Apicasso
4
4
  # A model to abstract API access, with scope options, token generation, request limiting
5
- class Request < ApplicationRecord
5
+ class Request < Apicasso::ApplicationRecord
6
6
  belongs_to :api_key, class_name: 'Apicasso::Key'
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Apicasso
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apicasso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Bellincanta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-24 00:00:00.000000000 Z
11
+ date: 2018-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler