ufo 3.1.1 → 3.1.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
  SHA256:
3
- metadata.gz: d75643b59e36f0f08c8cbbf2731b6e812609e27ff417055fad1fa549aa454db9
4
- data.tar.gz: 146706f8a36243229014cf8a4e09397506efd655284ebe199e79b7c5f3107fc8
3
+ metadata.gz: 82ae766d7898605cd34a3c649d78b9b09167032da7671f2b96c2d48a9f399869
4
+ data.tar.gz: 071b075649fad43445e648212f5f0757b9f3fb8dbf26a8ffd66edb636f6cdcc6
5
5
  SHA512:
6
- metadata.gz: 4706fcc082ace35482e905c587599fdc2cfbd7e6649c2f4859a51f7ba4a298c994133c8f03e817aa1285a6bb59e839ce4e6ec4ae9e99d4679a367214c34e6203
7
- data.tar.gz: bea2d53470126f9005b6ecfe9cb366a7433a510f94cbfc4bc2dfd4f69b3eeac0e7ce6a4c3721326767893b42bd661d686460f526da07b2d087d77fb18e0308da
6
+ metadata.gz: 342dc28256785eaf52a64e86dbf1a3f8287e5297697ab69dbf864ca61846089491a87d77cec1e4998708a2a26a6e05c2f17973cb2f93499355fc56e28e1582e8
7
+ data.tar.gz: 71f1508d882070f67a7b10b3088cd98a522f37897891beeec2202943eee55826856c3189541a6db1cb31c92d4a9eade3abbbe4b1e1c00397f55012fcbcf07d1a
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [3.1.2]
7
+ - upgrade3 updates .gitignore also
8
+
6
9
  ## [3.1.1]
7
10
  - actually use the cluster value in settings
8
11
  - upgrade variables path also #20
@@ -26,12 +26,21 @@ module Ufo
26
26
  end
27
27
 
28
28
  upgrade_variables
29
+ upgrade_gitignore
29
30
 
30
31
  mv("ufo", ".ufo")
31
32
  puts "Upgrade complete."
32
33
  new_env_info
33
34
  end
34
35
 
36
+ def upgrade_gitignore
37
+ lines = IO.readlines(".gitignore")
38
+ text = lines.map do |line|
39
+ line.sub(/[\/]?ufo/, '.ufo')
40
+ end.join
41
+ IO.write(".gitignore", text)
42
+ end
43
+
35
44
  def upgrade_variables
36
45
  upgrade_variable_path("dev")
37
46
  upgrade_variable_path("stag")
@@ -1,3 +1,3 @@
1
1
  module Ufo
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ufo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen