structured_noise 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: c9427b754e9602a9352204548c2212777978000c
4
- data.tar.gz: ea83f3b2221865ac08d87348b9d9cfb8992b9b49
3
+ metadata.gz: 7fbbdd04446079bd1f7add26a91bc99d46046e7f
4
+ data.tar.gz: 2856fcbdd0f94567ed551fd92317f5ca6fedc3b3
5
5
  SHA512:
6
- metadata.gz: 5fc34c49908bf64baeeb3d04435302893fac211292280892d534b9187b30cb78fca11080fd243bd5eba5fb112abc0869f1b5f8c37ba997344265246ae3ee66e8
7
- data.tar.gz: 462725d8a4e810e51ae21994df073064089480c42e3cc3e54ca7cf695825dfc497d78cd181bb25f9537b9cff01f021b627384cf317143ebe6e87eb4d6c173be5
6
+ metadata.gz: 914eec0e928350604d5eff9953c4fed1b4f7843e1072dd899f0bb711f2e9f84f339e22f63ddfea14da71e0e0e032dbf5ccb27b55935b88a9a3c84545a81d3913
7
+ data.tar.gz: 22a024da4c80e60af4f81ddcc9a6837a4d531d4c425886ab44d383d145258229ca9bfde0b02a80c4b266fcb987c29c08c482981468104a0960bf43320a4b18ba
@@ -14,7 +14,7 @@ module StructuredNoise
14
14
  end
15
15
 
16
16
  def load_schema
17
- json = JSON.parse(File.read(canonical_schema_file_name))
17
+ json = JSON.parse(File.read(@schema_file_name))
18
18
  @schema_name = json["name"]
19
19
  @namespace = json["namespace"] || ""
20
20
 
@@ -67,10 +67,6 @@ module StructuredNoise
67
67
  end
68
68
  end
69
69
 
70
- def canonical_schema_file_name
71
- File.join(File.dirname(__FILE__), '..', '..', @schema_file_name)
72
- end
73
-
74
70
  class TypeGenerator
75
71
  def initialize(field)
76
72
  @field = field
@@ -1,3 +1,3 @@
1
1
  module StructuredNoise
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structured_noise
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
  - Jess Szmajda