mako 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/mako +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4470a846bfc7854105e09c292f66f4534b8e4561
4
- data.tar.gz: f2b1cb5454bd0d1ba5686bcf46482c234f0c52c3
3
+ metadata.gz: e5559b6a427c83647fdb996cd6efd5ad2ce59131
4
+ data.tar.gz: 5f3cad667b2a9e70e64b38b51ad3d6a45918dfcc
5
5
  SHA512:
6
- metadata.gz: 9545549790e693522ad77a3c6f17d29a7131b183f0e5ab6e6f6fac3b2f35d5d8333eff617da90664847c811aa76232ef0f1f37209fdf1b56e662242a13df9058
7
- data.tar.gz: f1600d904affb7a50dfbbe2dde7f1c24c6a2fbe3815f48ebbebe17202d6152f507c3e0d9a53a8a443ca874b282d93aaaf0bfb393075fa27816b14755136a8ce8
6
+ metadata.gz: b7f2522c458a2b150a788a4f64ba02e644f3b2fce7d2d5b9b41b1da03c12416d25e964233be776e75ea513e5b8cfeded119847ae523bc262ce3da69f38b3953d
7
+ data.tar.gz: 0e2fa2748b180dde1a7761d5482d00413650771de35c29c3c98299668c2fc0edfe49b49a362c68398b7d35c729f975e95a9e1f2959f778e312127dbe7a02e704
data/bin/mako CHANGED
@@ -4,6 +4,7 @@ require 'trollop'
4
4
  require 'mako/scaffold'
5
5
  require 'mako/build'
6
6
  require 'yaml'
7
+ require 'rubygems'
7
8
 
8
9
  class Mako
9
10
 
@@ -92,7 +93,8 @@ class Mako
92
93
  when !cmd.nil? # Unkown
93
94
  Trollop::die "unknown subcommand #{cmd.inspect}".red
94
95
  else # If there is no sub command at all
95
- puts 'Mako Version: 1.0.3'.green
96
+ spec = Gem::Specification::load("mako.gemspec")
97
+ puts "Mako Version: #{spec.version}".green
96
98
  puts help['mako']
97
99
  end
98
100
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mako
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Turgeon