user_mgmt 0.0.513 → 0.0.521

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/user_mgmt/registrations.js +2 -0
  3. data/app/assets/javascripts/user_mgmt/sessions.js +2 -0
  4. data/app/assets/stylesheets/user_mgmt/{application.css → application.css.scss} +1 -0
  5. data/app/assets/stylesheets/user_mgmt/registrations.css +34 -0
  6. data/app/assets/stylesheets/user_mgmt/sessions.css +4 -0
  7. data/app/controllers/user_mgmt/registrations_controller.rb +23 -0
  8. data/app/controllers/user_mgmt/sessions_controller.rb +24 -0
  9. data/app/controllers/user_mgmt_controller.rb +4 -0
  10. data/app/helpers/user_mgmt/registrations_helper.rb +4 -0
  11. data/app/helpers/user_mgmt/sessions_helper.rb +4 -0
  12. data/app/views/layouts/user_mgmt/application.html.haml +11 -0
  13. data/app/views/user_mgmt/registrations/_user_form.html.haml +15 -0
  14. data/app/views/user_mgmt/registrations/edit.html.haml +5 -0
  15. data/app/views/user_mgmt/registrations/new.html.haml +5 -0
  16. data/app/views/user_mgmt/sessions/new.html.haml +14 -0
  17. data/config/routes.rb +10 -1
  18. data/lib/generators/templates/user_mgmt.rb +1 -1
  19. data/lib/generators/user_mgmt/install_generator.rb +6 -0
  20. data/lib/user_mgmt/engine.rb +1 -0
  21. data/lib/user_mgmt/version.rb +1 -1
  22. data/lib/user_mgmt.rb +1 -7
  23. metadata +64 -103
  24. data/.gitignore +0 -8
  25. data/.rspec +0 -1
  26. data/Gemfile +0 -14
  27. data/Gemfile.lock +0 -113
  28. data/README.md +0 -31
  29. data/app/assets/images/user_mgmt/.keep +0 -0
  30. data/app/views/layouts/user_mgmt/application.html.erb +0 -14
  31. data/bin/rails +0 -8
  32. data/spec/generators/install_generator_spec.rb +0 -9
  33. data/spec/spec_helper.rb +0 -14
  34. data/spec/user_mgmt_spec.rb +0 -5
  35. data/test/dummy/README.rdoc +0 -28
  36. data/test/dummy/Rakefile +0 -6
  37. data/test/dummy/app/assets/images/.keep +0 -0
  38. data/test/dummy/app/assets/javascripts/application.js +0 -13
  39. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  40. data/test/dummy/app/controllers/application_controller.rb +0 -5
  41. data/test/dummy/app/controllers/concerns/.keep +0 -0
  42. data/test/dummy/app/helpers/application_helper.rb +0 -2
  43. data/test/dummy/app/mailers/.keep +0 -0
  44. data/test/dummy/app/models/.keep +0 -0
  45. data/test/dummy/app/models/concerns/.keep +0 -0
  46. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  47. data/test/dummy/bin/bundle +0 -3
  48. data/test/dummy/bin/rails +0 -4
  49. data/test/dummy/bin/rake +0 -4
  50. data/test/dummy/config/application.rb +0 -23
  51. data/test/dummy/config/boot.rb +0 -5
  52. data/test/dummy/config/database.yml +0 -25
  53. data/test/dummy/config/environment.rb +0 -5
  54. data/test/dummy/config/environments/development.rb +0 -29
  55. data/test/dummy/config/environments/production.rb +0 -80
  56. data/test/dummy/config/environments/test.rb +0 -36
  57. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  58. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  59. data/test/dummy/config/initializers/inflections.rb +0 -16
  60. data/test/dummy/config/initializers/mime_types.rb +0 -5
  61. data/test/dummy/config/initializers/secret_token.rb +0 -12
  62. data/test/dummy/config/initializers/session_store.rb +0 -3
  63. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  64. data/test/dummy/config/locales/en.yml +0 -23
  65. data/test/dummy/config/routes.rb +0 -4
  66. data/test/dummy/config.ru +0 -4
  67. data/test/dummy/lib/assets/.keep +0 -0
  68. data/test/dummy/log/.keep +0 -0
  69. data/test/dummy/public/404.html +0 -58
  70. data/test/dummy/public/422.html +0 -58
  71. data/test/dummy/public/500.html +0 -57
  72. data/test/dummy/public/favicon.ico +0 -0
  73. data/test/integration/navigation_test.rb +0 -10
  74. data/test/test_helper.rb +0 -15
  75. data/test/user_mgmt_test.rb +0 -7
  76. data/user_mgmt.gemspec +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f498b5a9d1db8bf4ba79b933b023a630b7d7b34
