turbolog 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/generators/turbolog/config_generator.rb +4 -0
- data/lib/turbolog/version.rb +1 -1
- data/turbolog-0.1.9.gem +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d12aaa0b53213d345abd29ac76c7ad074d679c0242915dc5238b8f5a64a9aedb
|
4
|
+
data.tar.gz: 92f61ae349c5bc1df9b73cd9863ae1f21df036d72a87fc6d6b4281789dd3ca8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff2892235445b0f9fbbb2d5960226515f6a964ebd52e6bc23659e661175678ae704697f15990219df4806078d3c1425bf6f5ed2e8762f19f36fae2e92c029016
|
7
|
+
data.tar.gz: f8e93434360ed448932a6d23337420a92c35a9cc5e961918e4db275782d05b3beb6ba61d9d32e441ef020075a7acc4745106a147cbe1d0fa1acb2c16e535126c
|
data/README.md
CHANGED
@@ -4,8 +4,8 @@ Turbolog is a gem to setup devise, omniauth and facebook authentication.
|
|
4
4
|
|
5
5
|
For the following configuration:
|
6
6
|
|
7
|
-
.Rails 5.1.4, 5.2.0.rc1
|
8
|
-
.Ruby 2.4.1, 2.5.0
|
7
|
+
.Rails 5.1.4, 5.2.0.rc1, 6.0.0
|
8
|
+
.Ruby 2.4.1, 2.5.0, 2.6.3
|
9
9
|
.Devise
|
10
10
|
.Mongoid
|
11
11
|
.Omniauth_facebook
|
@@ -53,8 +53,10 @@ FACEBOOK_SECRET="xxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
53
53
|
|
54
54
|
1. Create new rails app
|
55
55
|
|
56
|
-
$ rails new sample -
|
56
|
+
$ rails new sample -BOTJ
|
57
57
|
2. Follow Installation 3 steps above
|
58
|
+
3. Hot fix: Please remove folder "spec"
|
59
|
+
$ rm -r spec
|
58
60
|
|
59
61
|
Other command:
|
60
62
|
|
@@ -31,11 +31,13 @@ module Turbolog
|
|
31
31
|
puts Color.blue("....................rails g devise User.................\n")
|
32
32
|
run "rails generate devise User"
|
33
33
|
gsub_file 'config/initializers/devise.rb',/# config.secret_key/,'config.secret_key'
|
34
|
+
gsub_file 'config/initializers/devise.rb',/config.sign_out_via = :delete/,'config.sign_out_via = :get'
|
34
35
|
end
|
35
36
|
|
36
37
|
desc "Create Initial Sample Controller"
|
37
38
|
puts Color.blue(".............Create Welcome Initial Controller..........\n")
|
38
39
|
def create_welcome
|
40
|
+
|
39
41
|
run "rails g scaffold welcome greeting:text"
|
40
42
|
#copy_file "welcomes_controller_spec.rb","spec/controllers"
|
41
43
|
#copy_file "welcomes_spec.rb","spec/models"
|
@@ -130,7 +132,9 @@ module Turbolog
|
|
130
132
|
puts "\n"
|
131
133
|
puts Color.blue("________________________________________________________\n")
|
132
134
|
puts Color.blue(" Finished Step 3/3\n")
|
135
|
+
puts Color.red(" HOT FIX: PLEASE REMOVE DIRECTORY \"spec\" \n")
|
133
136
|
puts Color.blue("________________________________________________________\n")
|
137
|
+
|
134
138
|
end
|
135
139
|
end
|
136
140
|
end
|
data/lib/turbolog/version.rb
CHANGED
data/turbolog-0.1.9.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbolog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prateep Kul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -229,6 +229,7 @@ files:
|
|
229
229
|
- lib/turbolog/helpers.rb
|
230
230
|
- lib/turbolog/railtie.rb
|
231
231
|
- lib/turbolog/version.rb
|
232
|
+
- turbolog-0.1.9.gem
|
232
233
|
- turbolog.gemspec
|
233
234
|
homepage: https://github.com/kul1/turbolog
|
234
235
|
licenses:
|
@@ -249,8 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
250
|
- !ruby/object:Gem::Version
|
250
251
|
version: '0'
|
251
252
|
requirements: []
|
252
|
-
|
253
|
-
rubygems_version: 2.7.4
|
253
|
+
rubygems_version: 3.0.6
|
254
254
|
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: Create login with devise, omniauth
|