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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28a4656491b89dc024bec65813d090320aae56a5
4
- data.tar.gz: ddb5269b6285aedac9388c5a9dfa12b031358b1b
3
+ metadata.gz: 6da96af6557de7e2ae7108f95a5349e20efa252d
4
+ data.tar.gz: fb7405ceed05f74fa640448b6cdbb2012f765de5
5
5
  SHA512:
6
- metadata.gz: d925ab809d2def68a2d61093f19e45dc7c25b4debb30c37267bfd36c3a62111d7c691babc8fb8471ad867fa6afafe4d1b7fbeaf935fdb67682868ec143dc28bc
7
- data.tar.gz: 70c33a728c13940514633960680cb7b7dde373b649d232af555735f1cbffdf29a665ac037df0ae15ba0c56f48276759af3709c65a22b0679ca4a0fc06a74d964
6
+ metadata.gz: 989989ef785e7b0be21b4860843991fe18160aceeba46a8391c1d88f0a5a11d7e81b9f7d4c87899566db8e200f2a7f7f9063a8d0dc5560ff74a73e3423e24555
7
+ data.tar.gz: c29d746fb1f0b03d9b8ced1b729532f3065cbbabe9dd2848ef2654549c4e86ea98d59ea16ec64e75926d1cc67a0c9ba6fc0f0ff51d610d3dfe929a7f41adfe1b
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in zapata.gemspec
4
+ group :test do
5
+ gem 'coveralls', require: false
6
+ end
7
+
4
8
  gemspec
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Zapata
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -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.0
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
  - - ">="