inline_forms 6.2.4 → 6.2.5

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: da0da56f70167a18cad534ee9ec06721c11a5402e51662b6d9ef474556ef0de9
4
- data.tar.gz: fe14b6e4912095742e3244e563756271a7a3bf8cd707d1669c70401b5c838f96
3
+ metadata.gz: b8b2439d2926947798088aebb28dfa802ee112e41b3da05b917e9494e3769a92
4
+ data.tar.gz: de44f3d7543f14834e96e25fdcd9f73dffa7b29d2074c886d66e09e2ece962da
5
5
  SHA512:
6
- metadata.gz: 9e6bc7963f7e64512bfedd1e5ad742b07f7063a1153e9cea5f158708e446f23b58517bf1bae41a6d2eaf8c818530f8ca39ebc2d182805507d7b87d230736e3cc
7
- data.tar.gz: c31de7d071bf503999f0b03b1b3bea0e46dbe376935478874682eee033ad13d2b1ebab09802972b9975e2ca8e6286b16c4cb93054d36816382319e6f32edb653
6
+ metadata.gz: 447fd71dfa0d64815b6f884f0e7324851c23f8b6d83baf4554c6875a9d5e5368b342f555a94b6753b7afe7a274801b54f376f0fc9181d77ab82b8894b0f891bc
7
+ data.tar.gz: 895e71e4c898bd989e66a66f310c861a577e90dde871306517b46485151af7833ee93628d1985255084624ebd999e1fd2e82830c7ba2eb38a5febfd43cb1878f
data/bin/inline_forms CHANGED
@@ -71,7 +71,7 @@ module InlineForms
71
71
  exit 1
72
72
  end
73
73
 
74
- if File.exists?(app_name)
74
+ if File.exist?(app_name)
75
75
  say "Error: APP exists", :red
76
76
  exit 1
77
77
  end
@@ -207,7 +207,7 @@ module InlineForms
207
207
  end
208
208
 
209
209
  def add_second_top_bar
210
- copy_file "_inline_forms_tabs.html.erb", "app/views/_inline_forms_tabs.html.erb" unless File.exists?('app/views/_inline_forms_tabs.html.erb')
210
+ copy_file "_inline_forms_tabs.html.erb", "app/views/_inline_forms_tabs.html.erb" unless File.exist?('app/views/_inline_forms_tabs.html.erb')
211
211
  end
212
212
 
213
213
  def add_tab
@@ -26,7 +26,7 @@ before_fork do |server, worker|
26
26
 
27
27
  old_pid = "#{app_path}/tmp/pids/unicorn.pid.oldbin"
28
28
 
29
- if File.exists?(old_pid) && server.pid != old_pid
29
+ if File.exist?(old_pid) && server.pid != old_pid
30
30
  begin
31
31
  Process.kill("QUIT", File.read(old_pid).to_i)
32
32
  rescue Errno::ENOENT, Errno::ESRCH
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "6.2.4"
3
+ VERSION = "6.2.5"
4
4
  end
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.2.4
4
+ version: 6.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-06 00:00:00.000000000 Z
13
+ date: 2023-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rvm
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubygems_version: 3.1.4
249
+ rubygems_version: 3.1.6
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Inline editing of forms.