itamae 1.0.0.beta9 → 1.0.0.beta10

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: 316546d4d9112ec266c35d0e68ac945bff9c89db
4
- data.tar.gz: c0f441c234e8a246ef88c5b986b40fe303aa3641
3
+ metadata.gz: 81a5923793f82c902667a2d8324149ec2ef160ac
4
+ data.tar.gz: dbaf21780d608bfa50de7141b6666fbe8e592656
5
5
  SHA512:
6
- metadata.gz: 9e09edb03f591ab95907efa644c85ba8a4a3d8ce4acbd158812ffe6785bd1c22c022987e17a9988fcfb9216f41c6e03bc42a9e85c5778a53175582f5df07d27a
7
- data.tar.gz: 706adb717f18b87638c9aa0933b767e7b8c33eb44a9dfe6e474e95c0642a8a6f491d4791371731719b4987599b2eb933d7e08587f161ab6387853c9058f6ee09
6
+ metadata.gz: 92f837c2a09449dca10841e0de3e17f620f18bbbd82391f4b654c6e42737bc127878caec62df874aa7a0c9be94133b92919ec8108480adfd3baeb2485fe652b2
7
+ data.tar.gz: 23fdf6eeffcd642c16c2d1b52f774e777c6e9e08065ad57cad48e1b8cf10b64e1d1b675c43b9177c2ba3d448beceb3735bbb476c065a40e10beddcb4acfa5de3
data/Rakefile CHANGED
@@ -65,16 +65,3 @@ namespace :spec do
65
65
  end
66
66
  end
67
67
 
68
- namespace :release do
69
- desc "Bump up version and commit"
70
- task :bump_up_version do
71
- version_file = File.expand_path("lib/itamae/version.txt")
72
- current_version = File.read(version_file)
73
- open(version_file, "w") do |f|
74
- f.write current_version.succ
75
- end
76
- system "git add #{version_file}"
77
- system "git commit -m 'Bump up version'"
78
- end
79
- end
80
-
data/lib/itamae/cli.rb CHANGED
@@ -30,6 +30,11 @@ module Itamae
30
30
  def ssh(*recipe_files)
31
31
  Runner.run(recipe_files, :ssh, options)
32
32
  end
33
+
34
+ desc "version", "Print version"
35
+ def version
36
+ puts "Itamae v#{Itamae::VERSION}"
37
+ end
33
38
  end
34
39
  end
35
40
 
@@ -1,3 +1,3 @@
1
1
  module Itamae
2
- VERSION = File.read(File.expand_path("../version.txt", __FILE__))
2
+ VERSION = File.read(File.expand_path("../version.txt", __FILE__)).strip
3
3
  end
@@ -1 +1 @@
1
- 1.0.0.beta9
1
+ 1.0.0.beta10
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta9
4
+ version: 1.0.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai