bp3-hello-world 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/Gemfile.lock +5 -1
- data/bp3-hello-world.gemspec +1 -2
- data/config/locales/en.yml +3 -0
- data/config/locales/nl.yml +3 -0
- data/config/locales/sp.yml +3 -0
- data/lib/bp3/hello/world/context.rb +18 -0
- data/lib/bp3/hello/world/version.rb +1 -1
- data/lib/bp3/hello/world.rb +4 -11
- data/lib/bp3-hello-world.rb +1 -1
- metadata +26 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f797e4c85031e6f327e5374e5138d06c86bcdbe3184c4767abf921552426be5
|
4
|
+
data.tar.gz: ebbb0a516325cf96d2b8aa4fb296498cb9d7f9aec065cd71c31be6650ddf11d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98af70776ed37f91a820f12c01b7fc681c8fe4fd0317bb58f75261442841a8e2f13599b78c95c292b6f6b3d11b504537db59811551116f6e19eeb270f5596728
|
7
|
+
data.tar.gz: bcfc2ac0b4b8b86a5e39bae1cd27c4397bc806b804ba86a5c3c148f0b223d3457178032d383caeb2b651dc9f5eaee82d79c4e61a9d7578416b5a5cf301c9c59d
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bp3-hello-world (0.1.
|
4
|
+
bp3-hello-world (0.1.2)
|
5
|
+
i18n (>= 1.8.11, < 2)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
8
9
|
specs:
|
9
10
|
ast (2.4.2)
|
11
|
+
concurrent-ruby (1.2.2)
|
10
12
|
diff-lcs (1.5.0)
|
13
|
+
i18n (1.14.1)
|
14
|
+
concurrent-ruby (~> 1.0)
|
11
15
|
json (2.6.3)
|
12
16
|
language_server-protocol (3.17.0.3)
|
13
17
|
parallel (1.23.0)
|
data/bp3-hello-world.gemspec
CHANGED
@@ -31,8 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ["lib"]
|
33
33
|
|
34
|
-
|
35
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
34
|
+
spec.add_dependency "i18n", [">= 1.8.11", "< 2"]
|
36
35
|
|
37
36
|
spec.add_development_dependency "rake", "~> 13.0"
|
38
37
|
spec.add_development_dependency "rspec", "~> 3.0"
|
data/lib/bp3/hello/world.rb
CHANGED
@@ -1,22 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "i18n"
|
4
|
+
I18n.load_path += Dir["#{File.expand_path("config/locales")}/*.yml"]
|
5
|
+
|
6
|
+
require_relative "world/context"
|
3
7
|
require_relative "world/version"
|
4
8
|
|
5
9
|
module Bp3
|
6
10
|
module Hello
|
7
11
|
module World
|
8
12
|
class Error < StandardError; end
|
9
|
-
|
10
|
-
# Context says it all
|
11
|
-
class Context
|
12
|
-
def self.say_it!
|
13
|
-
"Hello World"
|
14
|
-
end
|
15
|
-
|
16
|
-
def say_it!
|
17
|
-
self.class.say_it!
|
18
|
-
end
|
19
|
-
end
|
20
13
|
end
|
21
14
|
end
|
22
15
|
end
|
data/lib/bp3-hello-world.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bp3-hello-world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wim den Braven
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: i18n
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.8.11
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.8.11
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2'
|
13
33
|
- !ruby/object:Gem::Dependency
|
14
34
|
name: rake
|
15
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,8 +118,12 @@ files:
|
|
98
118
|
- README.md
|
99
119
|
- Rakefile
|
100
120
|
- bp3-hello-world.gemspec
|
121
|
+
- config/locales/en.yml
|
122
|
+
- config/locales/nl.yml
|
123
|
+
- config/locales/sp.yml
|
101
124
|
- lib/bp3-hello-world.rb
|
102
125
|
- lib/bp3/hello/world.rb
|
126
|
+
- lib/bp3/hello/world/context.rb
|
103
127
|
- lib/bp3/hello/world/version.rb
|
104
128
|
- sig/bp3/hello/world.rbs
|
105
129
|
homepage: https://www.black-phoebe.com
|