ridgepole 0.1.4 → 0.1.5

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: 7128d072b0962a674123e0f5888d4287d95ab960
4
- data.tar.gz: 4cb90e66d0d7b73d7f71519ee001b28d11bffd18
3
+ metadata.gz: f7227f0b998d573e477d6bae7f1dcae854b8d2b9
4
+ data.tar.gz: ffdbc4c7ff6d93e4584650ba63e884437d09151c
5
5
  SHA512:
6
- metadata.gz: 46f59284d01a6871370ffe9eb4398ba68f1ad331f7a20818be3547cc8dbaa5243562b28ba74cd0e861a0796646986ca9a05947b1a3b4bec343db749327a38b50
7
- data.tar.gz: 31675dcabd682e681c9dd598bf4a2c9c350d83e4b05741b9188b6364371d88b253044b583955d432ad065061d7acc216409d4e40e4fb2362164053ece6c29c35
6
+ metadata.gz: 55da0ba85c500b0d6a2b644eaea0c3a14045472d319d6c098e91b9b3e0c89dfeb11c8d92fba242e89e7bf035580286200e101061149ec190b010d0539d48fcde
7
+ data.tar.gz: 8108b878e1a0fc63be83b125f0318445ace93d521d0319778178f4bcf2c1241ff734ac2aeab5beeadf4ca0fcce2465e08af934dce6e8387bee4df1fb5c615b0a
data/bin/ridgepole CHANGED
@@ -72,7 +72,8 @@ begin
72
72
  schema_dir = File.join(schema_dir, name) if split == :with_dir
73
73
  schema_file = File.join(schema_dir, "#{name}.schema")
74
74
 
75
- require_path = (split == :with_dir) ? File.join(name, name) : name
75
+ require_path = File.basename(schema_file)
76
+ require_path = File.join(name, require_path) if split == :with_dir
76
77
  requires << require_path
77
78
 
78
79
  logger.info(" write `#{schema_file}`")
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridgepole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara