edem_oauth_user 0.1.0 → 0.1.1

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: c0e8a19aa795a7fb5ea5020c86112e846ad10ca4
4
- data.tar.gz: 43aed68692987d3276872440fc76c5e2eae81f98
3
+ metadata.gz: 8286be78e8a1016041a26ddb54fa8f057e51be91
4
+ data.tar.gz: 437b866f6db25439381439a99e795c4be5b446e5
5
5
  SHA512:
6
- metadata.gz: 828f4f687d131f0a15c6da84f0b83c66e921406bd71b45e6be58f754ad196e57284d7d79ebfe440007665ae22f0fd1852963ba7bec66363938e3b5e7b34c4eb6
7
- data.tar.gz: e1c2df6a9f71385891a1cf029574e52408cc369e41dbdfb292d864448a28c662705b686806950143c7c6ce85d7e8b98f472438856c90ec631e8177beac51ec93
6
+ metadata.gz: 6dbe41f0078576e6b9064c94073e9fb32c921b119d6a0c11c53d7d847c10e1a9c55df662aa1d508a65ce6b9ebf7546435e00c8ac420163b320641b641b5374b2
7
+ data.tar.gz: 4547d80c637857b07ac4c487536f1b23482f85bc0698970ed2886522216c1c5b8eb6ab28ff69f922cf81c158946ead2ff9270ddb9e36924f2e24facee05ff378
Binary file
@@ -1,3 +1,3 @@
1
1
  module EdemOauthUser
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,3 +1,4 @@
1
+ require "tasks/loader.rb" if defined?(Rails)
1
2
  require "edem_oauth_user/version"
2
3
  require 'edem_oauth_user/find_or_create'
3
4
  require 'edem_oauth_user/info'
@@ -0,0 +1,10 @@
1
+ namespace :edem_oauth_user do
2
+ task install: :environment do
3
+ `bundle exec rails generate migration add_access_token_to_users access_token refresh_token`
4
+ puts "model and migration created. run: 'rake db:migrate'"
5
+ end
6
+ task uninstall: :environment do
7
+ bundle exec 'rails d migration add_access_token_to_users'
8
+ puts "model and migration destroyed. You need to rollback DB"
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class Loader < Rails::Railtie
2
+ rake_tasks do
3
+ load 'tasks/edem_oauth_user.rake'
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edem_oauth_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr
@@ -79,12 +79,15 @@ files:
79
79
  - Rakefile
80
80
  - bin/console
81
81
  - bin/setup
82
+ - edem_oauth_user-0.1.0.gem
82
83
  - edem_oauth_user.gemspec
83
84
  - lib/edem_oauth_user.rb
84
85
  - lib/edem_oauth_user/find_or_create.rb
85
86
  - lib/edem_oauth_user/info.rb
86
87
  - lib/edem_oauth_user/version.rb
87
88
  - lib/models/user_info.rb
89
+ - lib/tasks/edem_oauth_user.rake
90
+ - lib/tasks/loader.rb
88
91
  homepage:
89
92
  licenses: []
90
93
  metadata: {}