eac_users_support 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c95fd1b70b9ccbae8f8940fd273453eff0c8215
4
- data.tar.gz: 8286f6693208474f56600c12a69e9648aaccd70d
3
+ metadata.gz: 8483fd78e8c397651dbb400499532c27124543b4
4
+ data.tar.gz: 179f93a172b35b19bcf4fc3e016515c116319784
5
5
  SHA512:
6
- metadata.gz: 054bd281db04194f8309bf57dca33dc58775c88aa622e8acd6ecf10efada7a0bb6f0211c7a437b05f6b095be21bd6da818cf1a00da2118964941e84c14ce0258
7
- data.tar.gz: 5bc3bb67f4c39d45196dd5afe5325a1c8eaa29e8ff8bfae464aed84a719bacac47f44f438732a6380d1d49e5d7edf3be6126a1da43ea6870276a3ba27b3d3424
6
+ metadata.gz: 07d6228b1ea4dc213c69912d2da4f94359b0e951b45aa4c70688a1376d62c94f34ebe9e149cf4e70be5a8afad8705ca57e5a6c93eb954673a4166c99be9591af
7
+ data.tar.gz: 21676b62b2e8204aa30656e58937956bbdae6d083858f59c774b1e128e5be2828e68633bdb4a744612cd8ad14a14e83f2aef9f7aa3b4994dcc642bd4c0e5fedf
data/README.rdoc CHANGED
@@ -1,3 +1,12 @@
1
1
  = UsersSupport
2
2
 
