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 +4 -4
- data/README.md +1 -1
- data/lib/enolib.rb +1 -1
- data/lib/enolib/context.rb +1 -1
- data/lib/enolib/locales.rb +4 -0
- data/lib/enolib/{messages → locales}/de.rb +2 -2
- data/lib/enolib/{messages → locales}/en.rb +2 -2
- data/lib/enolib/{messages → locales}/es.rb +2 -2
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89fe9af4b84d3d1ee96f31944f7033f6bcb1662f89b649922e09cb469131575e
|
4
|
+
data.tar.gz: 80ae58d7bc69a97f80245ba0f29e24590fbe2d578bd4a1b673b60f8598f29eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225c429cb9734ad04b34c73ff523bf07cb94c9af9a153fb729349ca3b2aead904a93d17f48c8e23ee71e375b21beae9df7188ff5256f4ea06fbe621899395b97
|
7
|
+
data.tar.gz: f7381ea648ed461ee0dc263cfb4dacfe3117464f74d9064b0485b3b0f13da918126699749e4a501f20c55634d6b6d926cdb685f1334f685cb6a9a62fd00b19a1
|
data/README.md
CHANGED
data/lib/enolib.rb
CHANGED
data/lib/enolib/context.rb
CHANGED
@@ -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:
|
7
|
+
def initialize(input, locale: Locales::En, reporter: TextReporter, source: nil)
|
8
8
|
@input = input
|
9
9
|
@messages = locale
|
10
10
|
@reporter = reporter
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# GENERATED ON 2019-05-
|
3
|
+
# GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
|
4
4
|
|
5
5
|
module Enolib
|
6
|
-
module
|
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-
|
3
|
+
# GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
|
4
4
|
|
5
5
|
module Enolib
|
6
|
-
module
|
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-
|
3
|
+
# GENERATED ON 2019-05-30T07:54:15 - DO NOT EDIT MANUALLY
|
4
4
|
|
5
5
|
module Enolib
|
6
|
-
module
|
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.
|
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-
|
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
|
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
|
158
|
+
summary: The eno standard library
|
158
159
|
test_files: []
|