action_link 1.1.3 → 1.1.4

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: 18c107b0004ce76fad39d7e16177df40baddc940e162c7ee6694d279ff7c582f
4
- data.tar.gz: 04f8fc2174840b3116e6a20d08ec3194d4a8b6cf05e0d51df164041f5818dd41
3
+ metadata.gz: 18d3d5b1d7406bf12fdcafada8657bee46d7fa72a3d1996e8fbfed8d8d73cf6a
4
+ data.tar.gz: 0d0213aa426a0d2186844b5fd74d945271014692a2deac49274fa3c845911f2e
5
5
  SHA512:
6
- metadata.gz: 0cc53330f62e7d17ff60f0f8566472ed82ab6c58972c79f1abd28bcfffe076efd6f7e87e5f48b0445639fcf03bfaea116ef70d3a46a22266397f002fba222882
7
- data.tar.gz: 62104e62c216cdbe67ca6c29c517fbccb207596aed2d6f2bd42d5aac6d50a351d6ee20c327e9e3ca3c48862311f4915ef70a2096dfab0ff29fef81bb0fb5e02f
6
+ metadata.gz: 4dbf16ddb95a21f5b119411198ee802e806f62bdc58475a7e95b2616087f9a294bf4b2798889fbf4ce689c66b7733894580c970b61ace3070d6176ba19af0cae
7
+ data.tar.gz: 53f65ac7d41cb5d263455545838eb430a1f6a35e13d1cf1991169faa7e349267a1f0a8e65d650e2008cf66b3ef37bff93c03414f5c86f954e84f210e6e36cbca
@@ -8,7 +8,7 @@ module ActionLink
8
8
  class Engine < ::Rails::Engine
9
9
  isolate_namespace ActionLink
10
10
 
11
- initializer "action_link.assets" do |app|
11
+ initializer 'action_link.assets' do |app|
12
12
  app.config.assets.paths << Engine.root.join('app/stylesheets')
13
13
  end
14
14
 
@@ -20,9 +20,8 @@ module ActionLink
20
20
  target = vscode_dir.join('action_link.code-snippets')
21
21
  source = Engine.root.join('vscode/action_link.code-snippets')
22
22
 
23
- unless target.symlink? && target.readlink.to_s == source.to_s
24
- FileUtils.ln_s(source, target, force: true)
25
- end
23
+ FileUtils.rm_f(target.to_s)
24
+ FileUtils.ln_s(source, target, force: true)
26
25
  end
27
26
  end
28
27
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionLink
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_link
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo