bower_vendor 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f85364e824eb274d778b704afb164438d9e6a4f2
4
- data.tar.gz: d92fcc6794a03b1789775b03abd17f55fadaf596
2
+ SHA256:
3
+ metadata.gz: c88e677626899af69b9baa2f75aa1b0281f00716b9136b922749a0f88b10179f
4
+ data.tar.gz: b2e8b37896d31ee8dfe46b3ee85ab17aa36aabfe8098dd3ba3879912cc5f6579
5
5
  SHA512:
6
- metadata.gz: 538072251793d3ad6b1d72e77f9223ef37c5661910f25b815650547bf0b16475fb9a62b7577f626164a50dc69ec79b26f067679b32aa1a5058da162d97409fb1
7
- data.tar.gz: 70fa62ee6c489871cc23e835abff057f97ee7ae13986a5eb23ab9685366f09d7753da3309e8356a43cd583b27a21ebca417eeb9963bfbf851bc7f72dbc9cba23
6
+ metadata.gz: c3df637690db6045e9fe3440495de9879ec90cd59786f27794217ff9b9ebdec068f5fb4c38baa98d292a4511460811cb68a75bad5fcea5490d10c3f10ecb3d1c
7
+ data.tar.gz: b333a4c5d4d8e4acc805502cbd0669a11debba63227bb363bcbbf56d6067ab845ff5265d86632ea7e43dfaf1c03f2c17e50d1832b173657a14d9bb077e530aa5
@@ -79,6 +79,15 @@ class BowerVendor::Copy < BowerVendor::Base
79
79
  full_dst_file = "#{dst_dir}/#{dst_file}"
80
80
 
81
81
  msg level, "#{full_src_file} => #{full_dst_file}"
82
+
83
+ # NOTE KI create symlink to "current" version
84
+ vendor_parsed_path = vendor.split('/')
85
+ Dir.chdir(File.join(base_dst_dir, vendor_parsed_path[0, vendor_parsed_path.length - 1])) do
86
+ vendor_versioned_dir = vendor_parsed_path.last
87
+ FileUtils.rm_f(vendor_versioned_dir)
88
+ FileUtils.ln_sf("#{vendor_versioned_dir}-#{version}", vendor_versioned_dir)
89
+ end
90
+
82
91
  if !Dir.exist? dst_dir
83
92
  FileUtils.mkdir_p dst_dir
84
93
  end
@@ -1,3 +1,3 @@
1
1
  module BowerVendor
2
- VERSION = "0.1.19"
2
+ VERSION = "0.1.20"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bower_vendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - kari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-05 00:00:00.000000000 Z
11
+ date: 2019-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.5.1
122
+ rubygems_version: 3.0.1
124
123
  signing_key:
125
124
  specification_version: 4
126
125
  summary: Use bower to manage resources for rails application