dog_biscuits 0.5.4 → 0.5.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0509c8a392aedb1d7f6d239fde0188a315e6ec74c8dcb3f3fbfe6b05c5ba38b5'
|
4
|
+
data.tar.gz: 33ebc3f71aa281cd9b6e0f8a79cadce50585c99217f0503703dd6bf9fc8e9709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ad74c758a037d24a6976eb5fd06e556e4465f88e35dd117fd58434b19da40799cce6eea40d880f3496c81d74ccbe10dde926a4cccb50a3998c50d863ce23c8a
|
7
|
+
data.tar.gz: 482b542e04c1dc9d1b73b06f8f4eeb910c939212d6abdc3be4cf2db5f551846e6d0242bc73cb0091a049c64b5143f211dea06f9e5780a0fedd3e91d8e6f33dfa
|
data/lib/dog_biscuits/version.rb
CHANGED
@@ -61,11 +61,6 @@ This generator makes the following changes to your application:
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
def create_form
|
65
|
-
template('form.rb.erb', File.join('app/forms/hyrax', class_path, "#{file_name}_form.rb"))
|
66
|
-
rescue StandardError
|
67
|
-
end
|
68
|
-
|
69
64
|
def create_presenter
|
70
65
|
template('presenter.rb.erb', File.join('app/presenters/hyrax', class_path, "#{file_name}_presenter.rb"))
|
71
66
|
end
|
@@ -90,6 +85,12 @@ This generator makes the following changes to your application:
|
|
90
85
|
def imagify
|
91
86
|
generate "dog_biscuits:imagify #{class_name}", '-f' if File.exist?('config/initializers/version.rb') && File.read('config/initializers/version.rb').include?('Hyku')
|
92
87
|
end
|
88
|
+
|
89
|
+
# Sometimes we see a name error NameError because *_form.rb references the Model which hasn't yet been loaded
|
90
|
+
# rescue doesn't help, so run this last to ensure files are all in place before the error
|
91
|
+
def create_form
|
92
|
+
template('form.rb.erb', File.join('app/forms/hyrax', class_path, "#{file_name}_form.rb"))
|
93
|
+
end
|
93
94
|
|
94
95
|
def display_readme
|
95
96
|
readme 'README'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dog_biscuits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julie Allinson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hyrax
|