4
- data.tar.gz: 1028318d060adef9d5469a2b0541f40673750374
3
+ metadata.gz: 639c51eb721fd7776fcc8772d05b4dbe56779c4f
4
+ data.tar.gz: 124895dab5feef38f50287c3ef125cf95b0f8e0b
5
5
  SHA512:
6
- metadata.gz: 706f43c27cd562114e6d592810d91ac636b140528c2e0d672b2445590e4d7c29e9be9d9b3571dcbaab30ffa32c972de27d04435a7bea77f4a92fdf729032ec70
7
- data.tar.gz: 9113227a8ae341cef0e83b6d31cb8f679353243520c6ecf2278e871eae1e1b63b174d4fbfe9c64561248d5be221af8a8400e00337a1d3a790a04dd4f30e65ad7
6
+ metadata.gz: c0023d24fc049ce83de24f4f635be3b8327b585c4b5b40c7dea8f33fad059693c59186e261baeb0d7ed9d4f3ec7d53417d296805bb52874e46c4a598a461ad40
7
+ data.tar.gz: 4ee423f60ebe74713e7eb926ac461fb18aaa6f4f2cc4d7f74441497e501cf5567dff43f24713271e9e422350742fa4dd1b9ebd32ba8c89e57355a7eefc066a5c
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -11,3 +11,4 @@
11
11
  *= require_self
12
12
  *= require_tree .
13
13
  */
