user_mgmt 0.0.612 → 0.0.613
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/README.md +31 -0
- data/lib/user_mgmt/engine.rb +4 -4
- data/lib/user_mgmt/version.rb +1 -1
- data/user_mgmt.gemspec +45 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f902b6d0f9863a78dbdac96906ac77d09ada17bb
|
4
|
+
data.tar.gz: 5e83caa1a009cad20f9954aedec92dac7fda35e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f986fcfcdd9e1c5d22ce227d0057db6191239c89c6220288d5f2f1d429080a88fae0d2cc732cd85eeaa3c3ddcdc7a66b96fdf19bd19d929f374c811db5b59939
|
7
|
+
data.tar.gz: 4fa5139139d054b7445aae8e6ada8c5e7de40405adc02eb76736810a6c0a7f984c12131110f3efaf9dae3764246e6b7b9932e6d4618b2267b8180d642f52855f
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# UserMgmt
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'user_mgmt'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Then you have to run the generator:
|
16
|
+
|
17
|
+
rails generate user_mgmt:install
|
18
|
+
|
19
|
+
This generator will install an initializer which describes all the gem's configuration options and you must take a look at it.
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO: Write usage instructions here
|
24
|
+
|
25
|
+
## Contributing
|
26
|
+
|
27
|
+
1. Fork it
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
31
|
+
5. Create new Pull Request
|
data/lib/user_mgmt/engine.rb
CHANGED
@@ -10,10 +10,10 @@ module UserMgmt
|
|
10
10
|
|
11
11
|
#http://stackoverflow.com/questions/8304225/omniauth-route-issue-related-to-ruby-version
|
12
12
|
middleware.use OmniAuth::Builder do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
# provider :developer unless Rails.env.production?
|
14
|
+
provider :twitter, ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
|
15
|
+
provider :facebook, ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET']
|
16
|
+
end
|
17
17
|
|
18
18
|
end
|
19
19
|
end
|
data/lib/user_mgmt/version.rb
CHANGED
data/user_mgmt.gemspec
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "user_mgmt/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "user_mgmt"
|
9
|
+
s.version = UserMgmt::VERSION
|
10
|
+
s.authors = ["Danilo Faria, Fernando Gorodscy, Josh Leslie"]
|
11
|
+
s.email = ["su_critic@hotmail.com"]
|
12
|
+
s.description = %q{Includes functionality for site-specific registration and third-party authentication strategies such as social networks (Facebook, Twitter and Linkedin) and freemail providers (Yahoo, Windows Live and Gmail) with support for external database authentication.}
|
13
|
+
s.summary = %q{Various authentication options in an outside database.}
|
14
|
+
s.homepage = "https://github.com/Methos2013/user_mgmt_gem"
|
15
|
+
s.license = "MIT"
|
16
|
+
|
17
|
+
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md","user_mgmt.gemspec"]
|
18
|
+
s.test_files = Dir["test/**/*"]
|
19
|
+
|
20
|
+
#s.files = `git ls-files`.split($/)
|
21
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
|
+
#s.test_files = s.files.grep(%r{^(test|s|features)/})
|
23
|
+
s.require_paths = ["lib"]
|
24
|
+
|
25
|
+
# s.add_dependency "rails", "~> 4.0.0"
|
26
|
+
s.add_development_dependency "sqlite3"
|
27
|
+
|
28
|
+
s.add_development_dependency "rspec"
|
29
|
+
s.add_development_dependency "genspec"
|
30
|
+
s.add_development_dependency "rails"
|
31
|
+
s.add_development_dependency "haml"
|
32
|
+
s.add_development_dependency "haml-rails"
|
33
|
+
s.add_development_dependency "bundler", "~> 1.3"
|
34
|
+
s.add_development_dependency "rake"
|
35
|
+
s.add_development_dependency 'sass-rails'#, '~> 3.2'
|
36
|
+
s.add_development_dependency 'bootstrap-sass'#, '~> 2.3.2.1'
|
37
|
+
s.add_development_dependency 'omniauth'
|
38
|
+
s.add_development_dependency 'omniauth-facebook'
|
39
|
+
s.add_development_dependency 'omniauth-twitter'
|
40
|
+
s.add_development_dependency 'omniauth-linkedin'
|
41
|
+
s.add_development_dependency 'omniauth-windowslive'
|
42
|
+
s.add_development_dependency 'omniauth-yahoo'
|
43
|
+
s.add_development_dependency 'omniauth-google'
|
44
|
+
|
45
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: user_mgmt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.613
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Faria, Fernando Gorodscy, Josh Leslie
|
@@ -287,6 +287,8 @@ files:
|
|
287
287
|
- lib/user_mgmt.rb
|
288
288
|
- MIT-LICENSE
|
289
289
|
- Rakefile
|
290
|
+
- README.md
|
291
|
+
- user_mgmt.gemspec
|
290
292
|
- test/controllers/user_mgmt/registrations_controller_test.rb
|
291
293
|
- test/controllers/user_mgmt/sessions_controller_test.rb
|
292
294
|
- test/dummy/app/assets/javascripts/application.js
|