i18nliner 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 +5 -5
- data/Rakefile +2 -1
- metadata +9 -11
- data/lib/i18nliner/commands/import.rb +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b2db12d6bdf711b5e95c9a5d4ad41b9f89099090bcb3be1555d0487beaf643cb
|
4
|
+
data.tar.gz: c8f147f4df24fca4cd39f5960d168431947ef2b3963a67b771394ff86a5d5cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 668686f434bf422b7eea80e953274702946f3698c56f3a5d3f74fb8f679230d52babb1454a7722c4df3c4dcbe48fed09a1b0dc662bc5fab744f8b14ce618c916
|
7
|
+
data.tar.gz: a953fff2982e2266056f065c0375b5c5631d005092bdd6f5a07f631e83eda27d3e8bae1a2cf5d21f34f734950b42654cad8396262c53faa507731045b54e089e
|
data/Rakefile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'rake'
|
2
|
+
require 'bundler/gem_tasks'
|
2
3
|
|
3
4
|
require 'rspec/core'
|
4
5
|
require 'rspec/core/rake_task'
|
@@ -6,4 +7,4 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
6
7
|
spec.pattern = FileList['spec/**/*_spec.rb']
|
7
8
|
end
|
8
9
|
|
9
|
-
task :default => :spec
|
10
|
+
task :default => :spec
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18nliner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Jensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.7
|
89
|
+
version: '1.7'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.7
|
96
|
+
version: '1.7'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: ya2yaml
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,28 +128,28 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.6
|
131
|
+
version: '3.6'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 3.6
|
138
|
+
version: '3.6'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec-mocks
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 3.6
|
145
|
+
version: '3.6'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 3.6
|
152
|
+
version: '3.6'
|
153
153
|
description: No .yml files. Inline defaults. Optional keys. Inferred interpolation
|
154
154
|
values. Wrappers and blocks, so your templates look template-y and your translations
|
155
155
|
stay HTML-free.
|
@@ -169,7 +169,6 @@ files:
|
|
169
169
|
- lib/i18nliner/commands/color_formatter.rb
|
170
170
|
- lib/i18nliner/commands/dump.rb
|
171
171
|
- lib/i18nliner/commands/generic_command.rb
|
172
|
-
- lib/i18nliner/commands/import.rb
|
173
172
|
- lib/i18nliner/controller_scope.rb
|
174
173
|
- lib/i18nliner/errors.rb
|
175
174
|
- lib/i18nliner/erubi.rb
|
@@ -224,8 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
223
|
- !ruby/object:Gem::Version
|
225
224
|
version: 1.3.5
|
226
225
|
requirements: []
|
227
|
-
|
228
|
-
rubygems_version: 2.6.13
|
226
|
+
rubygems_version: 3.0.3
|
229
227
|
signing_key:
|
230
228
|
specification_version: 4
|
231
229
|
summary: I18n made simple
|
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'i18nliner/commands/generic_command'
|
2
|
-
require 'i18nliner/extractors/translation_hash'
|
3
|
-
require 'active_support/core_ext/enumerable'
|
4
|
-
Dir[File.join(File.dirname(__FILE__), "../processors/*.rb")].each do |file|
|
5
|
-
require "i18nliner/processors/#{File.basename(file)}"
|
6
|
-
end
|
7
|
-
|
8
|
-
module I18nliner
|
9
|
-
module Commands
|
10
|
-
class Import < GenericCommand
|
11
|
-
attr_reader :translations, :errors
|
12
|
-
|
13
|
-
def initialize(options)
|
14
|
-
super
|
15
|
-
end
|
16
|
-
|
17
|
-
def success?
|
18
|
-
end
|
19
|
-
|
20
|
-
def print_summary
|
21
|
-
end
|
22
|
-
|
23
|
-
def run
|
24
|
-
print_summary unless @options[:silent]
|
25
|
-
success?
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|