14
+ @import "bootstrap";
@@ -0,0 +1,34 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
5
+ body {
6
+ padding-top: 40px;
7
+ padding-bottom: 40px;
8
+ background-color: #f5f5f5;
9
+ }
10
+
11
+ .form-signin {
12
+ max-width: 300px;
13
+ padding: 19px 29px 29px;
14
+ margin: 0 auto 20px;
15
+ background-color: #fff;
16
+ border: 1px solid #e5e5e5;
17
+ -webkit-border-radius: 5px;
18
+ -moz-border-radius: 5px;
19
+ border-radius: 5px;
20
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
21
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
22
+ box-shadow: 0 1px 2px rgba(0,0,0,.05);
23
+ }
24
+ .form-signin .form-signin-heading,
25
+ .form-signin .checkbox {
26
+ margin-bottom: 10px;
27
+ }
28
+ .form-signin input[type="text"],
29
+ .form-signin input[type="password"] {
30
+ font-size: 16px;
31
+ height: auto;
32
+ margin-bottom: 15px;
33
+ padding: 7px 9px;
34
+ }
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,23 @@
1
+ require_dependency "user_mgmt/application_controller"
2
+
3
+ module UserMgmt
4
+ class RegistrationsController < ApplicationController
5
+
6
+ # GET /user/sign_up
7
+ def new
8
+
9
+ end
10
+
11
+ # POST /user
12
+ def create
13
+
14
+ redirect_to main_app.root_path
15
+ end
16
+
17
+ # GET /user/edit
18
+ def edit
19
+
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,24 @@
1
+ require_dependency "user_mgmt/application_controller"
2
+
3
+ module UserMgmt
4
+ class SessionsController < ApplicationController
5
+
6
+ # GET /user/log_in
7
+ def new
8
+
9
+ end
10
+
11
+ # POST /user/log_in
12
+ def create
13
+
14
+ redirect_to main_app.root_path
15
+ end
16
+
17
+ # DELETE /user/log_out
18
+ def destroy
19
+
20
+ redirect_to main_app.root_path
21
+ end
22
+
23
+ end
24
+ end
@@ -0,0 +1,4 @@
1
+ # All controllers are inherited from here.
2
+ class UserMgmtController < UserMgmt.parent_controller.constantize
3
+
4
+ end
@@ -0,0 +1,4 @@
1
+ module UserMgmt
2
+ module RegistrationsHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module UserMgmt
2
+ module SessionsHelper
3
+ end
4
+ end
@@ -0,0 +1,11 @@
1
+ !!! 5
2
+ %html
3
+ %head
4
+
5
+ %title UserMgmt
6
+ = stylesheet_link_tag "user_mgmt/application", media: "all"
7
+ = javascript_include_tag "user_mgmt/application"
8
+ = csrf_meta_tags
9
+
10
+ %body
11
+ = yield
@@ -0,0 +1,15 @@
1
+ / - unless .errors.empty?
2
+ / #warning
3
+ / Errors prevented this user from being #{controller.action_name}d:
4
+ / %ul
5
+ / - .errors.full_messages.each do |error|
6
+ / %li= error
7
+
8
+ %div
9
+ = text_field :user, 'Email', :class => "input-block-level", :placeholder => 'Email'
10
+
11
+ %div
12
+ = text_field :user, 'Password', :class => "input-block-level", :placeholder => 'Password'
13
+
14
+ %div
15
+ = text_field :user, 'Password Confirmation', :class => "input-block-level", :placeholder => 'Password Confirmation'
@@ -0,0 +1,5 @@
1
+ .container
2
+ = form_tag main_app.root_path, :class => "form-signin", :method => :get do
3
+ %h2 Edit
4
+ = render :partial => 'user_form'
5
+ = submit_tag 'submit', :class => "btn btn-large btn-primary"
@@ -0,0 +1,5 @@
1
+ .container
2
+ = form_tag user_path, :class => "form-signin", :method => :post do
3
+ %h2 Sign up
4
+ = render :partial => 'user_form'
5
+ = submit_tag 'submit', :class => "btn btn-large btn-primary"
@@ -0,0 +1,14 @@
1
+ .container
2
+ = form_tag user_log_in_path, :class => "form-signin", :method => :post do
3
+ %h2.form-signin-heading Log in
4
+
5
+ %div
6
+ = text_field :user, 'Email', :class => "input-block-level", :placeholder => "Email"
7
+
8
+ %div
9
+ = text_field :user, 'Password', :class => "input-block-level", :placeholder => 'Password'
10
+
11
+ = submit_tag 'submit', :class => "btn btn-large btn-primary"
12
+
13
+
14
+
data/config/routes.rb CHANGED
@@ -1,2 +1,11 @@
1
1
  UserMgmt::Engine.routes.draw do
2
- end
2
+
3
+ get '/user/log_in' => "sessions#new", as: 'log_in'
4
+ post '/user/log_in' => "sessions#create", as: 'user_log_in'
5
+ delete '/user/log_out' => "sessions#destroy", as: 'log_out'
6
+
7
+ get '/user/sign_up' => 'registrations#new', as: 'sign_up'
8
+ get '/user/edit' => 'registrations#edit', as: 'edit'
9
+ post '/user' => 'registrations#create', as: 'user'
10
+
11
+ end
@@ -4,6 +4,6 @@ UserMgmt.setup do |config|
4
4
 
5
5
  # Ensure you defined default external database URI, otherwise
6
6
  # authentication won't be possible to happen
7
- config.external_database_URI = "yourexternaldatabaseuri.com"
7
+ config.external_database_URI = "http://localhost:3000/"
8
8
 
9
9
  end
@@ -17,6 +17,12 @@ module UserMgmt
17
17
  def show_readme
18
18
  readme "README" if behavior == :invoke
19
19
  end
20
+
21
+ def add_user_mgmt_routes
22
+ user_mgmt_route = "mount UserMgmt::Engine => '/user_mgmt'"
23
+ route user_mgmt_route
24
+ end
25
+
20
26
  end
21
27
  end
22
28
  end
@@ -1,4 +1,5 @@
1
1
  module UserMgmt
2
+ require "rails"
2
3
  class Engine < ::Rails::Engine
3
4
  isolate_namespace UserMgmt
4
5
  end
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.0.513"
2
+ VERSION = "0.0.521"
3
3
  end
data/lib/user_mgmt.rb CHANGED
@@ -6,13 +6,7 @@ module UserMgmt
6
6
 
7
7
  # URI of the external database where authentication happens and gets its data stored at
8
8
  mattr_accessor :external_database_URI
