wireframe-haml 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/haml/version.rb +4 -4
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 1
3
- :patch: 0
4
2
  :major: 2
3
+ :minor: 1
4
+ :patch: 1
data/lib/haml/version.rb CHANGED
@@ -8,11 +8,11 @@ module Haml
8
8
  def version
9
9
  return @@version if defined?(@@version)
10
10
 
11
- numbers = File.read(scope('VERSION')).strip.split('.').map { |n| n.to_i }
11
+ config = YAML.load_file(scope('VERSION.yml'))
12
12
  @@version = {
13
- :major => numbers[0],
14
- :minor => numbers[1],
15
- :teeny => numbers[2]
13
+ :major => config['major'],
14
+ :minor => config['minor'],
15
+ :teeny => config['patch']
16
16
  }
17
17
  @@version[:string] = [:major, :minor, :teeny].map { |comp| @@version[comp] }.compact.join('.')
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wireframe-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-03-05 00:00:00 -08:00
13
+ date: 2009-03-12 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16