hamlit 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdbcd9855ceed711ca31e228ae8d9eb034868259
4
- data.tar.gz: 7b0e66130cefe424a2463a283c6a930ad6ae2e60
3
+ metadata.gz: 6ac83342b7ce50f0eaff97d4135ee6bf607b0f63
4
+ data.tar.gz: 24c61aab36fff37a52c164317bbe0097514c58db
5
5
  SHA512:
6
- metadata.gz: da1b2dc6acad532b7983ad4fe19ff39a4dc3fe94869c7a90b68f0fb8f3d1689d1168edbcf8ba0eeae4ec43d1ad6ad9ee88394b604eaa723c371f01e3520e404c
7
- data.tar.gz: 099914dd8eb91a102613b42290f5aa87bd0332c87f83fef8f74c88d0d0ac9848f2ad1644744f817d29efd5cd93da1940c5a33b43385bd4fa53433526aa4290a7
6
+ metadata.gz: 1dc0bd5b4e3f0225fe13daa88b743bfbff1cab932c310ee36ada305d4e86bb9970f8cfde7bafa6709769fc80421e32a8e94a4e52a03f20ab5888bfd52277028c
7
+ data.tar.gz: 21288f855fa30998dec970a2926004ac50d4384d9400b45074cb675954f7887b40928294fa89276e780119957d43707d9f3fc4b60c97cb3f31e63508462decfc
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. This
4
4
  project adheres to [Semantic Versioning](http://semver.org/). This change log is based upon
5
5
  [keep-a-changelog](https://github.com/olivierlacan/keep-a-changelog).
6
6
 
7
+ ## [2.2.3](https://github.com/k0kubun/hamlit/compare/v2.2.2...v2.2.3) - 2016-03-10
8
+
9
+ ### Added
10
+
11
+ - Add `hamlit version` subcommand
12
+ [#60](https://github.com/k0kubun/hamlit/pull/60). *Thanks to @timoschilling*
13
+
14
+ ### Fixed
15
+
16
+ - Fix load path for CLI
17
+ [#61](https://github.com/k0kubun/hamlit/pull/61). *Thanks to @timoschilling*
18
+
7
19
  ## [2.2.2](https://github.com/k0kubun/hamlit/compare/v2.2.1...v2.2.2) - 2016-02-21
8
20
 
9
21
  ### Added
data/README.md CHANGED
@@ -111,7 +111,7 @@ Contributions are welcomed. It'd be good to see
111
111
  to learn Temple which is a template engine framework used in Hamlit.
112
112
 
113
113
  ```bash
114
- $ git clone https://github.com/k0kubun/hamlit
114
+ $ git clone --recursive https://github.com/k0kubun/hamlit
115
115
  $ cd hamlit
116
116
  $ bundle install
117
117
 
data/exe/hamlit CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $:.unshift File.expand_path('../lib', __FILE__)
3
+ $:.unshift File.expand_path('../../lib', __FILE__)
4
4
  require 'hamlit/cli'
5
5
 
6
6
  Hamlit::CLI.start(ARGV)
@@ -28,6 +28,11 @@ module Hamlit
28
28
  pp generate_ast(file)
29
29
  end
30
30
 
31
+ desc 'version', 'Show the used hamlit version'
32
+ def version
33
+ puts Hamlit::VERSION
34
+ end
35
+
31
36
  private
32
37
 
33
38
  def process_load_options
@@ -1,3 +1,3 @@
1
1
  module Hamlit
2
- VERSION = '2.2.2'
2
+ VERSION = '2.2.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamlit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-21 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: temple