inline_forms 6.1.1 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +1 -1
- data/app/helpers/inline_forms_helper.rb +12 -10
- data/bin/inline_forms_installer_core.rb +45 -137
- data/inline_forms.gemspec +1 -6
- data/lib/generators/templates/capistrano/Capfile +0 -5
- data/lib/generators/templates/migration.erb +1 -1
- data/lib/inline_forms/version.rb +1 -1
- metadata +20 -83
- data/lib/generators/templates/abstract_mysql2_adapter.rb +0 -3
- data/lib/generators/templates/application.yml.blank +0 -59
- data/lib/generators/templates/paper_trail.rb +0 -7
- data/lib/otherstuff/bump +0 -13
- data/lib/otherstuff/diffie +0 -2
- data/lib/otherstuff/fixtures/rails.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b280e63417aebf00d9254f8f565d46136cff645b9853d7e3e92091531583722f
|
4
|
+
data.tar.gz: bfb39dbe69a962a7bbbe721625db46e397a1f99cbe168ad569b9942f20182499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352aad514005fa9092ea1519c1494df2761bfdfeb2b0ea286dc36c7889939d7458236970ca763cccc43a742157b1fff75ce17b4227293122b59015150c44fea1
|
7
|
+
data.tar.gz: 99a34153380f2d246993f09f36813937c4a7c2348d631ee1f17e3680356c25b00d4bff0f719041d73e3b0ba9e27f163ffa6e46376d6467a362a39f23e03657f3
|
data/LICENSE.txt
CHANGED
@@ -97,17 +97,19 @@ module InlineFormsHelper
|
|
97
97
|
|
98
98
|
# link to versions list
|
99
99
|
def link_to_versions_list(path_to_versions_list, object, update_span, html_class = 'button new_button')
|
100
|
-
out = (link_to "<i class='fi-list'></i>".html_safe,
|
101
|
-
send(path_to_versions_list,
|
102
|
-
object,
|
103
|
-
:update => update_span,
|
104
|
-
),
|
105
|
-
:remote => true,
|
106
|
-
:class => html_class,
|
107
|
-
:title => t('inline_forms.view.list_versions')
|
108
|
-
)
|
109
100
|
if can? :list_versions, object
|
110
|
-
|
101
|
+
if defined?(PaperTrail) && object.respond_to?(:versions)
|
102
|
+
out = (link_to "<i class='fi-list'></i>".html_safe,
|
103
|
+
send(path_to_versions_list,
|
104
|
+
object,
|
105
|
+
:update => update_span,
|
106
|
+
),
|
107
|
+
:remote => true,
|
108
|
+
:class => html_class,
|
109
|
+
:title => t('inline_forms.view.list_versions')
|
110
|
+
)
|
111
|
+
raw out
|
112
|
+
end
|
111
113
|
end
|
112
114
|
end
|
113
115
|
|
@@ -1,58 +1,60 @@
|
|
1
1
|
GENERATOR_PATH = File.dirname(File.expand_path(__FILE__)) + '/../'
|
2
2
|
|
3
|
-
create_file 'Gemfile', "# created by inline_forms #{ENV['inline_forms_version']} on {Date.today}\n"
|
3
|
+
create_file 'Gemfile', "# created by inline_forms #{ENV['inline_forms_version']} on #{Date.today}\n"
|
4
4
|
|
5
5
|
add_source 'https://rubygems.org'
|
6
6
|
|
7
|
-
|
8
|
-
gem 'carrierwave'
|
9
|
-
gem 'ckeditor', git: 'https://github.com/galetahub/ckeditor'
|
7
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
10
8
|
#gem 'bootsnap', require: false
|
11
|
-
gem 'coffee-rails'
|
12
9
|
#gem 'compass-rails'
|
13
|
-
gem 'rails
|
10
|
+
# gem 'modernizr-rails'
|
11
|
+
|
12
|
+
gem 'cancancan'
|
13
|
+
gem 'carrierwave'
|
14
|
+
gem 'ckeditor', github: 'galetahub/ckeditor'
|
15
|
+
gem 'coffee-rails'
|
16
|
+
gem 'devise-i18n', :git => 'https://github.com/acesuares/devise-i18n.git'
|
14
17
|
gem 'devise'
|
15
18
|
gem 'foundation-icons-sass-rails'
|
16
19
|
gem 'foundation-rails', '~> 5.5'
|
17
|
-
gem 'i18n-active_record', git
|
18
|
-
gem 'inline_forms', '
|
20
|
+
gem 'i18n-active_record', :git => 'https://github.com/acesuares/i18n-active_record.git'
|
21
|
+
gem 'inline_forms', '~> 6.2'
|
19
22
|
gem 'jquery-rails'
|
20
23
|
gem 'jquery-timepicker-rails'
|
21
24
|
gem 'jquery-ui-sass-rails'
|
22
25
|
gem 'mini_magick'
|
23
26
|
gem 'mysql2'
|
24
27
|
gem 'paper_trail'
|
25
|
-
gem 'rails-i18n'
|
26
|
-
gem 'rails'
|
28
|
+
gem 'rails-i18n', :git => 'https://github.com/svenfuchs/rails-i18n.git' # since https://github.com/svenfuchs/rails-i18n/pull/794 we don't have to maintain 'https://github.com/acesuares/rails-i18n.git' anymore!
|
29
|
+
gem 'rails-jquery-autocomplete'
|
30
|
+
gem 'rails', '6.1.3.1'
|
27
31
|
gem 'rake'
|
28
32
|
gem 'remotipart', '~> 1.0'
|
29
33
|
gem 'rvm'
|
30
34
|
gem 'sass-rails'
|
31
|
-
gem 'tabs_on_rails'
|
32
|
-
gem 'therubyracer'
|
33
|
-
gem 'uglifier'
|
34
|
-
gem 'figaro'
|
35
|
+
gem 'tabs_on_rails', :git => 'https://github.com/acesuares/tabs_on_rails.git', :branch => 'update_remote_before_action'
|
35
36
|
gem 'unicorn'
|
36
37
|
gem 'validation_hints'
|
37
38
|
gem 'will_paginate' #, git: 'https://github.com/acesuares/will_paginate.git'
|
38
|
-
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
39
|
-
gem 'turbolinks', '~> 5'
|
40
39
|
|
41
40
|
gem_group :development do
|
42
|
-
gem 'bundler'
|
41
|
+
gem 'capistrano-bundler', require: false
|
42
|
+
gem 'capistrano-rails', require: false
|
43
|
+
gem 'capistrano', require: false
|
44
|
+
gem 'capistrano3-unicorn'
|
43
45
|
gem 'listen'
|
44
|
-
gem '
|
45
|
-
gem '
|
46
|
-
gem 'seed_dump',
|
47
|
-
gem 'shoulda'
|
46
|
+
gem 'rvm-capistrano', :require => false
|
47
|
+
gem 'rvm1-capistrano3', require: false
|
48
|
+
gem 'seed_dump', '~> 0.5.3'
|
48
49
|
gem 'sqlite3'
|
49
50
|
gem 'switch_user'
|
51
|
+
gem 'thin'
|
50
52
|
gem 'yaml_db'
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
gem '
|
55
|
-
gem
|
53
|
+
end
|
54
|
+
|
55
|
+
gem_group :production do
|
56
|
+
gem 'mini_racer'
|
57
|
+
gem 'uglifier'
|
56
58
|
end
|
57
59
|
|
58
60
|
say "- Running bundle..."
|
@@ -87,9 +89,6 @@ append_file "config/database.yml", <<-END_DATABASEYML.strip_heredoc
|
|
87
89
|
password: <%= ENV["DATABASE_PASSWORD"] %>
|
88
90
|
END_DATABASEYML
|
89
91
|
|
90
|
-
say "- Add rails 5.2 defaults to application.rb..."
|
91
|
-
gsub_file "config/application.rb", /6\.0/, '5.2'
|
92
|
-
|
93
92
|
say "- Devise install..."
|
94
93
|
run "bundle exec rails g devise:install"
|
95
94
|
|
@@ -292,12 +291,9 @@ copy_file File.join(GENERATOR_PATH, 'lib/generators/templates/application_record
|
|
292
291
|
say "- Install ckeditor..."
|
293
292
|
generate "ckeditor:install --orm=active_record --backend=carrierwave"
|
294
293
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
# see https://github.com/galetahub/ckeditor/issues/579
|
299
|
-
#say "- Set languages for ckeditor to ['en', 'nl'] in config/initializers/ckeditor.rb..."
|
300
|
-
#insert_into_file "config/initializers/ckeditor.rb", " config.assets_languages = ['en', 'nl']\n", :after => "config.assets_languages = ['en', 'uk']\n"
|
294
|
+
# precompile config.js
|
295
|
+
say "- Precompile ckeditor config.js"
|
296
|
+
append_file "config/initializers/assets.rb", " Rails.application.config.assets.precompile += %w[ckeditor/config.js]\n"
|
301
297
|
|
302
298
|
say "- Paper_trail install..."
|
303
299
|
generate "paper_trail:install --with-changes"
|
@@ -367,17 +363,23 @@ create_file "app/controllers/application_controller.rb", <<-END_APPCONTROLLER.st
|
|
367
363
|
class ApplicationController < InlineFormsApplicationController
|
368
364
|
protect_from_forgery
|
369
365
|
|
370
|
-
#
|
371
|
-
before_action :
|
366
|
+
# add whodunnit
|
367
|
+
before_action :set_paper_trail_whodunnit
|
372
368
|
|
373
|
-
# Comment next
|
369
|
+
# Comment next lines if you don't want Devise authentication
|
370
|
+
before_action :authenticate_user!
|
374
371
|
check_authorization unless: :devise_controller?
|
375
372
|
|
376
373
|
rescue_from CanCan::AccessDenied do |exception|
|
377
|
-
|
374
|
+
respond_to do |format|
|
375
|
+
format.json { head :forbidden, content_type: 'text/html' }
|
376
|
+
format.html { redirect_to main_app.root_url, notice: exception.message }
|
377
|
+
format.js { head :forbidden, content_type: 'text/html' }
|
378
|
+
end
|
378
379
|
end
|
380
|
+
# Comment previous lines if you don't want Devise authentication
|
379
381
|
|
380
|
-
ActionView::CompiledTemplates::MODEL_TABS = %w()
|
382
|
+
#ActionView::CompiledTemplates::MODEL_TABS = %w()
|
381
383
|
|
382
384
|
# Uncomment next line if you want I18n (based on subdomain)
|
383
385
|
# before_action :set_locale
|
@@ -423,75 +425,8 @@ create_file "app/models/ability.rb", <<-END_ABILITY.strip_heredoc
|
|
423
425
|
end
|
424
426
|
END_ABILITY
|
425
427
|
|
426
|
-
say "- Generating test files", :green
|
427
|
-
|
428
|
-
create_file "spec/spec_helper.rb", <<-END_TEST_HELPER.strip_heredoc
|
429
|
-
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
430
|
-
ENV["RAILS_ENV"] ||= 'development' # this need to be changed to test ???
|
431
|
-
require File.expand_path("../../config/environment", __FILE__)
|
432
|
-
require 'capybara/rspec'
|
433
|
-
require 'rspec/rails'
|
434
|
-
require 'rspec/autorun'
|
435
|
-
require 'carrierwave/test/matchers'
|
436
|
-
|
437
|
-
|
438
|
-
# Requires supporting ruby files with custom matchers and macros, etc,
|
439
|
-
# in spec/support/ and its subdirectories.
|
440
|
-
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
441
|
-
|
442
|
-
RSpec.configure do |config|
|
443
|
-
config.include FactoryGirl::Syntax::Methods
|
444
|
-
# ## Mock Framework
|
445
|
-
#
|
446
|
-
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
447
|
-
#
|
448
|
-
# config.mock_with :mocha
|
449
|
-
# config.mock_with :flexmock
|
450
|
-
# config.mock_with :rr
|
451
|
-
|
452
|
-
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
453
|
-
config.fixture_path = Rails.root + "/spec/fixtures"
|
454
|
-
|
455
|
-
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
456
|
-
# examples within a transaction, remove the following line or assign false
|
457
|
-
# instead of true.
|
458
|
-
config.use_transactional_fixtures = true
|
459
|
-
|
460
|
-
# If true, the base class of anonymous controllers will be inferred
|
461
|
-
# automatically. This will be the default behavior in future versions of
|
462
|
-
# rspec-rails.
|
463
|
-
config.infer_base_class_for_anonymous_controllers = false
|
464
|
-
|
465
|
-
# Run specs in random order to surface order dependencies. If you find an
|
466
|
-
# order dependency and want to debug it, you can fix the order by providing
|
467
|
-
# the seed, which is printed after each run.
|
468
|
-
# --seed 1234
|
469
|
-
config.order = "random"
|
470
|
-
end
|
471
|
-
END_TEST_HELPER
|
472
|
-
|
473
|
-
say 'copy test image into rspec folder'
|
474
|
-
copy_file File.join(GENERATOR_PATH,'lib/otherstuff/fixtures/rails.png'), "spec/fixtures/images/rails.png"
|
475
|
-
say '- Creating factory_girl file'
|
476
|
-
create_file "spec/factories/inline_forms.rb", <<-END_FACTORY_GIRL.strip_heredoc
|
477
|
-
FactoryGirl.define do
|
478
|
-
factory :apartment do
|
479
|
-
name "Luxe House in Bandabou 147A" #string
|
480
|
-
title "A dream house in a dream place" # string
|
481
|
-
description "A beatiful House at the edge of the <strong>sea</strong>" #text
|
482
|
-
end
|
483
|
-
factory :large_text do
|
484
|
-
name "Luxe House in Bandabou 147A" #string
|
485
|
-
title "A dream house in a dream place" # string
|
486
|
-
description "A beatiful House at the edge of the <strong>sea</strong>" #text
|
487
|
-
end
|
488
|
-
end
|
489
|
-
END_FACTORY_GIRL
|
490
|
-
remove_file 'spec/factories/users.rb'
|
491
|
-
remove_file 'spec/models/user_spec.rb'
|
492
|
-
|
493
428
|
# precompile devise.css
|
494
|
-
say "- Precompile devise.css
|
429
|
+
say "- Precompile devise.css"
|
495
430
|
append_file "config/initializers/assets.rb", " Rails.application.config.assets.precompile += %w( inline_forms_devise.css )\n"
|
496
431
|
|
497
432
|
# devise mailer stuff
|
@@ -540,36 +475,9 @@ copy_file File.join(GENERATOR_PATH,'lib/generators/templates/capistrano/Capfile'
|
|
540
475
|
say "- Unicorn Config..."
|
541
476
|
copy_file File.join(GENERATOR_PATH,'lib/generators/templates/unicorn/production.rb'), "config/unicorn/production.rb"
|
542
477
|
|
543
|
-
|
544
478
|
# Git
|
545
|
-
say "-
|
546
|
-
run 'git init'
|
547
|
-
|
548
|
-
insert_into_file ".gitignore", <<-GITIGNORE.strip_heredoc, :after => "/tmp\n"
|
549
|
-
# remotipart uploads
|
550
|
-
public/uploads
|
551
|
-
# Figaro secrets
|
552
|
-
config/application.yml
|
553
|
-
GITIGNORE
|
554
|
-
|
555
|
-
say "- Installing Figaro..."
|
556
|
-
run 'bundle exec figaro install'
|
557
|
-
remove_file "config/application.yml"
|
558
|
-
copy_file File.join(GENERATOR_PATH,'lib/generators/templates/application.yml.blank'), "config/application.yml"
|
559
|
-
copy_file File.join(GENERATOR_PATH,'lib/generators/templates/application.yml.blank'), "config/application.yml.blank"
|
560
|
-
|
561
|
-
say "- Installing config/secrets.yml..."
|
562
|
-
remove_file "config/secrets.yml"
|
563
|
-
create_file "config/secrets.yml", <<-END_SECRETS_YML.strip_heredoc
|
564
|
-
development:
|
565
|
-
secret_key_base: #{SecureRandom.hex(64)}
|
566
|
-
|
567
|
-
test:
|
568
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
569
|
-
|
570
|
-
production:
|
571
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
572
|
-
END_SECRETS_YML
|
479
|
+
say "- adding and committing to git..."
|
480
|
+
# run 'git init' # this is already done by rails!
|
573
481
|
|
574
482
|
run 'git add .'
|
575
483
|
run 'git commit -a -m " * Initial"'
|
data/inline_forms.gemspec
CHANGED
@@ -23,12 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_dependency('rvm')
|
24
24
|
s.add_dependency('thor')
|
25
25
|
s.add_dependency('validation_hints')
|
26
|
-
s.add_dependency('rails', '
|
26
|
+
s.add_dependency('rails', '6.1.3.1')
|
27
27
|
s.add_dependency('rails-i18n')
|
28
28
|
|
29
|
-
s.add_development_dependency(%q<rspec-rails>)
|
30
|
-
s.add_development_dependency(%q<shoulda>)
|
31
|
-
s.add_development_dependency(%q<bundler>)
|
32
|
-
s.add_development_dependency(%q<jeweler>)
|
33
|
-
|
34
29
|
end
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ace Suares
|
@@ -10,132 +10,76 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-04-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rvm
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: thor
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: validation_hints
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: rails
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - '
|
61
|
+
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 6.1.3.1
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - '
|
68
|
+
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: 6.1.3.1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rails-i18n
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: rspec-rails
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - '>='
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '0'
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - '>='
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: shoulda
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - '>='
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0'
|
106
|
-
type: :development
|
107
|
-
prerelease: false
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
requirements:
|
110
|
-
- - '>='
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: bundler
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - '>='
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '0'
|
120
|
-
type: :development
|
121
|
-
prerelease: false
|
122
|
-
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
requirements:
|
124
|
-
- - '>='
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: jeweler
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - '>='
|
82
|
+
- - ">="
|
139
83
|
- !ruby/object:Gem::Version
|
140
84
|
version: '0'
|
141
85
|
description: Inline Forms aims to ease the setup of forms that provide inline editing.
|
@@ -149,9 +93,9 @@ executables:
|
|
149
93
|
extensions: []
|
150
94
|
extra_rdoc_files: []
|
151
95
|
files:
|
152
|
-
- .document
|
153
|
-
- .gitignore
|
154
|
-
- .vscode/settings.json
|
96
|
+
- ".document"
|
97
|
+
- ".gitignore"
|
98
|
+
- ".vscode/settings.json"
|
155
99
|
- Gemfile
|
156
100
|
- LICENSE.txt
|
157
101
|
- README.rdoc
|
@@ -265,8 +209,6 @@ files:
|
|
265
209
|
- lib/generators/assets/stylesheets/inline_forms_devise.css
|
266
210
|
- lib/generators/inline_forms_generator.rb
|
267
211
|
- lib/generators/templates/_inline_forms_tabs.html.erb
|
268
|
-
- lib/generators/templates/abstract_mysql2_adapter.rb
|
269
|
-
- lib/generators/templates/application.yml.blank
|
270
212
|
- lib/generators/templates/application_record.rb
|
271
213
|
- lib/generators/templates/capistrano/Capfile
|
272
214
|
- lib/generators/templates/capistrano/deploy.rb
|
@@ -274,7 +216,6 @@ files:
|
|
274
216
|
- lib/generators/templates/controller.erb
|
275
217
|
- lib/generators/templates/migration.erb
|
276
218
|
- lib/generators/templates/model.erb
|
277
|
-
- lib/generators/templates/paper_trail.rb
|
278
219
|
- lib/generators/templates/test.erb
|
279
220
|
- lib/generators/templates/unicorn/production.rb
|
280
221
|
- lib/inline_forms.rb
|
@@ -283,9 +224,6 @@ files:
|
|
283
224
|
- lib/locales/inline_forms.nl.yml
|
284
225
|
- lib/otherstuff/20120310065554_inline_forms_create_view_for_translations.rb
|
285
226
|
- lib/otherstuff/add_roles.sql
|
286
|
-
- lib/otherstuff/bump
|
287
|
-
- lib/otherstuff/diffie
|
288
|
-
- lib/otherstuff/fixtures/rails.png
|
289
227
|
- lib/otherstuff/mkiftrans
|
290
228
|
- lib/otherstuff/mkrole
|
291
229
|
- lib/otherstuff/roles_users.sql
|
@@ -300,17 +238,16 @@ require_paths:
|
|
300
238
|
- lib
|
301
239
|
required_ruby_version: !ruby/object:Gem::Requirement
|
302
240
|
requirements:
|
303
|
-
- -
|
241
|
+
- - ">="
|
304
242
|
- !ruby/object:Gem::Version
|
305
243
|
version: '0'
|
306
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
307
245
|
requirements:
|
308
|
-
- -
|
246
|
+
- - ">="
|
309
247
|
- !ruby/object:Gem::Version
|
310
248
|
version: '0'
|
311
249
|
requirements: []
|
312
|
-
|
313
|
-
rubygems_version: 2.6.14
|
250
|
+
rubygems_version: 3.2.5
|
314
251
|
signing_key:
|
315
252
|
specification_version: 4
|
316
253
|
summary: Inline editing of forms.
|
@@ -1,59 +0,0 @@
|
|
1
|
-
DEVISE_SECRET_KEY:
|
2
|
-
SECRET_TOKEN:
|
3
|
-
|
4
|
-
DEPLOY_USER:
|
5
|
-
DEPLOY_HOST:
|
6
|
-
DEPLOY_APPLICATION:
|
7
|
-
DEPLOY_REPO_URL:
|
8
|
-
DEPLOY_DIRECTORY:
|
9
|
-
|
10
|
-
development:
|
11
|
-
ACTION_MAILER_SMTP_SETTINGS_ADDRESS:
|
12
|
-
ACTION_MAILER_SMTP_SETTINGS_PASSWORD:
|
13
|
-
ACTION_MAILER_SMTP_SETTINGS_USERNAME:
|
14
|
-
|
15
|
-
DATABASE_NAME:
|
16
|
-
DATABASE_USER:
|
17
|
-
DATABASE_PASSWORD:
|
18
|
-
|
19
|
-
FACEBOOK_APP_ID:
|
20
|
-
FACEBOOK_APP_SECRET:
|
21
|
-
|
22
|
-
GITHUB_CLIENT_ID:
|
23
|
-
GITHUB_CLIENT_SECRET:
|
24
|
-
|
25
|
-
SECRET_KEY_BASE:
|
26
|
-
|
27
|
-
production:
|
28
|
-
ACTION_MAILER_SMTP_SETTINGS_ADDRESS:
|
29
|
-
ACTION_MAILER_SMTP_SETTINGS_PASSWORD:
|
30
|
-
ACTION_MAILER_SMTP_SETTINGS_USERNAME:
|
31
|
-
|
32
|
-
DATABASE_NAME:
|
33
|
-
DATABASE_USER:
|
34
|
-
DATABASE_PASSWORD:
|
35
|
-
|
36
|
-
FACEBOOK_APP_ID:
|
37
|
-
FACEBOOK_APP_SECRET:
|
38
|
-
|
39
|
-
GITHUB_CLIENT_ID:
|
40
|
-
GITHUB_CLIENT_SECRET:
|
41
|
-
|
42
|
-
SECRET_KEY_BASE:
|
43
|
-
|
44
|
-
test:
|
45
|
-
ACTION_MAILER_SMTP_SETTINGS_ADDRESS:
|
46
|
-
ACTION_MAILER_SMTP_SETTINGS_PASSWORD:
|
47
|
-
ACTION_MAILER_SMTP_SETTINGS_USERNAME:
|
48
|
-
|
49
|
-
DATABASE_NAME:
|
50
|
-
DATABASE_USER:
|
51
|
-
DATABASE_PASSWORD:
|
52
|
-
|
53
|
-
FACEBOOK_APP_ID:
|
54
|
-
FACEBOOK_APP_SECRET:
|
55
|
-
|
56
|
-
GITHUB_CLIENT_ID:
|
57
|
-
GITHUB_CLIENT_SECRET:
|
58
|
-
|
59
|
-
SECRET_KEY_BASE:
|
data/lib/otherstuff/bump
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
rule /^version:bump:.*/ do |t|
|
2
|
-
sh "git status | grep 'nothing to commit'" # ensure we are not dirty
|
3
|
-
index = ['major', 'minor','patch'].index(t.name.split(':').last)
|
4
|
-
file = 'lib/GEM_NAME/version.rb'
|
5
|
-
|
6
|
-
version_file = File.read(file)
|
7
|
-
old_version, *version_parts = version_file.match(/(\d+)\.(\d+)\.(\d+)/).to_a
|
8
|
-
version_parts[index] = version_parts[index].to_i + 1
|
9
|
-
new_version = version_parts * '.'
|
10
|
-
File.open(file,'w'){|f| f.write(version_file.sub(old_version, new_version)) }
|
11
|
-
|
12
|
-
sh "bundle && git add #{file} Gemfile.lock && git commit -m 'bump version to #{new_version}'"
|
13
|
-
end
|
data/lib/otherstuff/diffie
DELETED
Binary file
|