enolib 0.6.0 → 0.7.0

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
  SHA256:
3
- metadata.gz: 3b651313a82b9c6405bbd7153ee2950b72d1f62730591c4db46c4a63f8394096
4
- data.tar.gz: 88bd6529c910af0cfdd1494a32201bab3080bce5ad1292431f0b277cfe693365
3
+ metadata.gz: 89fe9af4b84d3d1ee96f31944f7033f6bcb1662f89b649922e09cb469131575e
4
+ data.tar.gz: 80ae58d7bc69a97f80245ba0f29e24590fbe2d578bd4a1b673b60f8598f29eb8
5
5
  SHA512:
6
- metadata.gz: b35969b8426c82b861d7ce6f318fd18dacfa29a1c8d287dc1c657612697984912bf4f89f772cc825f69758e9514f821bad6891a935b1a69d78f711839a08672f
7
- data.tar.gz: 57cf90bb8901c0f0fd0d437a8aa1e2ebdbd307c020f95b2051351badb2b9660030634594c78a8639a46262a3df1a490c4eb8d81200dc116d2ff5dfce8fe3e946
6
+ metadata.gz: 225c429cb9734ad04b34c73ff523bf07cb94c9af9a153fb729349ca3b2aead904a93d17f48c8e23ee71e375b21beae9df7188ff5256f4ea06fbe621899395b97
7
+ data.tar.gz: f7381ea648ed461ee0dc263cfb4dacfe3117464f74d9064b0485b3b0f13da918126699749e4a501f20c55634d6b6d926cdb685f1334f685cb6a9a62fd00b19a1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # enolib
2
2
 
3
- The cross-language eno standard library
3
+ The eno standard library.
4
4
 
5
5
  ## Installation
6
6
 
@@ -4,7 +4,7 @@ require 'enolib/constants'
4
4
  require 'enolib/context'
5
5
  require 'enolib/errors'
6
6
  require 'enolib/grammar_regexp'
7
- require 'enolib/messages/en'
7
+ require 'enolib/locales/en'
8
8
  require 'enolib/lookup'
9
9
  require 'enolib/parse'
10
10
  require 'enolib/parser'
@@ -4,7 +4,7 @@ module Enolib
4
4
  class Context
5
5
  attr_accessor :document, :input, :line_count, :messages, :meta, :reporter, :source
6
6
 
7
- def initialize(input, locale: Messages::En, reporter: TextReporter, source: nil)
7
+ def initialize(input, locale: Locales::En, reporter: TextReporter, source: nil)
8
8
  @input = input
9
9
  @messages = locale
10
10
  @reporter = reporter
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'enolib/locales/de'
4
+ require 'enolib/locales/es'
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # GENERATED ON 2019-05-29T07:40:09 - DO NOT EDIT MANUALLY
3
+ # GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
4
4
 
5
5
  module Enolib
6
- module Messages
6
+ module Locales
7
7
  module De
8
8
  CONTENT_HEADER = 'Inhalt'
9
9
  EXPECTED_DOCUMENT = 'Das Dokument wurde erwartet.'
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # GENERATED ON 2019-05-29T07:40:09 - DO NOT EDIT MANUALLY
3
+ # GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
4
4
 
5
5
  module Enolib
6
- module Messages
6
+ module Locales
7
7
  module En
8
8
  CONTENT_HEADER = 'Content'
9
9
  EXPECTED_DOCUMENT = 'The document was expected.'
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # GENERATED ON 2019-05-29T07:40:09 - DO NOT EDIT MANUALLY
3
+ # GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
4
4
 
5
5
  module Enolib
6
- module Messages
6
+ module Locales
7
7
  module Es
8
8
  CONTENT_HEADER = 'Contenido'
9
9
  EXPECTED_DOCUMENT = 'Se esperaba el documento.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enolib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Repp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-29 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep-cover
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.3.0
83
- description: The cross-language eno standard library
83
+ description: The eno standard library
84
84
  email: simon@fdpl.io
85
85
  executables: []
86
86
  extensions: []
@@ -116,10 +116,11 @@ files:
116
116
  - lib/enolib/errors/selections.rb
117
117
  - lib/enolib/errors/validation.rb
118
118
  - lib/enolib/grammar_regexp.rb
119
+ - lib/enolib/locales.rb
120
+ - lib/enolib/locales/de.rb
121
+ - lib/enolib/locales/en.rb
122
+ - lib/enolib/locales/es.rb
119
123
  - lib/enolib/lookup.rb
120
- - lib/enolib/messages/de.rb
121
- - lib/enolib/messages/en.rb
122
- - lib/enolib/messages/es.rb
123
124
  - lib/enolib/parse.rb
124
125
  - lib/enolib/parser.rb
125
126
  - lib/enolib/register.rb
@@ -154,5 +155,5 @@ requirements: []
154
155
  rubygems_version: 3.0.3
155
156
  signing_key:
156
157
  specification_version: 4
157
- summary: The cross-language eno standard library
158
+ summary: The eno standard library
158
159
  test_files: []