standard_view 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/model/model/model_generator.rb +12 -0
- data/lib/standard_view/version.rb +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97720fa5f380a3e94018e3118750d20ae52dff05cfd3522713b95212d07e4d05
|
4
|
+
data.tar.gz: f13154105a112cc84f37c10507726bb0627d804fee780892be4531f723439220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f20ff9c651f41b8582902140a2345e13c70998ba97460d529b294464705e012265ec008dd0cf1673fbf8d74b25ca9046c3dd139e2c44ef605d1f08f2c1b26dd
|
7
|
+
data.tar.gz: a8e6153e16fba8f6f50f7a03c59d83ec2a68106a6505ad9e5d117b49d65812466cdbebfaf845d4efacdf5b11ad378ca25633d88e2353eb29ae42e87affd33b43
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "rails/generators/active_record/model/model_generator"
|
4
|
+
|
5
|
+
module Model
|
6
|
+
class ModelGenerator < ActiveRecord::Generators::ModelGenerator
|
7
|
+
source_root "#{base_root}/active_record/model/templates"
|
8
|
+
|
9
|
+
class_option :material, type: :boolean, default: true
|
10
|
+
hook_for :material, in: :material
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard_view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
8
|
+
- Brandon Trumpold
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2020-
|
12
|
+
date: 2020-04-10 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
@@ -30,7 +31,7 @@ dependencies:
|
|
30
31
|
requirements:
|
31
32
|
- - ">="
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
34
|
+
version: 0.3.6
|
34
35
|
- - "<"
|
35
36
|
- !ruby/object:Gem::Version
|
36
37
|
version: '1.0'
|
@@ -40,7 +41,7 @@ dependencies:
|
|
40
41
|
requirements:
|
41
42
|
- - ">="
|
42
43
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.3.
|
44
|
+
version: 0.3.6
|
44
45
|
- - "<"
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '1.0'
|
@@ -259,6 +260,7 @@ dependencies:
|
|
259
260
|
description: Use Bootstrap to present a nicely standardized view for your models.
|
260
261
|
email:
|
261
262
|
- eric.garside@freshly.com
|
263
|
+
- brandon.trumpold@gmail.com
|
262
264
|
executables: []
|
263
265
|
extensions: []
|
264
266
|
extra_rdoc_files: []
|
@@ -311,6 +313,7 @@ files:
|
|
311
313
|
- config/locales/en.yml
|
312
314
|
- config/locales/simple_form.en.yml
|
313
315
|
- config/routes.rb
|
316
|
+
- lib/generators/model/model/model_generator.rb
|
314
317
|
- lib/standard_view.rb
|
315
318
|
- lib/standard_view/engine.rb
|
316
319
|
- lib/standard_view/version.rb
|
@@ -334,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
337
|
- !ruby/object:Gem::Version
|
335
338
|
version: '0'
|
336
339
|
requirements: []
|
337
|
-
rubygems_version: 3.
|
340
|
+
rubygems_version: 3.1.2
|
338
341
|
signing_key:
|
339
342
|
specification_version: 4
|
340
343
|
summary: A highly functional and largely automated presentation layer.
|