9
- @@external_database_URI = nil
10
-
11
- # The parent controller all UserMgmt controllers inherits from.
12
- # Defaults to ApplicationController. This should be set early
13
- # in the initialization process and should be set to a string.
14
- mattr_accessor :parent_controller
15
- @@parent_controller = "ApplicationController"
9
+ @@external_database_URI = "http://localhost:3000/"
16
10
 
17
11
  # Default way to setup UserMgmt. Run rails generate user_mgmt:install to create
18
12
  # a fresh initializer with all configuration values.
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.513
4
+ version: 0.0.521
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-22 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: haml-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: bundler
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -122,84 +136,72 @@ dependencies:
122
136
  - - '>='
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sass-rails
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: bootstrap-sass
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
125
167
  description: Includes functionality for site-specific registration and third-party
126
168
  authentication strategies such as social networks (Facebook, Twitter and Linkedin)
127
169
  and freemail providers (Yahoo, Windows Live and Gmail) with support for external
128
170
  database authentication.
129
171
  email:
130
172
  - su_critic@hotmail.com
131
- executables:
132
- - rails
173
+ executables: []
133
174
  extensions: []
134
175
  extra_rdoc_files: []
135
176
  files:
136
- - .gitignore
137
- - .rspec
138
- - Gemfile
139
- - Gemfile.lock
140
- - MIT-LICENSE
141
- - README.md
142
- - Rakefile
143
- - app/assets/images/user_mgmt/.keep
144
177
  - app/assets/javascripts/user_mgmt/application.js
145
- - app/assets/stylesheets/user_mgmt/application.css
178
+ - app/assets/javascripts/user_mgmt/registrations.js
179
+ - app/assets/javascripts/user_mgmt/sessions.js
180
+ - app/assets/stylesheets/user_mgmt/application.css.scss
181
+ - app/assets/stylesheets/user_mgmt/registrations.css
182
+ - app/assets/stylesheets/user_mgmt/sessions.css
146
183
  - app/controllers/user_mgmt/application_controller.rb
184
+ - app/controllers/user_mgmt/registrations_controller.rb
185
+ - app/controllers/user_mgmt/sessions_controller.rb
186
+ - app/controllers/user_mgmt_controller.rb
147
187
  - app/helpers/user_mgmt/application_helper.rb
148
- - app/views/layouts/user_mgmt/application.html.erb
149
- - bin/rails
188
+ - app/helpers/user_mgmt/registrations_helper.rb
189
+ - app/helpers/user_mgmt/sessions_helper.rb
190
+ - app/views/layouts/user_mgmt/application.html.haml
191
+ - app/views/user_mgmt/registrations/edit.html.haml
192
+ - app/views/user_mgmt/registrations/new.html.haml
193
+ - app/views/user_mgmt/registrations/_user_form.html.haml
194
+ - app/views/user_mgmt/sessions/new.html.haml
150
195
  - config/routes.rb
151
196
  - lib/generators/templates/README
152
197
  - lib/generators/templates/user_mgmt.rb
153
198
  - lib/generators/user_mgmt/install_generator.rb
154
199
  - lib/tasks/user_mgmt_tasks.rake
155
- - lib/user_mgmt.rb
156
200
  - lib/user_mgmt/engine.rb
157
201
  - lib/user_mgmt/version.rb