3
+ {<img src="https://badge.fury.io/rb/eac_users_support.svg"
4
+ alt="Gem Version" />}[https://badge.fury.io/rb/eac_users_support]
5
+ {<img src="https://travis-ci.org/eduardobogoni/eac_users_support.svg?branch=master"
6
+ alt="Build Status" />}[https://travis-ci.org/eduardobogoni/eac_users_support]
7
+ {<img src="https://api.codeclimate.com/v1/badges/b1d55205806a6d7a907a/maintainability"
8
+ />}[https://codeclimate.com/github/eduardobogoni/eac_users_support/maintainability]
9
+ {<img src="https://api.codeclimate.com/v1/badges/b1d55205806a6d7a907a/test_coverage"
10
+ />}[https://codeclimate.com/github/eduardobogoni/eac_users_support/test_coverage]
11
+
3
12
  This project rocks and uses MIT-LICENSE.
@@ -11,4 +11,4 @@
11
11
  // about supported directives.
12
12
  //
13
13
  //= require_tree .
14
- //= active_scaffold
14
+ //= require active_scaffold
@@ -0,0 +1 @@
1
+ @import 'active_scaffold';
@@ -1,10 +1,11 @@
1
1
  module EacUsersSupport
2
2
  module Admin
3
3
  class UsersController < ::EacUsersSupport::ApplicationController
4
- before_action :authenticate_user!
5
-
6
4
  active_scaffold ::EacUsersSupport::User do |conf|
7
5
  conf.columns.exclude :encrypted_password
6
+ %w[create update list].each do |action|
7
+ conf.send(action).columns.exclude :remember_created_at
8
+ end
8
9
  end
9
10
 
10
11
  protected
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module EacUsersSupport
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
@@ -23,13 +23,4 @@ ActiveRecord::Schema.define(version: 20180222202443) do
23
23
 
24
24
  add_index "eac_users_support_users", ["email"], name: "index_eac_users_support_users_on_email", unique: true
25
25
 
26
- create_table "users", force: :cascade do |t|
27
- t.string "email", default: "", null: false
28
- t.datetime "created_at", null: false
29
- t.datetime "updated_at", null: false
30
- t.string "encrypted_password", default: "", null: false
31
- end
32
-
33
- add_index "users", ["email"], name: "index_users_on_email", unique: true
34
-
35
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_users_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-23 00:00:00.000000000 Z
11
+ date: 2018-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -76,7 +76,7 @@ files:
76
76
  - README.rdoc
77
77
  - Rakefile
78
78
  - app/assets/javascripts/eac_users_support/application.js
79
- - app/assets/stylesheets/eac_users_support/application.css
79
+ - app/assets/stylesheets/eac_users_support/application.scss
80
80
  - app/controllers/eac_users_support/admin/users_controller.rb
81
81
  - app/controllers/eac_users_support/application_controller.rb
82
82
  - app/controllers/eac_users_support/users_controller.rb
@@ -154,46 +154,46 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.4.8
157
+ rubygems_version: 2.6.12
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Ready-to-use support for users registration, login, logout, etc, for Rails.
161
161
  test_files:
162
- - test/integration/navigation_test.rb
163
- - test/dummy/config.ru
164
- - test/dummy/README.rdoc
165
- - test/dummy/db/schema.rb
166
- - test/dummy/app/views/layouts/application.html.erb
167
- - test/dummy/app/assets/stylesheets/application.css
168
- - test/dummy/app/assets/javascripts/application.js
169
- - test/dummy/app/helpers/application_helper.rb
170
- - test/dummy/app/controllers/application_controller.rb
171
- - test/dummy/bin/bundle
172
- - test/dummy/bin/rails
173
- - test/dummy/bin/setup
174
- - test/dummy/bin/rake
175
162
  - test/dummy/Rakefile
176
- - test/dummy/config/environments/production.rb
177
- - test/dummy/config/environments/test.rb
178
- - test/dummy/config/environments/development.rb
179
- - test/dummy/config/application.rb
163
+ - test/dummy/README.rdoc
164
+ - test/dummy/config.ru
180
165
  - test/dummy/config/boot.rb
166
+ - test/dummy/config/database.yml
167
+ - test/dummy/config/secrets.yml
181
168
  - test/dummy/config/locales/en.yml
169
+ - test/dummy/config/application.rb
170
+ - test/dummy/config/environments/development.rb
171
+ - test/dummy/config/environments/test.rb
172
+ - test/dummy/config/environments/production.rb
173
+ - test/dummy/config/environment.rb
174
+ - test/dummy/config/routes.rb
175
+ - test/dummy/config/initializers/assets.rb
176
+ - test/dummy/config/initializers/cookies_serializer.rb
177
+ - test/dummy/config/initializers/inflections.rb
182
178
  - test/dummy/config/initializers/session_store.rb
183
- - test/dummy/config/initializers/filter_parameter_logging.rb
184
179
  - test/dummy/config/initializers/wrap_parameters.rb
180
+ - test/dummy/config/initializers/filter_parameter_logging.rb
185
181
  - test/dummy/config/initializers/backtrace_silencers.rb
186
- - test/dummy/config/initializers/inflections.rb
187
- - test/dummy/config/initializers/assets.rb
188
- - test/dummy/config/initializers/cookies_serializer.rb
189
182
  - test/dummy/config/initializers/mime_types.rb
190
- - test/dummy/config/secrets.yml
191
- - test/dummy/config/database.yml
192
- - test/dummy/config/routes.rb
193
- - test/dummy/config/environment.rb
183
+ - test/dummy/db/schema.rb
184
+ - test/dummy/app/views/layouts/application.html.erb
185
+ - test/dummy/app/controllers/application_controller.rb
186
+ - test/dummy/app/helpers/application_helper.rb
187
+ - test/dummy/app/assets/stylesheets/application.css
188
+ - test/dummy/app/assets/javascripts/application.js
194
189
  - test/dummy/public/422.html
195
- - test/dummy/public/favicon.ico
196
190
  - test/dummy/public/404.html
191
+ - test/dummy/public/favicon.ico
197
192
  - test/dummy/public/500.html
198
- - test/eac_users_support_test.rb
193
+ - test/dummy/bin/bundle
194
+ - test/dummy/bin/setup
195
+ - test/dummy/bin/rails
196
+ - test/dummy/bin/rake
199
197
  - test/test_helper.rb
198
+ - test/eac_users_support_test.rb
199
+ - test/integration/navigation_test.rb
@@ -1,16 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- *= require active_scaffold
16
- */