dry-types 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5aba3a0d92022b867e134a072196692b4f0d837
4
- data.tar.gz: d2a5c7e8b8c489ec5b507a92f92be026e7337d78
3
+ metadata.gz: c76d361159bd8a8f243bfdfeec8030dd1244ad0b
4
+ data.tar.gz: c2e88582cb5976223aecbe4cafa5b1e6c9ce0f0c
5
5
  SHA512:
6
- metadata.gz: b5c1a092cf9a157bdcbecc6aec42fa6731ab1e9a9067c81bb7e109a7516393128c0c183ceb4d589258bea87631da55735e38a4b44860f005ea2230b43985e406
7
- data.tar.gz: 706d91386ba41582d7eb927237790bf51c0790fc909b248b9a70c851070fb0f49e897e54098f51891fcd5afdd2ee7311fffb6deff7e8b9061b1b6b2135802743
6
+ metadata.gz: e44560fbe2c83f8e8ee91f57fa8f5e019404a43ca35302b680e85e4e4a8ad8fd823210870d797fd884f2d49ce1f7d85ca9cf949d16c7854e8aaf126ca379bbbc
7
+ data.tar.gz: 6d5f3df1d0cdcd94ce42e8d39ccafdf079d187485cf791d00ab04c98cdd6b8298542359c856e28c29f2c1240cae857f8effa0508f81ec3125eec156211c1cd7a
data/.travis.yml CHANGED
@@ -4,13 +4,13 @@ sudo: required
4
4
  cache: bundler
5
5
  bundler_args: --without benchmarks tools
6
6
  after_success:
7
- - '[ "$TRAVIS_RUBY_VERSION" = "2.3.1" ] && [ "$TRAVIS_BRANCH" = "master" ] && bundle exec codeclimate-test-reporter'
7
+ - '[ "${TRAVIS_JOB_NUMBER#*.}" = "1" ] && [ "$TRAVIS_BRANCH" = "master" ] && bundle exec codeclimate-test-reporter'
8
8
  script:
9
9
  - bundle exec rake
10
10
  rvm:
11
- - 2.1
12
- - 2.2
11
+ - 2.4
13
12
  - 2.3
13
+ - 2.2
14
14
  - jruby-9.1.5.0
15
15
  - rbx-3
16
16
  env:
@@ -20,6 +20,7 @@ env:
20
20
  matrix:
21
21
  allow_failures:
22
22
  - rvm: rbx-3
23
+ - rvm: jruby-9.1.5.0
23
24
  notifications:
24
25
  email: false
25
26
  webhooks:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # v0.9.4 2017-01-24
2
+
3
+ ## Added
4
+
5
+ * Added `Types::Object` which passes an object of any type (flash-gordon)
6
+
7
+ [Compare v0.9.3...v0.9.4](https://github.com/dryrb/dry-types/compare/v0.9.3...v0.9.4)
8
+
1
9
  # v0.9.3 2016-12-03
2
10
 
3
11
  ## Fixed
@@ -52,6 +52,8 @@ module Dry
52
52
  # Register :bool since it's common and not a built-in Ruby type :(
53
53
  register("bool", self["true"] | self["false"])
54
54
  register("strict.bool", self["strict.true"] | self["strict.false"])
55
+
56
+ register("object", Definition[::Object].new(::Object))
55
57
  end
56
58
  end
57
59
 
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Types
3
- VERSION = '0.9.3'.freeze
3
+ VERSION = '0.9.4'.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.9.3
4
+ version: 0.9.4
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-12-03 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby