token_auth 0.3.0.beta1 → 0.3.0.beta2

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: 064111700731121265d4aada907cee407a956a06
4
- data.tar.gz: d3b86f096bd944e54e154c9da276f304617946e1
3
+ metadata.gz: 28ecd746060687cf1a14084aaa84536a76eda612
4
+ data.tar.gz: fc839f2c7bb17b0fe713b022da9dae5f086e941b
5
5
  SHA512:
6
- metadata.gz: 5bb1c3bf891008100dc89ca0e9996c04b4fe0e1e301a7d9ecc7915e6e73675794ba553d5accaf1750441308caa3116d61a6457eb9001ceb58c82a627f0df364b
7
- data.tar.gz: 5a2d00439e671fa715bb52de55a89f5f8146592d922155a81350224af4b52095e434900103e3accd44333637dabd60ca0c43215f072be3412717428069f088df
6
+ metadata.gz: 2f9463cd34313112a53111822040bd91afc17172d059fd5918bbab3f7e3cfec1ad4527b274319a9c982662ff5f72624925fbdfaa85cf7f3eac7fe1621268df5d
7
+ data.tar.gz: 850aaf315769faf2bf98ae379dd27a8b4a1265b1b22786d72ee6905fcfb5a4daa1cbc491ea6b5842c80425d393fe71a46a75a97308a62fb27b6d7aadc64f3b15
data/README.md CHANGED
@@ -27,9 +27,7 @@ Add the gem to your Gemfile:
27
27
  ```ruby
28
28
  # Gemfile
29
29
 
30
- gem 'token_auth',
31
- git: 'https://github.com/NU-CBITS/token_auth_server_rails',
32
- tag: '0.1.1'
30
+ gem "token_auth", "~> 0.3.X"
33
31
  ```
34
32
 
35
33
  Install it:
@@ -41,7 +39,7 @@ bundle
41
39
  Install and run the migrations:
42
40
 
43
41
  ```
44
- rake token_auth:install:migrations; rake db:migrate
42
+ rails token_auth:install:migrations; rails db:migrate
45
43
  ```
46
44
 
47
45
  Mount the Engine and make its routes available to the host application:
@@ -49,7 +47,7 @@ Mount the Engine and make its routes available to the host application:
49
47
  ```ruby
50
48
  # config/routes.rb
51
49
 
52
- mount TokenAuth::Engine => '/token_auth'
50
+ mount TokenAuth::Engine => "/token_auth"
53
51
  ```
54
52
 
55
53
  ## Configuration
@@ -106,6 +104,6 @@ bundle
106
104
  Run the unit tests and linters for this Engine:
107
105
 
108
106
  ```
109
- RAILS_ENV=test bin/rake db:create db:migrate
110
- bin/rake
107
+ RAILS_ENV=test rails db:drop db:create db:migrate
108
+ rake
111
109
  ```
@@ -21,7 +21,7 @@ module TokenAuth
21
21
  AUTH_HEADER = "X-AUTH-TOKEN"
22
22
 
23
23
  def options
24
- render nothing: true
24
+ head :ok
25
25
  end
26
26
 
27
27
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # Engine version.
3
3
  module TokenAuth
4
- VERSION = "0.3.0.beta1"
4
+ VERSION = "0.3.0.beta2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta1
4
+ version: 0.3.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-07 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.0.0.rc1
33
+ version: 5.0.X
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 5.0.0.rc1
40
+ version: 5.0.X
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 5.0.0.rc1
47
+ version: 5.0.X
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 5.0.0.rc1
54
+ version: 5.0.X
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: railties
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 5.0.0.rc1
61
+ version: 5.0.X
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 5.0.0.rc1
68
+ version: 5.0.X
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pg
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 3.5.0.beta3
89
+ version: 3.5.X
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 3.5.0.beta3
96
+ version: 3.5.X
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: capybara
99
99
  requirement: !ruby/object:Gem::Requirement