jungle_path 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9a76586270cb176c12b4cee2c5634f095986dd
|
4
|
+
data.tar.gz: 8c5a58c3e0c272e1e1d3fa54e0043eb515153a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fac534b4b48fcb7ccc3bcb3404da09e7f5108c867523e7eafb33f553b6cbfd0267359ed52c4ea4fa205f7c7235501ce006e23fa04475d8cc3acafbafa826b30
|
7
|
+
data.tar.gz: 8cbe0b457b9c522d8aadc11ec76b1dd24fef8803f052abfd78b55310770727d68596e461d773a9132274c7270e6db4256375aa3ce23d8610852febd709e96b52
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% # api_template.erb %>
|
2
|
-
<%= "#This file was generated using the
|
2
|
+
<%= "#This file was generated using the jungle_path/api/template.erb. Do not modify directly." %>
|
3
3
|
require 'sinatra/base'
|
4
4
|
require_relative '../db/db'
|
5
5
|
require_relative '../schemas/schema'
|
@@ -2,8 +2,8 @@
|
|
2
2
|
require 'jungle_path/gen/api'
|
3
3
|
require 'jungle_path/gen/controllers'
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
require_relative '../config/config.rb'
|
6
|
+
require_relative '../schemas/schema'
|
7
7
|
|
8
8
|
JunglePath::Gen.controllers(jungle.application.root_dir, Schema::Base.models.values)
|
9
9
|
JunglePath::Gen.api(jungle.application.root_dir, Schema::Base.models.values)
|
@@ -48,12 +48,17 @@ module Schema
|
|
48
48
|
[:user_name, :string, :unique, :not_null, :alternate_key, :secure],
|
49
49
|
[:hash, :string, :not_null, :secure, :calculated, :desc, "See password_hash.rb for details."],
|
50
50
|
[:name, :string, :secure, :desc, "Your human name! :)"],
|
51
|
+
[:first_name, :string, :secure],
|
52
|
+
[:last_name, :string, :secure],
|
51
53
|
[:email, :string, :secure],
|
52
54
|
[:organization, :string, :secure],
|
53
55
|
[:notes, :string, :desc, "For any misc. notes about this user including addition email addresses, phone numbers, etc."],
|
54
56
|
[:active, :boolean, :default, true],
|
55
57
|
[:is_valid, :boolean, :calculated],
|
56
58
|
[:role, :string, :not_null],
|
59
|
+
[:sms_verification_code, :string, :secure, :desc, "phone verification/sign-in code."],
|
60
|
+
[:activation_key, :string, :secure],
|
61
|
+
[:password_reset_code, :string, :secure],
|
57
62
|
[:audit_user]
|
58
63
|
)
|
59
64
|
end
|
data/lib/jungle_path/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jungle_path
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael VanZant
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|