158
- - spec/generators/install_generator_spec.rb
159
- - spec/spec_helper.rb
160
- - spec/user_mgmt_spec.rb
161
- - test/dummy/README.rdoc
162
- - test/dummy/Rakefile
163
- - test/dummy/app/assets/images/.keep
164
- - test/dummy/app/assets/javascripts/application.js
165
- - test/dummy/app/assets/stylesheets/application.css
166
- - test/dummy/app/controllers/application_controller.rb
167
- - test/dummy/app/controllers/concerns/.keep
168
- - test/dummy/app/helpers/application_helper.rb
169
- - test/dummy/app/mailers/.keep
170
- - test/dummy/app/models/.keep
171
- - test/dummy/app/models/concerns/.keep
172
- - test/dummy/app/views/layouts/application.html.erb
173
- - test/dummy/bin/bundle
174
- - test/dummy/bin/rails
175
- - test/dummy/bin/rake
176
- - test/dummy/config.ru
177
- - test/dummy/config/application.rb
178
- - test/dummy/config/boot.rb
179
- - test/dummy/config/database.yml
180
- - test/dummy/config/environment.rb
181
- - test/dummy/config/environments/development.rb
182
- - test/dummy/config/environments/production.rb
183
- - test/dummy/config/environments/test.rb
184
- - test/dummy/config/initializers/backtrace_silencers.rb
185
- - test/dummy/config/initializers/filter_parameter_logging.rb
186
- - test/dummy/config/initializers/inflections.rb
187
- - test/dummy/config/initializers/mime_types.rb
188
- - test/dummy/config/initializers/secret_token.rb
189
- - test/dummy/config/initializers/session_store.rb
190
- - test/dummy/config/initializers/wrap_parameters.rb
191
- - test/dummy/config/locales/en.yml
192
- - test/dummy/config/routes.rb
193
- - test/dummy/lib/assets/.keep
194
- - test/dummy/log/.keep
195
- - test/dummy/public/404.html
196
- - test/dummy/public/422.html
197
- - test/dummy/public/500.html
198
- - test/dummy/public/favicon.ico
199
- - test/integration/navigation_test.rb
200
- - test/test_helper.rb
201
- - test/user_mgmt_test.rb
202
- - user_mgmt.gemspec
202
+ - lib/user_mgmt.rb
203
+ - MIT-LICENSE
204
+ - Rakefile
203
205
  homepage: https://github.com/Methos2013/user_mgmt_gem
204
206
  licenses:
205
207
  - MIT
@@ -224,45 +226,4 @@ rubygems_version: 2.0.3
224
226
  signing_key:
225
227
  specification_version: 4
226
228
  summary: Various authentication options in an outside database.
