definition 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: 6aec63e9d3de5239b90b510ddb7fa4093382eefe1d9b195661cb49e3b5e811dd
4
- data.tar.gz: fa97d19afca5fa14c94e768ae14c4ab666d24ecac4adb9e01c129322ee53b7e3
3
+ metadata.gz: db6d3a697d9641388ce9045cd7b9504d485e165480339e864dca6fe096289c6f
4
+ data.tar.gz: ef5adc969fde0a0ca0a3e3b9a365cbce588379d2e0bd47be36567b2f4568e7e9
5
5
  SHA512:
6
- metadata.gz: 032bff254f868733729fae831ca8d387339341ee5206765b422b72ba02033d599fe2cbb392fe0717d578838fd8b08e403c72371c503995d9cbb23c3d8e8555f5
7
- data.tar.gz: d64beb3207aefaabd42d549688edcf10baa26734dfcdd64470332ee0a02c3679ec7e1a0eef62ecd82399d215b84695166fbea88c0bd6bd0853662e9b4eb02be1
6
+ metadata.gz: 800d13aa9d79318e639eaa969ab6d5d5e8737160f0852df873e38e18685ac58b6133f81e8327de2a937e6a9432e8e68ef26bf0b3758fad4a6c757db5b134572d
7
+ data.tar.gz: 52082265fba3abe62846ccf4236888c9d5f6f2e04a9e265282da1526572b3e39b5c3bed3e6490fb5e98525165f74caed5064bdbc479053471e913175313ab353
data/Changelog.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.5.2] - 2019-06-03
8
+ ### Fixed
9
+ - added missing require for "pathname"
10
+
7
11
  ## [0.5.1] - 2019-04-27
8
12
  ### Fixed
9
13
  - Typo in error debug output
@@ -93,7 +93,7 @@ module Definition
93
93
  # Example:
94
94
  # Nilable(Definition.Type(Integer))
95
95
  def Nilable(definition) # rubocop:disable Style/MethodName
96
- Types::Or.new(:nullable, Nil(), definition)
96
+ Types::Or.new(:nilable, Nil(), definition)
97
97
  end
98
98
  end
99
99
  end
@@ -1,3 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "pathname"
4
+
3
5
  I18n.load_path += Dir[File.join(File.expand_path(Pathname(__dir__).join("../../config/locales/")), "*.yml")]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Definition
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: definition
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Goltermann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-27 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport