translate_self 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -1
- data/Gemfile.lock +1 -1
- data/README.md +35 -2
- data/benchmark.rb +22 -0
- data/lib/translate_self.rb +2 -4
- data/lib/translate_self/translatable_string.rb +1 -1
- data/lib/translate_self/translation.rb +34 -7
- data/lib/translate_self/version.rb +1 -1
- data/spaghetti.txt +1207 -0
- data/translate_self.gemspec +2 -2
- metadata +5 -3
data/translate_self.gemspec
CHANGED
@@ -17,11 +17,11 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata['homepage_uri'] = spec.homepage
|
19
19
|
spec.metadata['source_code_uri'] = spec.homepage
|
20
|
-
spec.metadata['changelog_uri'] = spec.homepage
|
20
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
23
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
24
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
24
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|spaghetti)/}) }
|
25
25
|
end
|
26
26
|
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translate_self
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sampo Kuokkanen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deepl-rb
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- LICENSE.txt
|
87
87
|
- README.md
|
88
88
|
- Rakefile
|
89
|
+
- benchmark.rb
|
89
90
|
- bin/console
|
90
91
|
- bin/setup
|
91
92
|
- lib/ext/string.rb
|
@@ -93,6 +94,7 @@ files:
|
|
93
94
|
- lib/translate_self/translatable_string.rb
|
94
95
|
- lib/translate_self/translation.rb
|
95
96
|
- lib/translate_self/version.rb
|
97
|
+
- spaghetti.txt
|
96
98
|
- translate_self.gemspec
|
97
99
|
homepage: https://github.com/sampokuokkanen/translate_self
|
98
100
|
licenses:
|
@@ -100,7 +102,7 @@ licenses:
|
|
100
102
|
metadata:
|
101
103
|
homepage_uri: https://github.com/sampokuokkanen/translate_self
|
102
104
|
source_code_uri: https://github.com/sampokuokkanen/translate_self
|
103
|
-
changelog_uri: https://github.com/sampokuokkanen/translate_self
|
105
|
+
changelog_uri: https://github.com/sampokuokkanen/translate_self/blob/main/CHANGELOG.md
|
104
106
|
post_install_message:
|
105
107
|
rdoc_options: []
|
106
108
|
require_paths:
|