inline_forms_installer 8.1.1 → 8.1.2

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: b52ad53c2bf545f31ee62580ea64c9e0ee3652938a85a18f812ebf84044374e5
4
- data.tar.gz: d0570d54df08235abf7aee6b1cdf6e5f942aa49d99fbcb903a007682e04e9ea8
3
+ metadata.gz: c9e1c36cd2a99018033b6df98c71975da7c4bcb4b86938c61a74ff73a03cff68
4
+ data.tar.gz: faed808a013aa9ad85dc1058248bbc4297f99c5bfaecca2b1e415be4bb778aa7
5
5
  SHA512:
6
- metadata.gz: 61bdd6c15f62a1f6261039eab68e62fbdc29babda7b0dcd8d3da33c2ca0b021712cd7bce602577f90594c3476da86e13e8356773d92dec1da16cab509af03534
7
- data.tar.gz: '00842465140c3164bfba1437ce6ae97691728f18bf454885280fe5f401fe959ab6cd0d186b82791bd6070af6c95b945a19aba02ddc12f7363392221fa28de20d'
6
+ metadata.gz: 5134c15fa5725d6688ee2359beb837977ef2a7ca3aa00707aefcf79a03c38f561063f08382207fe070d27f403e8fb21b0410fd825743fa986261e1f96a2bbf6d
7
+ data.tar.gz: 8b4f20c765f50b271e588467bbb3670e3b8b1677fa2cfd1a5e40217a83c20d253efb71bf0550998f3ea11669a421e8e8e897d360738d071326eb84c605c169f4
@@ -122,7 +122,7 @@ module InlineFormsInstaller
122
122
  Gem::Specification
123
123
  .find_all_by_name("rails")
124
124
  .map(&:version)
125
- .select { |v| v >= Gem::Version.new("8.0") && v < Gem::Version.new("8.1") }
125
+ .select { |v| v >= Gem::Version.new("8.1") && v < Gem::Version.new("8.2") }
126
126
  .max
127
127
  rescue StandardError
128
128
  nil
@@ -70,12 +70,12 @@ use_app_rvm_gemset!
70
70
  remove_file 'Gemfile' if File.exist?('Gemfile')
71
71
  create_file 'Gemfile', "# created by inline_forms_installer #{ENV['inline_forms_installer_version']} on #{Date.today}\n"
72
72
 
73
- # Creator invokes `rails _8.0.x_ new`, which emits `load_defaults 8.0` and removes
74
- # `new_framework_defaults_8_0.rb`. Normalize anyway when an older generator left another minor.
73
+ # Creator invokes `rails _8.1.x_ new`, which emits `load_defaults 8.1` and removes
74
+ # `new_framework_defaults_8_1.rb`. Normalize anyway when an older generator left another minor.
75
75
  if File.exist?('config/application.rb')
76
76
  gsub_file 'config/application.rb',
77
77
  /config\.load_defaults\s+\d+\.\d+/,
78
- 'config.load_defaults 8.0'
78
+ 'config.load_defaults 8.1'
79
79
  end
80
80
 
81
81
  add_source 'https://rubygems.org'
@@ -107,9 +107,9 @@ gem 'jquery-ui-rails', '4.0.3'
107
107
  gem 'mini_magick'
108
108
  gem 'mysql2'
109
109
  gem 'paper_trail', '~> 16.0'
110
- gem 'rails-i18n', '~> 8.0'
110
+ gem 'rails-i18n', '~> 8.1'
111
111
  gem 'rails-jquery-autocomplete'
112
- gem 'rails', '~> 8.0'
112
+ gem 'rails', '~> 8.1'
113
113
  gem 'rake'
114
114
  gem 'rvm'
115
115
  gem 'dartsass-rails'
@@ -285,7 +285,7 @@ create_file "db/migrate/" +
285
285
  Time.now.utc.strftime("%Y%m%d%H%M%S") +
286
286
  "_" +
287
287
  "#{user_cfg.devise_migration_basename}.rb", <<-DEVISE_MIGRATION.strip_heredoc
288
- class #{user_cfg.devise_migration_class} < ActiveRecord::Migration[8.0]
288
+ class #{user_cfg.devise_migration_class} < ActiveRecord::Migration[8.1]
289
289
 
290
290
  def change
291
291
  create_table(:#{user_cfg.table_name}) do |t|
@@ -425,7 +425,7 @@ create_file "db/migrate/" +
425
425
  Time.now.utc.strftime("%Y%m%d%H%M%S") +
426
426
  "_" +
427
427
  "#{user_cfg.join_migration_basename}.rb", <<-ROLES_MIGRATION.strip_heredoc
428
- class #{user_cfg.join_migration_class} < ActiveRecord::Migration[8.0]
428
+ class #{user_cfg.join_migration_class} < ActiveRecord::Migration[8.1]
429
429
  def self.up
430
430
  create_table :#{user_cfg.join_table}, :id => false, :force => true do |t|
431
431
  t.integer :role_id
@@ -840,7 +840,7 @@ if ENV['install_example'] == 'true'
840
840
  sleep 1
841
841
  add_owner_ts = Time.now.utc.strftime("%Y%m%d%H%M%S")
842
842
  create_file "db/migrate/#{add_owner_ts}_add_owner_to_apartments.rb", <<-ADD_OWNER.strip_heredoc
843
- class AddOwnerToApartments < ActiveRecord::Migration[8.0]
843
+ class AddOwnerToApartments < ActiveRecord::Migration[8.1]
844
844
  def change
845
845
  add_reference :apartments, :owner, null: true, foreign_key: true
846
846
  end
@@ -919,7 +919,7 @@ if ENV['install_example'] == 'true'
919
919
  sleep 1
920
920
  seed_ts = Time.now.utc.strftime("%Y%m%d%H%M%S")
921
921
  create_file "db/migrate/#{seed_ts}_seed_example_apartments_and_owners.rb", <<-SEED_MIGRATION.strip_heredoc
922
- class SeedExampleApartmentsAndOwners < ActiveRecord::Migration[8.0]
922
+ class SeedExampleApartmentsAndOwners < ActiveRecord::Migration[8.1]
923
923
  # ---------------------------------------------------------------
924
924
  # Apartment seed gallery
925
925
  # ---------------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineFormsInstaller
3
- VERSION = "8.1.1"
3
+ VERSION = "8.1.2"
4
4
 
5
5
  # Written into generated apps' `.ruby-version` (must match gemspec `required_ruby_version`).
6
6
  TARGET_RUBY_VERSION = "ruby-4.0.4"
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.1
4
+ version: 8.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares