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 +4 -4
- data/.travis.yml +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/jievro/ast/node.rb +2 -2
- data/lib/jievro/ast/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6e64d89ba57a3d0007d7ad0d3ea7cb47b610e5c
|
4
|
+
data.tar.gz: 856bac677482c222ff6e658cb62bb753fc246810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a08dea5abb7a5622852363b527a3db69a47316fafa4f77d411325791a97a92db8a4e6b9b84cc0d2db837bdf32ccfbbfb811f66f83393e0be6315b17bcddf610
|
7
|
+
data.tar.gz: 57355e42308801b4dbc25e936d9e2add1062200951847e5a029581d3756ef54bdde99e974852566fbc93431dac6a9b88c07a6c75920cf683068379d8b558982d
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
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)
|
data/lib/jievro/ast/node.rb
CHANGED
@@ -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
|
data/lib/jievro/ast/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|