inline_forms_installer 8.1.2 → 8.1.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b4f54ce386e1f7b9b8052cb1817c837a94a1cb4b315887a19456d1c054f8a28
|
|
4
|
+
data.tar.gz: 2597296ce7e66de213ba8eef07191b924c355258f45210cbf6380c1ffa695891
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6517c3d2c92010b5f9f8032206e8bad5d14bf5d11b77c186d807fed490680534952d136aa2e63ebd485878d17561a66a7c7477126fface669d447e63d69aa245
|
|
7
|
+
data.tar.gz: 243c4dee8186095ec2d8fd84a34a204bcf6deecf74360e01069b3396435dfad83fc12162fb347d704bf51e6a95301b9ef768b93185551f763523e6344fee27cd
|
|
@@ -67,6 +67,25 @@ module InlineFormsInstaller
|
|
|
67
67
|
exit 1
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
# The example app always generates Photo / Apartment / Owner; the
|
|
71
|
+
# installer always generates Locale / Role (and the Devise-backed user
|
|
72
|
+
# model with the chosen class name). Reject `-U <reserved>` early
|
|
73
|
+
# rather than letting `rails g inline_forms` collide with an
|
|
74
|
+
# already-generated app/models/<reserved>.rb at install time.
|
|
75
|
+
example_reserved = %w[Photo Apartment Owner].freeze
|
|
76
|
+
installer_reserved = %w[Locale Role].freeze
|
|
77
|
+
if installer_reserved.include?(user_model_cfg.class_name)
|
|
78
|
+
say "Error: -U #{user_model_cfg.class_name} conflicts with an installer-generated model " \
|
|
79
|
+
"(#{installer_reserved.join(', ')}); choose a different class name.", :red
|
|
80
|
+
exit 1
|
|
81
|
+
end
|
|
82
|
+
if install_example? && example_reserved.include?(user_model_cfg.class_name)
|
|
83
|
+
say "Error: -U #{user_model_cfg.class_name} conflicts with an --example model " \
|
|
84
|
+
"(#{example_reserved.join(', ')}); choose a different class name " \
|
|
85
|
+
"or drop --example.", :red
|
|
86
|
+
exit 1
|
|
87
|
+
end
|
|
88
|
+
|
|
70
89
|
inline_forms_version = InlineFormsInstaller.inline_forms_version
|
|
71
90
|
# The Gemfile pins `gem "inline_forms", "~> 8"`, so Bundler resolves the
|
|
72
91
|
# highest 8.x available on RubyGems at install time. The
|
|
@@ -106,7 +106,7 @@ gem 'jquery-ui-rails', '4.0.3'
|
|
|
106
106
|
# foundation-icons-sass-rails depended on sass-rails).
|
|
107
107
|
gem 'mini_magick'
|
|
108
108
|
gem 'mysql2'
|
|
109
|
-
gem 'paper_trail', '~>
|
|
109
|
+
gem 'paper_trail', '~> 17.0'
|
|
110
110
|
gem 'rails-i18n', '~> 8.1'
|
|
111
111
|
gem 'rails-jquery-autocomplete'
|
|
112
112
|
gem 'rails', '~> 8.1'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inline_forms_installer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ace Suares
|
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
|
-
rubygems_version: 4.0.
|
|
136
|
+
rubygems_version: 4.0.12
|
|
137
137
|
specification_version: 4
|
|
138
138
|
summary: CLI and Rails app template for generating inline_forms applications.
|
|
139
139
|
test_files: []
|