luban 0.8.5 → 0.8.6

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: fa9b089348b0785af2faf40d86464cf86cc7c531
4
- data.tar.gz: a982d8c33d1d3f595dc20f2ed5f4229b52f42afe
3
+ metadata.gz: b563d81bdac67bae927aae3873d245713af281db
4
+ data.tar.gz: 342b20e4251bc4edbfea4ef0bbfc928ad85dd0f1
5
5
  SHA512:
6
- metadata.gz: e3cf21af0a7a26dc4f3c067e1801cee9feb8d8ebc7f8ed198e841226e0a4bad04c37388b6fe00a6b9d4358387cf750faa60b0f886f5f612caad37238a0b013e5
7
- data.tar.gz: f5b5e165b5275963ff3c2bd84795173c20ceea90407d4fa81d2210f8299dbe32f1ebc0918fda6aec261844c7286c69603c1f4b247f638920267c4b0a554d3e92
6
+ metadata.gz: 542d60b312f8b980320b2db1cf3613d57ff5943b9af92397038b75ea36669866002eb490b75f442c359ecc7e1dfbcf5dd1f6c0ab7758016c8830f7094c9fb697
7
+ data.tar.gz: 59ef6d0cfcf330b5d194a266ff65bd64715c6571e99854abaf060fb85e8b242574a5a125e4a1f63daa71a289e4674841892fe18112d1aa0d628f965db05f7072
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.8.6 (Sept 23, 2016)
4
+
5
+ Bug fixes:
6
+ * Fixed a bug for properly updating crontab when other unrelated crontab entries exist
7
+
3
8
  ## Version 0.8.5 (Sept 23, 2016)
4
9
 
5
10
  Minor enhancemnets:
@@ -118,7 +118,7 @@ module Luban
118
118
  end
119
119
  lines
120
120
  end
121
- crontab << new_crontab unless found
121
+ crontab << new_crontab unless crontab.include?(new_crontab)
122
122
  upload!(StringIO.new(crontab.join("\n")), tmp_crontab_file_path)
123
123
  test(:crontab, tmp_crontab_file_path, "2>&1")
124
124
  ensure
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.8.5"
3
+ VERSION = "0.8.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei