da-has_token 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -6,7 +6,7 @@ A token generator for Rails 3 and Active Record.
6
6
 
7
7
  Put the following gem requirement in your `Gemfile`:
8
8
 
9
- gem "da-has_token"
9
+ gem "da-has_token", "~> 1.0.1"
10
10
 
11
11
  ## Usage
12
12
 
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module HasToken
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -0,0 +1,6 @@
1
+ require "da-has_token/railtie"
2
+ require "da-has_token/active_record"
3
+
4
+ module HasToken
5
+ autoload :TokenGenerator, "da-has_token/token_generator.rb"
6
+ end
@@ -3,7 +3,7 @@ require File.expand_path('../boot', __FILE__)
3
3
  require 'rails/all'
4
4
 
5
5
  Bundler.require
6
- require "has_token"
6
+ require "da-has_token"
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
File without changes
File without changes
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da-has_token
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stefan Daschek
@@ -58,11 +58,11 @@ extensions: []
58
58
  extra_rdoc_files: []
59
59
 
60
60
  files:
61
- - lib/has_token/active_record.rb
62
- - lib/has_token/railtie.rb
63
- - lib/has_token/token_generator.rb
64
- - lib/has_token/version.rb
65
- - lib/has_token.rb
61
+ - lib/da-has_token/active_record.rb
62
+ - lib/da-has_token/railtie.rb
63
+ - lib/da-has_token/token_generator.rb
64
+ - lib/da-has_token/version.rb
65
+ - lib/da-has_token.rb
66
66
  - MIT-LICENSE
67
67
  - Rakefile
68
68
  - README.md
@@ -87,7 +87,9 @@ files:
87
87
  - test/dummy/config/locales/en.yml
88
88
  - test/dummy/config/routes.rb
89
89
  - test/dummy/config.ru
90
+ - test/dummy/db/development.sqlite3
90
91
  - test/dummy/db/test.sqlite3
92
+ - test/dummy/log/development.log
91
93
  - test/dummy/log/test.log
92
94
  - test/dummy/public/404.html
93
95
  - test/dummy/public/422.html
@@ -152,7 +154,9 @@ test_files:
152
154
  - test/dummy/config/locales/en.yml
153
155
  - test/dummy/config/routes.rb
154
156
  - test/dummy/config.ru
157
+ - test/dummy/db/development.sqlite3
155
158
  - test/dummy/db/test.sqlite3
159
+ - test/dummy/log/development.log
156
160
  - test/dummy/log/test.log
157
161
  - test/dummy/public/404.html
158
162
  - test/dummy/public/422.html
data/lib/has_token.rb DELETED
@@ -1,6 +0,0 @@
1
- require "has_token/railtie"
2
- require "has_token/active_record"
3
-
4
- module HasToken
5
- autoload :TokenGenerator, "has_token/token_generator.rb"
6
- end