rails_easy_sign_in 0.0.4 → 0.1.0

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: 6d14191c8f63033292cc6c6a8f4968b4b9e2eae9
4
- data.tar.gz: 4d815fea9bcaf8092648059e4f54707cbf0a34ee
3
+ metadata.gz: 729a754daadad434980398a917f32b003045150e
4
+ data.tar.gz: d91e3bfad5fe22057f7344493e70acd399c1b1f1
5
5
  SHA512:
6
- metadata.gz: 519f5e272000645349c23b6ffb202da162bb2c7b7ab6fe89ea55733c21b95117c7a71a71213ac27a6011a851bd680d9adf65a96654750fa0eae8da8b57971625
7
- data.tar.gz: 8cb5f3857c1ed7c784b7acc92b48a66610f88b5f488b7e78a525a8b6df80c51bfd4f27416a1aa7dba6e1295ef4037067402f63c1222a00e0c4c01e0aa901e8af
6
+ metadata.gz: 0c90d39229c372652f968231743d5fb72509c0b2477e2d87bf0925c2468a19a7ebf7af4dca756c972a0344a33e1f3588bbaea38b30dee22af3c0491e6cf6cdf7
7
+ data.tar.gz: c143f7a1ccec4e232838cb9303eb776d5d0dc1e71ec065ba1c256d7ae753f4c940d13ff19542ab1f187d7071afabd8ad3706fca5e36539745cfe8304c13009b6
data/README.md CHANGED
@@ -5,10 +5,18 @@ Adds a sign in box to your login page to allow automatic sign in. Useful in deve
5
5
  ## Installation
6
6
 
7
7
  1. Add ```gem 'rails_easy_sign_in' ``` to the development group of the _Gemfile_ and bundle.
8
- 2. Add ```#= require rails_easy_sign_in``` to _application.js_
9
- 3. Add ```@import rails_easy_sign_in``` to _application.css.sass_
8
+ 2. Add ```rails_easy_sign_in.js``` and ```rails_easy_sign_in.css``` to config.assets.precompile.
9
+ 3. Add the following to _app/views/layouts/application.html.haml_
10
+
11
+ ```
12
+ - if Rails.application.config.should_show_easy_login
13
+ = stylesheet_link_tag "rails_easy_sign_in"
14
+ = javascript_include_tag "rails_easy_sign_in"
15
+ ```
16
+
17
+ 4. Add ```config.should_show_easy_login = false``` to _config/application.rb_
10
18
  5. Add ```config.should_show_easy_login = true``` to _config/environtments/development.rb_
11
- 4. Add the following to _app/views/devise/sessions/new.html.haml_:
19
+ 6. Add the following to _app/views/devise/sessions/new.html.haml_
12
20
 
13
21
  ```
14
22
  - if Rails.application.config.should_show_easy_login
@@ -5,6 +5,5 @@
5
5
  padding: 10px 20px
6
6
  font-size: 12px
7
7
  background: #fff
8
- +box-shadow(0 0 10px black(0.3))
9
8
  a
10
9
  display: block
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = "rails_easy_sign_in"
6
- gem.version = "0.0.4"
6
+ gem.version = "0.1.0"
7
7
  gem.authors = ["Jordan Maguire", "Steven Webb"]
8
8
  gem.email = ["jordan@thefrontiergroup.com.au"]
9
9
  gem.homepage = "https://github.com/jordanmaguire/rails_easy_sign_in"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_easy_sign_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Maguire
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-09 00:00:00.000000000 Z
12
+ date: 2015-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties