rails-i18n-updater 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -2,15 +2,16 @@ namespace :i18n do
2
2
  desc 'Update (download) Rails core translations'
3
3
  task :update do
4
4
  require 'rails_i18n_updater/config'
5
+ require 'shellwords'
5
6
  temp_path = "#{RailsI18nUpdater::Config.local_path}.tmp"
6
7
  sh <<-EOC
7
- rm -rf #{temp_path} && \
8
- git clone -q --depth 1 #{RailsI18nUpdater::Config.repository_url} #{temp_path} && \
9
- cd #{temp_path} && \
8
+ rm -rf #{temp_path.shellescape} && \
9
+ git clone -q --depth 1 #{RailsI18nUpdater::Config.repository_url} #{temp_path.shellescape} && \
10
+ cd #{temp_path.shellescape} && \
10
11
  git checkout -q #{RailsI18nUpdater::Config.repository_branch} && \
11
- rm -rf #{RailsI18nUpdater::Config.local_path} && \
12
- mv #{File.join(temp_path, RailsI18nUpdater::Config.repository_path)} #{RailsI18nUpdater::Config.local_path} && \
13
- rm -rf #{temp_path}
12
+ rm -rf #{RailsI18nUpdater::Config.local_path.shellescape} && \
13
+ mv #{File.join(temp_path, RailsI18nUpdater::Config.repository_path).shellescape} #{RailsI18nUpdater::Config.local_path.shellescape} && \
14
+ rm -rf #{temp_path.shellescape}
14
15
  EOC
15
16
  end
16
17
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n-updater
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
4
+ prerelease:
5
+ version: 1.0.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Andreas Neuhaus
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-08-12 00:00:00 +02:00
13
+ date: 2011-03-03 00:00:00 +01:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,8 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
24
  version: "0"
31
25
  type: :runtime
32
26
  version_requirements: *id001
@@ -38,8 +32,6 @@ dependencies:
38
32
  requirements:
39
33
  - - ">="
40
34
  - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
35
  version: "0"
44
36
  type: :runtime
45
37
  version_requirements: *id002
@@ -51,8 +43,6 @@ dependencies:
51
43
  requirements:
52
44
  - - ">="
53
45
  - !ruby/object:Gem::Version
54
- segments:
55
- - 0
56
46
  version: "0"
57
47
  type: :runtime
58
48
  version_requirements: *id003
@@ -64,8 +54,6 @@ dependencies:
64
54
  requirements:
65
55
  - - ">="
66
56
  - !ruby/object:Gem::Version
67
- segments:
68
- - 0
69
57
  version: "0"
70
58
  type: :development
71
59
  version_requirements: *id004
@@ -79,7 +67,6 @@ extra_rdoc_files:
79
67
  - LICENSE
80
68
  - README.md
81
69
  files:
82
- - .gitignore
83
70
  - LICENSE
84
71
  - README.md
85
72
  - Rakefile
@@ -95,8 +82,8 @@ homepage: http://github.com/zargony/rails-i18n-updater
95
82
  licenses: []
96
83
 
97
84
  post_install_message:
98
- rdoc_options:
99
- - --charset=UTF-8
85
+ rdoc_options: []
86
+
100
87
  require_paths:
101
88
  - lib
102
89
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -104,21 +91,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
91
  requirements:
105
92
  - - ">="
106
93
  - !ruby/object:Gem::Version
107
- segments:
108
- - 0
109
94
  version: "0"
110
95
  required_rubygems_version: !ruby/object:Gem::Requirement
111
96
  none: false
112
97
  requirements:
113
98
  - - ">="
114
99
  - !ruby/object:Gem::Version
115
- segments:
116
- - 0
117
100
  version: "0"
118
101
  requirements: []
119
102
 
120
103
  rubyforge_project:
121
- rubygems_version: 1.3.7
104
+ rubygems_version: 1.5.2
122
105
  signing_key:
123
106
  specification_version: 3
124
107
  summary: Rails plugin to automatically fetch and update Rails core translations in a Rails application
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- /rails-i18n-updater.gemspec
2
- /pkg