translations_sync 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README +0 -10
- data/Rakefile +23 -30
- data/translations_sync.gemspec +54 -0
- metadata +22 -11
- data/bin/translations_sync +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c6dd7c8ff7c7054694fcecc33ea03d794a9eebe71b79dac033031cded2a3a5d1
|
4
|
+
data.tar.gz: d896a9b19b48ca86ab93836e22166c62c95410bdf6127dcc5cdc2870487ccacb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f554d685f89ed1c5f4266fee2c5bfb38e79a28a741a70b5ee3400829933256adf93cb7bc454b0d4c9c3a1c2e8f789b516340e47aa1972bf0bd42f4927acce7
|
7
|
+
data.tar.gz: a130c9b545e6db09f7d505c9f38dced715872a06df11e5173cb131be63e496c949cb420bd70e762ba1a3ed27c4dc8460d4d2f7432bdb82497f77a6ade69d557c
|
data/README
CHANGED
@@ -22,16 +22,6 @@ Installation
|
|
22
22
|
|
23
23
|
gem install translations_sync
|
24
24
|
|
25
|
-
Then execute the following command to copy the rake file into your
|
26
|
-
project's directory lib/tasks.
|
27
|
-
|
28
|
-
translations_sync
|
29
|
-
|
30
|
-
Or, if you keep your rake tasks in other place, you can give the argument
|
31
|
-
with the proper path
|
32
|
-
|
33
|
-
translations_sync path/to/directory
|
34
|
-
|
35
25
|
|
36
26
|
Description
|
37
27
|
-----------
|
data/Rakefile
CHANGED
@@ -6,33 +6,26 @@ require 'rubygems/specification'
|
|
6
6
|
require 'date'
|
7
7
|
|
8
8
|
GEM = "translations_sync"
|
9
|
-
GEM_VERSION = "0.4.
|
9
|
+
GEM_VERSION = "0.4.14"
|
10
10
|
AUTHOR = "Dmitri Koulikoff"
|
11
11
|
EMAIL = "koulikoff@gmail.com"
|
12
12
|
HOMEPAGE = "http://github.com/dima4p/translations_sync/"
|
13
13
|
SUMMARY = "Synchronizes the different locales represeinted in yaml for I18n"
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
s.add_dependency "ya2yaml"
|
28
|
-
|
29
|
-
s.executables = 'translations_sync'
|
30
|
-
s.default_executable = 'translations_sync'
|
31
|
-
s.require_path = 'lib'
|
32
|
-
s.files = %w(MIT-LICENSE README Rakefile Changelog init.rb) +
|
33
|
-
Dir.glob("{bin,lib,spec}/**/*") -
|
34
|
-
Dir.glob("{bin,lib,spec}/**/*~")
|
15
|
+
require 'jeweler'
|
16
|
+
Jeweler::Tasks.new do |gem|
|
17
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
18
|
+
gem.name = GEM
|
19
|
+
gem.version = GEM_VERSION
|
20
|
+
gem.homepage = HOMEPAGE
|
21
|
+
gem.license = "MIT"
|
22
|
+
gem.summary = SUMMARY
|
23
|
+
gem.description = SUMMARY
|
24
|
+
gem.email = EMAIL
|
25
|
+
gem.authors = ["Dmitri Koulikoff"]
|
26
|
+
# dependencies defined in Gemfile
|
35
27
|
end
|
28
|
+
Jeweler::RubygemsDotOrgTasks.new
|
36
29
|
|
37
30
|
desc 'Generate documentation for the translations_sync plugin.'
|
38
31
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
@@ -43,10 +36,6 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
43
36
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
44
37
|
end
|
45
38
|
|
46
|
-
Gem::PackageTask.new(spec) do |pkg|
|
47
|
-
pkg.gem_spec = spec
|
48
|
-
end
|
49
|
-
|
50
39
|
# task :default => :spec
|
51
40
|
# desc "Default: Run specs"
|
52
41
|
# Spec::Rake::SpecTask.new do |t|
|
@@ -58,10 +47,14 @@ desc "install the gem locally"
|
|
58
47
|
task :install => [:package] do
|
59
48
|
sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}}
|
60
49
|
end
|
50
|
+
task :default => :spec
|
61
51
|
|
62
|
-
|
63
|
-
|
64
|
-
File.
|
65
|
-
|
66
|
-
|
52
|
+
require 'rdoc/task'
|
53
|
+
Rake::RDocTask.new do |rdoc|
|
54
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
55
|
+
|
56
|
+
rdoc.rdoc_dir = 'rdoc'
|
57
|
+
rdoc.title = "rspec_rails_scaffold_templates #{version}"
|
58
|
+
rdoc.rdoc_files.include('README*')
|
59
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
67
60
|
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: translations_sync 0.4.14 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "translations_sync".freeze
|
9
|
+
s.version = "0.4.14"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Dmitri Koulikoff".freeze]
|
14
|
+
s.date = "2019-05-23"
|
15
|
+
s.description = "Synchronizes the different locales represeinted in yaml for I18n".freeze
|
16
|
+
s.email = "koulikoff@gmail.com".freeze
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"README"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"Changelog",
|
22
|
+
"MIT-LICENSE",
|
23
|
+
"README",
|
24
|
+
"Rakefile",
|
25
|
+
"init.rb",
|
26
|
+
"lib/tasks/translations_sync.rake",
|
27
|
+
"lib/translations_sync.rb",
|
28
|
+
"spec/spec_helper.rb",
|
29
|
+
"translations_sync.gemspec"
|
30
|
+
]
|
31
|
+
s.homepage = "http://github.com/dima4p/translations_sync/".freeze
|
32
|
+
s.licenses = ["MIT".freeze]
|
33
|
+
s.rubygems_version = "3.0.3".freeze
|
34
|
+
s.summary = "Synchronizes the different locales represeinted in yaml for I18n".freeze
|
35
|
+
|
36
|
+
if s.respond_to? :specification_version then
|
37
|
+
s.specification_version = 4
|
38
|
+
|
39
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
40
|
+
s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"])
|
41
|
+
s.add_runtime_dependency(%q<ya2yaml>.freeze, [">= 0"])
|
42
|
+
s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
|
43
|
+
else
|
44
|
+
s.add_dependency(%q<activesupport>.freeze, [">= 0"])
|
45
|
+
s.add_dependency(%q<ya2yaml>.freeze, [">= 0"])
|
46
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
|
47
|
+
end
|
48
|
+
else
|
49
|
+
s.add_dependency(%q<activesupport>.freeze, [">= 0"])
|
50
|
+
s.add_dependency(%q<ya2yaml>.freeze, [">= 0"])
|
51
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translations_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitri Koulikoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -38,26 +38,39 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jeweler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
41
55
|
description: Synchronizes the different locales represeinted in yaml for I18n
|
42
56
|
email: koulikoff@gmail.com
|
43
|
-
executables:
|
44
|
-
- translations_sync
|
57
|
+
executables: []
|
45
58
|
extensions: []
|
46
59
|
extra_rdoc_files:
|
47
60
|
- README
|
48
|
-
- MIT-LICENSE
|
49
61
|
files:
|
50
62
|
- Changelog
|
51
63
|
- MIT-LICENSE
|
52
64
|
- README
|
53
65
|
- Rakefile
|
54
|
-
- bin/translations_sync
|
55
66
|
- init.rb
|
56
67
|
- lib/tasks/translations_sync.rake
|
57
68
|
- lib/translations_sync.rb
|
58
69
|
- spec/spec_helper.rb
|
70
|
+
- translations_sync.gemspec
|
59
71
|
homepage: http://github.com/dima4p/translations_sync/
|
60
|
-
licenses:
|
72
|
+
licenses:
|
73
|
+
- MIT
|
61
74
|
metadata: {}
|
62
75
|
post_install_message:
|
63
76
|
rdoc_options: []
|
@@ -74,10 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
87
|
- !ruby/object:Gem::Version
|
75
88
|
version: '0'
|
76
89
|
requirements: []
|
77
|
-
|
78
|
-
rubygems_version: 2.6.11
|
90
|
+
rubygems_version: 3.0.3
|
79
91
|
signing_key:
|
80
92
|
specification_version: 4
|
81
|
-
summary: Synchronizes the different locales
|
82
|
-
I18n
|
93
|
+
summary: Synchronizes the different locales represeinted in yaml for I18n
|
83
94
|
test_files: []
|
data/bin/translations_sync
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'fileutils'
|
4
|
-
|
5
|
-
from = File.join(File.split(Gem.bin_path('translations_sync')).first,
|
6
|
-
'..', 'lib', 'tasks', '*.rake')
|
7
|
-
to = ARGV[0] || File.expand_path('.', File.join('lib', 'tasks'))
|
8
|
-
|
9
|
-
if File.directory? to
|
10
|
-
FileUtils.cp Dir.glob(from), to
|
11
|
-
puts "Rake file are copied to #{to}"
|
12
|
-
else
|
13
|
-
puts "Directory #{to} is missing"
|
14
|
-
end
|