gettext-setup 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +4 -8
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -68
- data/Rakefile +0 -37
- data/gettext-setup.gemspec +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65e84a0004d419316442af1c7f23fd7a6451ffec
|
4
|
+
data.tar.gz: 962b4176c69de9c104257658e9aca03de80e97a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433fda65cffba5aa926e086a9ae42b124dd75d5ab57e491f70695a2f8e23fa59d885e345df02fb8d3563bf1880a026df61c1cad2ac68c53c156cbba6a6c4e15f
|
7
|
+
data.tar.gz: 79f6d289cae03bcf78fd065f9fb1057194dc14aff27fbf264c3a2feeae2068fb50972c54a54c90dfc97a472c77d289fe91d6c5c228eaa9e9c0db6b8278c5b5c0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext-setup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,12 +171,8 @@ executables: []
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
-
- Gemfile
|
175
|
-
- Gemfile.lock
|
176
174
|
- LICENSE
|
177
175
|
- README.md
|
178
|
-
- Rakefile
|
179
|
-
- gettext-setup.gemspec
|
180
176
|
- lib/gettext-setup.rb
|
181
177
|
- lib/gettext-setup/gettext_setup.rb
|
182
178
|
- lib/tasks/gettext.rake
|
@@ -211,9 +207,9 @@ signing_key:
|
|
211
207
|
specification_version: 4
|
212
208
|
summary: A gem to ease internationalization with fast_gettext
|
213
209
|
test_files:
|
210
|
+
- spec/spec_helper.rb
|
214
211
|
- spec/fixtures/locales/config.yaml
|
215
|
-
- spec/fixtures/locales/de/sinatra-i18n.po
|
216
212
|
- spec/fixtures/locales/sinatra-i18n.pot
|
213
|
+
- spec/fixtures/locales/de/sinatra-i18n.po
|
217
214
|
- spec/lib/gettext_setup_spec.rb
|
218
|
-
- spec/spec_helper.rb
|
219
215
|
has_rdoc:
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
gettext-setup (0.5)
|
5
|
-
fast_gettext (~> 1.1.0)
|
6
|
-
gettext (>= 3.0.2)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
addressable (2.4.0)
|
12
|
-
crack (0.4.2)
|
13
|
-
safe_yaml (~> 1.0.0)
|
14
|
-
diff-lcs (1.2.5)
|
15
|
-
docile (1.1.5)
|
16
|
-
fast_gettext (1.1.0)
|
17
|
-
gettext (3.2.2)
|
18
|
-
locale (>= 2.0.5)
|
19
|
-
text (>= 1.3.0)
|
20
|
-
json (1.8.3)
|
21
|
-
json (1.8.3-java)
|
22
|
-
locale (2.1.2)
|
23
|
-
rack (1.6.4)
|
24
|
-
rack-test (0.6.3)
|
25
|
-
rack (>= 1.0)
|
26
|
-
rake (10.4.2)
|
27
|
-
rspec (3.5.0)
|
28
|
-
rspec-core (~> 3.5.0)
|
29
|
-
rspec-expectations (~> 3.5.0)
|
30
|
-
rspec-mocks (~> 3.5.0)
|
31
|
-
rspec-core (3.5.1)
|
32
|
-
rspec-support (~> 3.5.0)
|
33
|
-
rspec-expectations (3.5.0)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.5.0)
|
36
|
-
rspec-mocks (3.5.0)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.5.0)
|
39
|
-
rspec-support (3.5.0)
|
40
|
-
safe_yaml (1.0.4)
|
41
|
-
simplecov (0.10.0)
|
42
|
-
docile (~> 1.1.0)
|
43
|
-
json (~> 1.8)
|
44
|
-
simplecov-html (~> 0.10.0)
|
45
|
-
simplecov-html (0.10.0)
|
46
|
-
text (1.3.1)
|
47
|
-
webmock (1.20.4)
|
48
|
-
addressable (>= 2.3.6)
|
49
|
-
crack (>= 0.3.2)
|
50
|
-
|
51
|
-
PLATFORMS
|
52
|
-
java
|
53
|
-
ruby
|
54
|
-
|
55
|
-
DEPENDENCIES
|
56
|
-
bundler (~> 1.3)
|
57
|
-
gettext-setup!
|
58
|
-
rack-test
|
59
|
-
rake
|
60
|
-
rspec (~> 3.1)
|
61
|
-
rspec-core (~> 3.1)
|
62
|
-
rspec-expectations (~> 3.1)
|
63
|
-
rspec-mocks (~> 3.1)
|
64
|
-
simplecov
|
65
|
-
webmock
|
66
|
-
|
67
|
-
BUNDLED WITH
|
68
|
-
1.12.5
|
data/Rakefile
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
require 'bundler/setup'
|
2
|
-
require 'rake'
|
3
|
-
|
4
|
-
require_relative './lib/gettext-setup/gettext_setup.rb'
|
5
|
-
|
6
|
-
import 'lib/tasks/gettext.rake'
|
7
|
-
|
8
|
-
namespace :bundler do
|
9
|
-
task :setup do
|
10
|
-
require 'bundler/setup'
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
desc "Update i18n POT translations"
|
15
|
-
task :"spec-regen" do
|
16
|
-
require 'rake'
|
17
|
-
GettextSetup.initialize(File.absolute_path(File.join('spec', 'fixtures', 'locales'), File.dirname(__FILE__)))
|
18
|
-
Dir.chdir('spec/fixtures')
|
19
|
-
Rake.application['gettext:pot'].invoke
|
20
|
-
# No use in running these without Transifex integration to actually translate
|
21
|
-
# strings.
|
22
|
-
# Rake.application['gettext:po'].invoke('de')
|
23
|
-
end
|
24
|
-
|
25
|
-
if defined?(RSpec::Core::RakeTask)
|
26
|
-
namespace :spec do
|
27
|
-
require 'rspec/core'
|
28
|
-
require 'rspec/core/rake_task'
|
29
|
-
puts 'running'
|
30
|
-
|
31
|
-
desc 'Run all specs.'
|
32
|
-
RSpec::Core::RakeTask.new(:all => :"bundler:setup") do |t|
|
33
|
-
puts "iterating: #{t}"
|
34
|
-
t.pattern = 'spec/**/*_spec.rb'
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
data/gettext-setup.gemspec
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "gettext-setup"
|
7
|
-
spec.version = "0.6"
|
8
|
-
spec.authors = ["Puppet"]
|
9
|
-
spec.email = ["info@puppet.com"]
|
10
|
-
spec.description = "A gem to ease i18n"
|
11
|
-
spec.summary = "A gem to ease internationalization with fast_gettext"
|
12
|
-
spec.homepage = "https://github.com/puppetlabs/gettext-setup-gem"
|
13
|
-
spec.license = "Apache-2.0"
|
14
|
-
|
15
|
-
spec.files = `git ls-files`.split($/)
|
16
|
-
spec.test_files = spec.files.grep(%r{^spec/})
|
17
|
-
spec.require_paths = ["lib"]
|
18
|
-
|
19
|
-
spec.add_dependency "gettext", ">= 3.0.2"
|
20
|
-
spec.add_dependency "fast_gettext", "~> 1.1.0"
|
21
|
-
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
-
spec.add_development_dependency "rake"
|
24
|
-
|
25
|
-
spec.add_development_dependency "rack-test"
|
26
|
-
spec.add_development_dependency "rspec", "~> 3.1"
|
27
|
-
spec.add_development_dependency "rspec-core", "~> 3.1"
|
28
|
-
spec.add_development_dependency "rspec-expectations", "~> 3.1"
|
29
|
-
spec.add_development_dependency "rspec-mocks", "~> 3.1"
|
30
|
-
spec.add_development_dependency "simplecov"
|
31
|
-
spec.add_development_dependency "webmock"
|
32
|
-
|
33
|
-
end
|