founders_toolkit 0.4.0 → 0.5.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/founders_toolkit/auth/securable/model.rb +0 -1
- data/lib/founders_toolkit/version.rb +1 -1
- data/lib/install/current.rb +6 -0
- data/lib/install/gems.rb +12 -0
- data/lib/install/linters.rb +10 -0
- data/lib/install/templates/.rubocop.yml +2 -0
- data/lib/install/templates/current.rb +5 -0
- data/lib/tasks/install.rake +16 -0
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c3f346cd2cec5f751a917cd6141580d6541031a049107d199970b1023e94807
|
4
|
+
data.tar.gz: 726a052b6aec786b272215de287bdaf5799d745a76b0c55f8f23a1774f8b3d2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 234f803ad71047810a829d49f2c46da457b2e8a46b83b3fa6f50b259c08eb85269d10431a48774ef0512edd15804ff1cafd64ea1fd3b2ff882c2dd441f845914
|
7
|
+
data.tar.gz: 5ec8624894e2e712097dea243eeb88fbe724b91819acb893d228f9c184652ec5332759a82061ef0bf43cfc218726d42582fe4c4c297fd5386e5c867b573d023b
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.5.0] - 2021-03-29
|
10
|
+
|
11
|
+
- Added install rake task.
|
12
|
+
- Remove email as a protected attribute by default.
|
13
|
+
|
9
14
|
## [0.4.0] - 2021-03-29
|
10
15
|
- Add tracking to limitable
|
11
16
|
|
@@ -7,7 +7,6 @@ module FoundersToolkit::Auth::Securable::Model
|
|
7
7
|
include FoundersToolkit::Auth::Emailable::Model
|
8
8
|
extend FoundersToolkit::Auth::Securable::Validations::ProtectedValidator::HelperMethods
|
9
9
|
|
10
|
-
validates_protected_attributes :email
|
11
10
|
validates_protected_attributes :password, secure: true
|
12
11
|
|
13
12
|
has_secure_password
|
data/lib/install/gems.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
def run_install_template(path)
|
4
|
+
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path(
|
5
|
+
"../install/#{path}.rb", __dir__
|
6
|
+
)}"
|
7
|
+
end
|
8
|
+
|
9
|
+
namespace :founders_toolkit do
|
10
|
+
desc 'Install Founders Toolkit'
|
11
|
+
task :install do
|
12
|
+
run_install_template 'gems'
|
13
|
+
run_install_template 'current'
|
14
|
+
run_install_template 'linters'
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: founders_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trae Robrock
|
@@ -83,6 +83,12 @@ files:
|
|
83
83
|
- lib/founders_toolkit/util/lockable.rb
|
84
84
|
- lib/founders_toolkit/util/rate_limitable.rb
|
85
85
|
- lib/founders_toolkit/version.rb
|
86
|
+
- lib/install/current.rb
|
87
|
+
- lib/install/gems.rb
|
88
|
+
- lib/install/linters.rb
|
89
|
+
- lib/install/templates/.rubocop.yml
|
90
|
+
- lib/install/templates/current.rb
|
91
|
+
- lib/tasks/install.rake
|
86
92
|
homepage: https://github.com/trobrock/founders-toolkit
|
87
93
|
licenses:
|
88
94
|
- MIT
|