zapata 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/lib/zapata/primitive/lvar.rb +1 -1
- data/lib/zapata/version.rb +1 -1
- data/zapata.gemspec +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6da96af6557de7e2ae7108f95a5349e20efa252d
|
4
|
+
data.tar.gz: fb7405ceed05f74fa640448b6cdbb2012f765de5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 989989ef785e7b0be21b4860843991fe18160aceeba46a8391c1d88f0a5a11d7e81b9f7d4c87899566db8e200f2a7f7f9063a8d0dc5560ff74a73e3423e24555
|
7
|
+
data.tar.gz: c29d746fb1f0b03d9b8ced1b729532f3065cbbabe9dd2848ef2654549c4e86ea98d59ea16ec64e75926d1cc67a0c9ba6fc0f0ff51d610d3dfe929a7f41adfe1b
|
data/Gemfile
CHANGED
@@ -10,7 +10,7 @@ module Zapata
|
|
10
10
|
def to_raw
|
11
11
|
chosen_value = Predictor::Value.new(node.name, self).choose
|
12
12
|
|
13
|
-
if chosen_value.node.body == node.body
|
13
|
+
if chosen_value.respond_to?(:node) && chosen_value.node.body == node.body
|
14
14
|
Missing.new(node.name).to_raw
|
15
15
|
else
|
16
16
|
chosen_value.to_raw
|
data/lib/zapata/version.rb
CHANGED
data/zapata.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = %q(Who has time to write tests? This is a revolutional tool to make them write themselves.)
|
13
13
|
spec.homepage = 'https://github.com/Nedomas/zapata'
|
14
14
|
spec.license = 'MIT'
|
15
|
+
spec.required_ruby_version = '~> 2.0'
|
15
16
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0")
|
17
18
|
spec.executables = ['zapata']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zapata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Domas Bitvinskas
|
@@ -357,9 +357,9 @@ require_paths:
|
|
357
357
|
- lib
|
358
358
|
required_ruby_version: !ruby/object:Gem::Requirement
|
359
359
|
requirements:
|
360
|
-
- - "
|
360
|
+
- - "~>"
|
361
361
|
- !ruby/object:Gem::Version
|
362
|
-
version: '0'
|
362
|
+
version: '2.0'
|
363
363
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
364
|
requirements:
|
365
365
|
- - ">="
|