phobos_checkpoint_ui 1.3.1 → 1.3.2

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
2
  SHA1:
3
- metadata.gz: ecf1eb87115ae5bf0f8a90e89d51baaba0e38fc4
4
- data.tar.gz: 1a8fd3e16d9000bbc4daa84b805567325ef165c3
3
+ metadata.gz: fe78d29bcf1021702a7bb5044d4bae6041583562
4
+ data.tar.gz: 47c50988ffce0153cbd940db2413c0fed3e9d3f4
5
5
  SHA512:
6
- metadata.gz: '048a40fbd776a5532747309ae1cf603e620eda83b52f9725a725454d9587965134a1bf04530732718bbc8bec109a1d29929f17a38de621c4abcaf6cfed87e14d'
7
- data.tar.gz: a26b54db391baf6d3c4ca33e6491d208bcc0fb5618982ee035626e5b07befa12f77be9af3bcac76dd39e5cf60ea354d090a122aa09f8443689459043c650c853
6
+ metadata.gz: f98e342a6bf3a6b6ed8d331d0add5a61a6b3b5c37f2cb311bde4e0e74c7330ecf4a5996b2f5352bf10250d7a69c970105f9ec2746d9999bf39a0a81237980041
7
+ data.tar.gz: f6762756515c84118b002e8f6374bb6540807324f0c564bec0fdafb070765dc37b7f8d4b2bc4db2e3994b1f7306d0417aef60bbe748c9aaa0b046718e1ea41f5
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## 1.3.2 (2017-03-17)
8
+
9
+ - [enhancement] Change slightly how copy_assets task work so it doesn't wipe the public folder entirely
10
+
7
11
  ## 1.3.1 (2017-03-16)
8
12
 
9
13
  - [bugfix] Fix bug when failure count is zero
@@ -8,12 +8,13 @@ module PhobosCheckpointUI
8
8
  namespace :phobos_checkpoint_ui do
9
9
  desc 'Copy Assets to ./public folder. It creates the folder if it doesn\'t exist'
10
10
  task :copy_assets do
11
- folder = File.join(Dir.pwd, 'public')
12
- assets = File.expand_path(File.join(File.dirname(__FILE__), '../../assets'))
13
- FileUtils.rm_rf(folder)
14
- FileUtils.mkdir_p(folder)
15
- FileUtils.cp_r(assets, File.join(folder, 'assets'))
16
- FileUtils.mv(File.join(folder, 'assets/index.html'), File.join(folder, 'index.html'))
11
+ public = File.join(Dir.pwd, 'public')
12
+ assets = File.join(Dir.pwd, 'public', 'assets')
13
+ content = File.expand_path(File.join(File.dirname(__FILE__), '../../assets'))
14
+ FileUtils.rm_rf(assets)
15
+ FileUtils.mkdir_p(assets)
16
+ FileUtils.cp_r(content, public)
17
+ FileUtils.mv(File.join(assets, 'index.html'), File.join(public, 'index.html'))
17
18
  end
18
19
  end
19
20
  end
@@ -1,3 +1,3 @@
1
1
  module PhobosCheckpointUI
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phobos_checkpoint_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Túlio Ornelas