monban-generators 0.0.6 → 1.0.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: e7e2fddf7c46a28fce85351b6eb20bc560854c4f
4
- data.tar.gz: 11dcfbc6a8e3a4d9bd6b09b50a8686cb4982dcb0
3
+ metadata.gz: 00d80f1e96ab44b86da187cd55d9bffc15ace4e4
4
+ data.tar.gz: 8945678e07a9094de6813feccc5b342f59fdf2ec
5
5
  SHA512:
6
- metadata.gz: ac2e74a5cad1a8e5aa60f0d5aa2168ad1a59003211f141b1b2b0d169642dae89c6776b6ee8ee7b4feda95d71e9d434da88a9fd3b4e80b057eb4ed35f5e36a6eb
7
- data.tar.gz: f16f73cb18538e97346139d28e079940822e0ce0b9c3e72adf425d05b592cdf1120dac083a7160f9848f520e8f5d2322954ed581ac40152b58846ff2c94c027d
6
+ metadata.gz: bf595a7ee13300ff3c4e7eb4372fb3b624424800110e841475cbbe31dbc114cd2f6cb3d2d0e99da4668d146d7ff886a18ea8d9066dc467ebaf2112ff2154c870
7
+ data.tar.gz: 7afacc274c9213fbbdf27f16e387a593712aaaa75e8de929844e64542d2637faa9c3139aa819aabaea6097f4132ebe84257171107098c6a83b43e55078597d41
data/NEWS.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.0
2
+ * Update migrations to include migration version
3
+
1
4
  ## 0.0.6
2
5
  * Add Google Oauth2
3
6
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ And then execute:
15
15
 
16
16
  ## Generators
17
17
 
18
- Currently there are two generators available, but over time more will be added:
18
+ Currently these are the generators available:
19
19
 
20
20
  ### Scaffold
21
21
 
@@ -33,6 +33,15 @@ This will generate the necessary files for an implementation of resetting
33
33
  a user's password. It will ask you for host names for development, test
34
34
  and production environments in order to make the mailer work.
35
35
 
36
+ ### Google Oauth 2
37
+
38
+ If you'd like setup basic google oauth authentication, you can run:
39
+
40
+ rails g monban:google_oauth2
41
+
42
+ This will generate the necessary files for an implementation of allowing users
43
+ to sign in either with an email/password or by using google oauth2.
44
+
36
45
  ## Contributing
37
46
 
38
47
  1. [Fork it](http://github.com/halogenandtoast/monban-generators/fork)
@@ -1,4 +1,4 @@
1
- class CreateExternalCredentials < ActiveRecord::Migration[5.0]
1
+ class CreateExternalCredentials < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
3
  create_table :external_credentials do |t|
4
4
  t.string :uid
@@ -1,4 +1,4 @@
1
- class CreatePasswordResets < ActiveRecord::Migration
1
+ class CreatePasswordResets < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
3
  create_table :password_resets do |t|
4
4
  t.belongs_to :user, index: true
@@ -1,4 +1,4 @@
1
- class CreateUsers < ActiveRecord::Migration
1
+ class CreateUsers < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
3
  create_table :users do |t|
4
4
  t.string :email, null: false
@@ -1,5 +1,5 @@
1
1
  module Monban
2
2
  module Generators
3
- VERSION = "0.0.6"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monban-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - halogenandtoast
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-14 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler