jive-oauth_token 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/lib/generators/jive/oauth_token/active_record_generator.rb +1 -1
- data/lib/generators/jive/oauth_token/next_migration_version.rb +1 -1
- data/lib/generators/jive/oauth_token/oauth_token_generator.rb +1 -1
- data/lib/jive/oauth_token/class_methods.rb +9 -0
- data/lib/jive/oauth_token/compatibility.rb +1 -1
- data/lib/jive/oauth_token/instance_methods.rb +9 -0
- data/lib/jive/oauth_token/version.rb +5 -3
- data/lib/jive/oauth_token.rb +7 -4
- metadata +4 -3
- data/lib/jive/oauth_token/model.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b01ca7c7dc01b55786783953b6aabe24bda64d5b
|
4
|
+
data.tar.gz: bd41455a447c753d549b374adc56e3d08748abf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a66c6663e8ec95c9549a02d3ab0f41823a382d59c2e2acd782bcf19104853a29c2b6350b2276681bee0e0f3e5ef0182db3e75fef50fb76575b2807c3c9cfa1fb
|
7
|
+
data.tar.gz: f5868d1a9be01b70db72481c7efcc984021cab559f83fd49585f694d0c87b1fdfb66b96823949aa9394e79dcb5b90a9a32482e1612bdd17bcb2b9ccb7c5fbb72
|
@@ -5,7 +5,7 @@ require "rails/generators/active_record"
|
|
5
5
|
|
6
6
|
# Extend the HasDynamicColumnsGenerator so that it creates an AR migration
|
7
7
|
module Jive
|
8
|
-
|
8
|
+
class OauthToken < ActiveRecord::Base
|
9
9
|
class ActiveRecordGenerator < ::Jive::OauthToken::Generator
|
10
10
|
include Rails::Generators::Migration
|
11
11
|
extend NextMigrationVersion
|
data/lib/jive/oauth_token.rb
CHANGED
@@ -4,11 +4,14 @@ require "active_record"
|
|
4
4
|
|
5
5
|
require "jive/oauth_token/version"
|
6
6
|
require "jive/oauth_token/compatibility"
|
7
|
-
require "jive/oauth_token/model"
|
8
7
|
|
8
|
+
require "jive/oauth_token/class_methods"
|
9
|
+
require "jive/oauth_token/instance_methods"
|
9
10
|
|
10
11
|
module Jive
|
11
|
-
|
12
|
-
|
13
|
-
end
|
12
|
+
class OauthToken < ActiveRecord::Base
|
13
|
+
end
|
14
14
|
end
|
15
|
+
|
16
|
+
Jive::OauthToken.send :include, Jive::OauthToken::InstanceMethods
|
17
|
+
Jive::OauthToken.send :extend, Jive::OauthToken::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jive-oauth_token
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Butch Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -150,8 +150,9 @@ files:
|
|
150
150
|
- lib/generators/jive/oauth_token/oauth_token_generator.rb
|
151
151
|
- lib/generators/jive/oauth_token/templates/migration_0.1.0.rb
|
152
152
|
- lib/jive/oauth_token.rb
|
153
|
+
- lib/jive/oauth_token/class_methods.rb
|
153
154
|
- lib/jive/oauth_token/compatibility.rb
|
154
|
-
- lib/jive/oauth_token/
|
155
|
+
- lib/jive/oauth_token/instance_methods.rb
|
155
156
|
- lib/jive/oauth_token/version.rb
|
156
157
|
homepage: https://github.com/butchmarshall/ruby-jive-oauth_token
|
157
158
|
licenses:
|