dry-types 0.8.0 → 0.8.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: 9622054be99e8e44c40fe7cb054f81df88904d69
4
- data.tar.gz: ea4110e3046187010e0b1c70f178ef90e50cbf37
3
+ metadata.gz: c98574b6a658385b9a5edd1ecee455ee8f7eb1c8
4
+ data.tar.gz: 4eb98a36d945929df0dd0dbf017eae91fe8c860a
5
5
  SHA512:
6
- metadata.gz: 02330a45f810e8a15f1dc47c2778360cede0a686136bce6d39f9f8b726d654c143b0d1546f36e9143e2cf539c0768ff3be3588e9e6e42568b5067eb96a9e909c
7
- data.tar.gz: 193d63f9c8acbc4a266cbaf9ccfac6d3aba6cfcd9de25323d040bfb5c2a325273cb98890787fe2b38fe9faa8ebb54371fd58f875fb2de814d18acaa7a0c2bbbb
6
+ metadata.gz: ea546931be6f39b663a2ce48eef8bc8e5d728072dc4d0ef744c0df4c37e9082b82d91803a44c3ec746494ef0ec7c16eb4f44767d0ef60d6a89304fb7fd0d9e79
7
+ data.tar.gz: d4f3c4b12abecfc27932cb0c5295b45ee88af7006b730e8642c0b5d35d8a4a989d08ae1e302e3a8529c3823e27506da1e03ad5f9fe80671dd93ad04feda4353a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # v0.8.1 2016-07-13
2
+
3
+ ## Fixed
4
+
5
+ * Compiler no longer chokes on type nodes without args (solnic)
6
+ * Removed `bin/console` from gem package (solnic)
7
+
8
+ [Compare v0.8.0...v0.8.1](https://github.com/dryrb/dry-types/compare/v0.8.0...v0.8.1)
9
+
1
10
  # v0.8.0 2016-07-01
2
11
 
3
12
  ## Added
data/dry-types.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
23
  end
24
24
 
25
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - ['bin/console', 'bin/setup']
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
@@ -24,7 +24,7 @@ module Dry
24
24
  type, args = node
25
25
  meth = :"visit_#{type.tr('.', '_')}"
26
26
 
27
- if respond_to?(meth)
27
+ if respond_to?(meth) && args
28
28
  send(meth, args)
29
29
  else
30
30
  registry[type]
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Types
3
- VERSION = '0.8.0'.freeze
3
+ VERSION = '0.8.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-01 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -194,8 +194,6 @@ files:
194
194
  - Rakefile
195
195
  - benchmarks/basic.rb
196
196
  - benchmarks/constrained.rb
197
- - bin/console
198
- - bin/setup
199
197
  - dry-types.gemspec
200
198
  - lib/dry-types.rb
201
199
  - lib/dry/types.rb
data/bin/console DELETED
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "dry/types"
5
-
6
- module Types
7
- include Dry::Types.module
8
- end
9
-
10
- # You can add fixtures and/or initialization code here to make experimenting
11
- # with your gem easier. You can also use a different console, if you like.
12
-
13
- # (If you use this, don't forget to add pry to your Gemfile!)
14
- # require "pry"
15
- # Pry.start
16
-
17
- require "irb"
18
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here