user_mgmt 0.0.5 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/lib/user_mgmt/version.rb +1 -1
- data/lib/user_mgmt.rb +1 -1
- metadata +2 -5
- data/lib/generators/templates/README +0 -10
- data/lib/generators/user_mgmt/install_generator.rb +0 -22
- data/lib/user_mgmt/engine.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f06905117a9b6e7b7d68c5ea4e1cc311397cffc4
|
4
|
+
data.tar.gz: d70f2983904a19767dc15a2534552c641e2c259a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22e062cf0010f6275de305ea035101573c59dd2b17fd334ee65086e06b7554f62e18ab609e27ffa8ce77ed416fa47ac9d8e8aa57ba15290fabade5733b82019f
|
7
|
+
data.tar.gz: f0f2cbb90480923bf109f706d09e38af78e02cb5c95f3fee60afbbcca56d8dceb7b9477f6dfddb19ae79fdd1df5c52c8503ee20bd6b6553977af0d6307755b3c
|
data/README.md
CHANGED
@@ -12,11 +12,9 @@ And then execute:
|
|
12
12
|
|
13
13
|
$ bundle
|
14
14
|
|
15
|
-
|
15
|
+
Or install it yourself as:
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
This generator will install an initializer which describes all the gem's configuration options and you must take a look at it.
|
17
|
+
$ gem install user_mgmt
|
20
18
|
|
21
19
|
## Usage
|
22
20
|
|
data/lib/user_mgmt/version.rb
CHANGED
data/lib/user_mgmt.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Faria, Fernando Gorodscy, Josh Leslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -99,12 +99,9 @@ files:
|
|
99
99
|
- app/controllers/user_mgmt_controller.rb
|
100
100
|
- app/views/user_mgmt/registrations/_user_form.html.haml
|
101
101
|
- app/views/user_mgmt/registrations/new.html.haml
|
102
|
-
- lib/generators/templates/README
|
103
102
|
- lib/generators/templates/user_mgmt.rb
|
104
|
-
- lib/generators/user_mgmt/install_generator.rb
|
105
103
|
- lib/user_mgmt.rb
|
106
104
|
- lib/user_mgmt/configurator.rb
|
107
|
-
- lib/user_mgmt/engine.rb
|
108
105
|
- lib/user_mgmt/version.rb
|
109
106
|
- spec/spec_helper.rb
|
110
107
|
- user_mgmt.gemspec
|
@@ -1,10 +0,0 @@
|
|
1
|
-
===============================================================================
|
2
|
-
|
3
|
-
Some setup you must do manually if you haven't yet:
|
4
|
-
|
5
|
-
1. Ensure you have defined your external database URI, in
|
6
|
-
config/initializers/user_mgmt.rb:
|
7
|
-
|
8
|
-
config.external_database_URI = "yourexternaldatabaseuri.com"
|
9
|
-
|
10
|
-
===============================================================================
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'rails/generators'
|
2
|
-
module UserMgmt
|
3
|
-
module Generators
|
4
|
-
class InstallGenerator < Rails::Generators::Base
|
5
|
-
source_root File.expand_path("../../templates", __FILE__)
|
6
|
-
|
7
|
-
desc "Creates a UserMgmt initializer and copy locale files to your application."
|
8
|
-
|
9
|
-
def copy_initializer
|
10
|
-
template "user_mgmt.rb", "config/initializers/user_mgmt.rb"
|
11
|
-
end
|
12
|
-
|
13
|
-
# def copy_locale
|
14
|
-
# copy_file "../../../config/locales/en.yml", "config/locales/user_mgmt.en.yml"
|
15
|
-
# end
|
16
|
-
|
17
|
-
def show_readme
|
18
|
-
readme "README" if behavior == :invoke
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|