jievro-ast 0.3.2 → 0.4.0

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: b3a255322b21284974bd0fd3355b312962e064fc
4
- data.tar.gz: 41f7e711f44e2fded4df1b84451381bda69bec6c
3
+ metadata.gz: e6e64d89ba57a3d0007d7ad0d3ea7cb47b610e5c
4
+ data.tar.gz: 856bac677482c222ff6e658cb62bb753fc246810
5
5
  SHA512:
6
- metadata.gz: cea7140044cabf7eaf71ace097c966205d59b5166f10072adfa2478f22ba725e513dffdd57b440d23785f8e9011a870b064292b0cdbc48f08685a96c521e45db
7
- data.tar.gz: 8093e28b845181559d24ad807471ef755bcc62d233cac1871f10119c1aade94bc3500bc42459610e0957cdc12a7feb79d5a4c7221be7b6388e784ebcec030d5f
6
+ metadata.gz: 6a08dea5abb7a5622852363b527a3db69a47316fafa4f77d411325791a97a92db8a4e6b9b84cc0d2db837bdf32ccfbbfb811f66f83393e0be6315b17bcddf610
7
+ data.tar.gz: 57355e42308801b4dbc25e936d9e2add1062200951847e5a029581d3756ef54bdde99e974852566fbc93431dac6a9b88c07a6c75920cf683068379d8b558982d
data/.travis.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1.0
5
+ - 2.2.0
2
6
 
3
7
  script: bundle exec rake test
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jievro-ast (0.3.2)
4
+ jievro-ast (0.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1 +1,5 @@
1
1
  #jievro-ast
2
+
3
+ [![Build Status](https://travis-ci.org/jievro/ast.svg?branch=develop)](https://travis-ci.org/jievro/ast)
4
+ [![GitHub Version](https://badge.fury.io/gh/jievro%2Fast.svg)](http://badge.fury.io/gh/jievro%2Fast)
5
+ [![Gem Version](https://badge.fury.io/rb/jievro-ast.svg)](http://badge.fury.io/rb/jievro-ast)
@@ -11,7 +11,7 @@ module Jievro
11
11
  @key = key
12
12
 
13
13
  case initializer
14
- when FalseClass, TrueClass, String, Fixnum, Float
14
+ when NilClass, FalseClass, TrueClass, String, Fixnum, Float
15
15
  initialize_as_literal(initializer)
16
16
  when Array
17
17
  initialize_as_array(initializer)
@@ -19,7 +19,7 @@ module Jievro
19
19
  initialize_as_hash(initializer)
20
20
  else
21
21
  fail Exception, "The initializer must be
22
- FalseClass, TrueClass, String,
22
+ NilClass, FalseClass, TrueClass, String,
23
23
  Fixnum, Float, Array or Hash.
24
24
  #{initializer.class} given"
25
25
  end
@@ -1,5 +1,5 @@
1
1
  module Jievro
2
2
  module Ast
3
- VERSION = '0.3.2'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jievro-ast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Azzalini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler