rails_translation_manager 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b5174ef0679b5689038dba575d7739d110109836
4
- data.tar.gz: de386962792fc2d729e98183b7e4c962d41798c1
2
+ SHA256:
3
+ metadata.gz: 9053fb88fb8e337bba059e6b16a13f16ffc058de0cc87b6be236c78d92a54dcd
4
+ data.tar.gz: 626c3ea8e720db73bce5ca3618f58d4ce121b7b845dd66e282572c4f9830406a
5
5
  SHA512:
6
- metadata.gz: 3e07bb3ed5ec4b2a4f73672f626d0b579240a63115e7ad39345e00b68912f0ecafadbc5666e28ed365aceef30011a24d6821f805b512e1d8c3a3685c38b5ea7c
7
- data.tar.gz: 96aab0397474451f60f6de06dd2cff484851b493e7f6d5ebd4714aafab99546ebc1f34b8795d70c3282da03cf79a02f2721064ac696fd0c182dba5a2c3591482
6
+ metadata.gz: 6d5334a90e4b52b7c4976846984dc83b9adb8ed2e3724eb181dde8f86118f72fc42375466285487f9eb3f1dafc78799662fe513cacdaad5902ededdbad54f2c1
7
+ data.tar.gz: ae8c750799c3882ce9b11408968e8322ea37f0bffcb3ca76ef8d117de8ab8ce30e65661e4a5bb1e297db106ff29436c03bc169bf31b6187f9dec309da4bcab7d
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.4
1
+ 2.5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.0
2
+
3
+ Don't change the $LOAD_PATH in translation.rake.
4
+
1
5
  ## 0.0.2
2
6
 
3
7
  Added `steal` rake tasks to copy translations from another app.
data/Jenkinsfile ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env groovy
2
+
3
+ library("govuk")
4
+
5
+ node {
6
+ govuk.buildProject()
7
+ }
data/README.md CHANGED
@@ -14,7 +14,7 @@ Support for translation workflow in rails applications.
14
14
  into a translated string of text, for example `Hello %{name}`
15
15
  would become `Hello Sarah` if the variable `name` had the
16
16
  value `Sarah`.
17
- - **YAML**: yet another markup language, a textual data format used for storing
17
+ - **YAML**: YAML Ain't Markup Language, a textual data format used (in this case) for storing
18
18
  translation strings in rails applications
19
19
 
20
20
  ## Technical documentation
data/Rakefile CHANGED
@@ -3,16 +3,9 @@ require "rake/testtask"
3
3
 
4
4
  Rake::TestTask.new("test") do |t|
5
5
  t.description = "Run tests"
6
- t.ruby_opts << "-rubygems"
7
6
  t.libs << "test"
8
7
  t.test_files = FileList["test/**/*_test.rb"]
9
8
  t.verbose = true
10
9
  end
11
10
 
12
- require "gem_publisher"
13
- task :publish_gem do |t|
14
- gem = GemPublisher.publish_if_updated("rails_translation_manager.gemspec", :rubygems)
15
- puts "Published #{gem}" if gem
16
- end
17
-
18
11
  task :default => :test
@@ -1,3 +1,3 @@
1
1
  module RailsTranslationManager
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,4 +1,3 @@
1
- $LOAD_PATH.unshift(File.expand_path("../.."), __FILE__)
2
1
  require "rails_translation_manager"
3
2
 
4
3
  namespace :translation do
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_dependency "activesupport"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.7"
25
- spec.add_development_dependency 'gem_publisher', '~> 1.1.1'
26
25
  spec.add_development_dependency "rake", "~> 10.0"
27
26
  spec.add_development_dependency "minitest"
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_translation_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edd Sowden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2018-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.7'
55
- - !ruby/object:Gem::Dependency
56
- name: gem_publisher
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 1.1.1
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 1.1.1
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -107,10 +93,10 @@ files:
107
93
  - CHANGELOG.md
108
94
  - CONTRIBUTING.md
109
95
  - Gemfile
96
+ - Jenkinsfile
110
97
  - LICENSE.txt
111
98
  - README.md
112
99
  - Rakefile
113
- - jenkins.sh
114
100
  - lib/rails_translation_manager.rb
115
101
  - lib/rails_translation_manager/exporter.rb
116
102
  - lib/rails_translation_manager/importer.rb
@@ -147,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
133
  version: '0'
148
134
  requirements: []
149
135
  rubyforge_project:
150
- rubygems_version: 2.2.2
136
+ rubygems_version: 2.7.6
151
137
  signing_key:
152
138
  specification_version: 4
153
139
  summary: Tasks to manage translation files
data/jenkins.sh DELETED
@@ -1,9 +0,0 @@
1
- #!/bin/bash -x
2
- set -e
3
- rm -f Gemfile.lock
4
- bundle install --path "${HOME}/bundles/${JOB_NAME}"
5
- export GOVUK_APP_DOMAIN=dev.gov.uk
6
- bundle exec rake test
7
- if [[ -n "$PUBLISH_GEM" ]]; then
8
- bundle exec rake publish_gem --trace
9
- fi