227
- test_files:
228
- - test/dummy/README.rdoc
229
- - test/dummy/Rakefile
230
- - test/dummy/app/assets/images/.keep
231
- - test/dummy/app/assets/javascripts/application.js
232
- - test/dummy/app/assets/stylesheets/application.css
233
- - test/dummy/app/controllers/application_controller.rb
234
- - test/dummy/app/controllers/concerns/.keep
235
- - test/dummy/app/helpers/application_helper.rb
236
- - test/dummy/app/mailers/.keep
237
- - test/dummy/app/models/.keep
238
- - test/dummy/app/models/concerns/.keep
239
- - test/dummy/app/views/layouts/application.html.erb
240
- - test/dummy/bin/bundle
241
- - test/dummy/bin/rails
242
- - test/dummy/bin/rake
243
- - test/dummy/config.ru
244
- - test/dummy/config/application.rb
245
- - test/dummy/config/boot.rb
246
- - test/dummy/config/database.yml
247
- - test/dummy/config/environment.rb
248
- - test/dummy/config/environments/development.rb
249
- - test/dummy/config/environments/production.rb
250
- - test/dummy/config/environments/test.rb
251
- - test/dummy/config/initializers/backtrace_silencers.rb
252
- - test/dummy/config/initializers/filter_parameter_logging.rb
253
- - test/dummy/config/initializers/inflections.rb
254
- - test/dummy/config/initializers/mime_types.rb
255
- - test/dummy/config/initializers/secret_token.rb
256
- - test/dummy/config/initializers/session_store.rb
257
- - test/dummy/config/initializers/wrap_parameters.rb
258
- - test/dummy/config/locales/en.yml
259
- - test/dummy/config/routes.rb
260
- - test/dummy/lib/assets/.keep
261
- - test/dummy/log/.keep
262
- - test/dummy/public/404.html
263
- - test/dummy/public/422.html
264
- - test/dummy/public/500.html
265
- - test/dummy/public/favicon.ico
266
- - test/integration/navigation_test.rb
267
- - test/test_helper.rb
268
- - test/user_mgmt_test.rb
229
+ test_files: []
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- .bundle/
2
- log/*.log
3
- pkg/
4
- test/dummy/db/*.sqlite3
5
- test/dummy/db/*.sqlite3-journal
6
- test/dummy/log/*.log
7
- test/dummy/tmp/
8
- test/dummy/.sass-cache
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --color
data/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Declare your gem's dependencies in user_mgmt.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group.
6
- gemspec
7
-
8
- # Declare any dependencies that are still in development here instead of in
9
- # your gemspec. These might include edge Rails or gems from your path or
10
- # Git. Remember to move these dependencies to your gemspec before releasing
11
- # your gem to rubygems.org.
12
-
13
- # To use debugger
14
- # gem 'debugger'
data/Gemfile.lock DELETED
@@ -1,113 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- user_mgmt (0.0.513)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actionmailer (4.0.0)
10
- actionpack (= 4.0.0)
11
- mail (~> 2.5.3)
12
- actionpack (4.0.0)
13
- activesupport (= 4.0.0)
14
- builder (~> 3.1.0)
15
- erubis (~> 2.7.0)
16
- rack (~> 1.5.2)
17
- rack-test (~> 0.6.2)
18
- activemodel (4.0.0)
19
- activesupport (= 4.0.0)
20
- builder (~> 3.1.0)
21
- activerecord (4.0.0)
22
- activemodel (= 4.0.0)
23
- activerecord-deprecated_finders (~> 1.0.2)
24
- activesupport (= 4.0.0)
25
- arel (~> 4.0.0)
26
- activerecord-deprecated_finders (1.0.3)
27
- activesupport (4.0.0)
28
- i18n (~> 0.6, >= 0.6.4)
29
- minitest (~> 4.2)
30
- multi_json (~> 1.3)
31
- thread_safe (~> 0.1)
32
- tzinfo (~> 0.3.37)
33
- arel (4.0.0)
34
- atomic (1.1.10)
35
- builder (3.1.4)
36
- diff-lcs (1.2.4)
37
- erubis (2.7.0)
38
- genspec (0.2.8)
39
- rspec (~> 2)
40
- sc-core-ext (~> 1.2.1)
41
- thor
42
- haml (4.0.3)
43
- tilt
44
- hike (1.2.3)
45
- i18n (0.6.4)
46
- mail (2.5.4)
47
- mime-types (~> 1.16)
48
- treetop (~> 1.4.8)
49
- mime-types (1.23)
50
- minitest (4.7.5)
51
- multi_json (1.7.7)
52
- polyglot (0.3.3)
53
- rack (1.5.2)
54
- rack-test (0.6.2)
55
- rack (>= 1.0)
56
- rails (4.0.0)
57
- actionmailer (= 4.0.0)
58
- actionpack (= 4.0.0)
59
- activerecord (= 4.0.0)
60
- activesupport (= 4.0.0)
61
- bundler (>= 1.3.0, < 2.0)
62
- railties (= 4.0.0)
63
- sprockets-rails (~> 2.0.0)
64
- railties (4.0.0)
65
- actionpack (= 4.0.0)
66
- activesupport (= 4.0.0)
67
- rake (>= 0.8.7)
68
- thor (>= 0.18.1, < 2.0)
69
- rake (10.1.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.4)
75
- rspec-expectations (2.14.0)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.1)
78
- sc-core-ext (1.2.1)
79
- activesupport (>= 2.3.5)
80
- sprockets (2.10.0)
81
- hike (~> 1.2)
82
- multi_json (~> 1.0)
83
- rack (~> 1.0)
84
- tilt (~> 1.1, != 1.3.0)
85
- sprockets-rails (2.0.0)
86
- actionpack (>= 3.0)
87
- activesupport (>= 3.0)
88
- sprockets (~> 2.8)
89
- sqlite3 (1.3.7)
90
- thor (0.18.1)
91
- thread_safe (0.1.0)
92
- atomic
93
- tilt (1.4.1)
94
- treetop (1.4.14)
95
- polyglot
96
- polyglot (>= 0.3.1)
97
- tzinfo (0.3.37)
98
- warden (1.2.3)
99
- rack (>= 1.0)
100
-
101
- PLATFORMS
102
- ruby
103
-
104
- DEPENDENCIES
105
- bundler (~> 1.3)
106
- genspec
107
- haml
108
- rails
109
- rake
110
- rspec
111
- sqlite3
112
- user_mgmt!
113
- warden
data/README.md DELETED
@@ -1,31 +0,0 @@
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
File without changes
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>UserMgmt</title>
5
- <%= stylesheet_link_tag "user_mgmt/application", media: "all" %>
6
- <%= javascript_include_tag "user_mgmt/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>