idiom 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +1 -3
  2. data/Rakefile +3 -0
  3. data/VERSION +1 -1
  4. data/idiom.gemspec +45 -26
  5. data/lib/idiom.rb +2 -0
  6. metadata +130 -20
  7. data/.gitignore +0 -25
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
1
  gem "rspec"
2
- gem "activesupport", :require_as => "active_support"
2
+ gem "activesupport", :require => "active_support"
3
3
  gem "sishen-rtranslate"
4
4
  gem "yrb"
5
-
6
- bin_path "vendor/bin"
data/Rakefile CHANGED
@@ -13,6 +13,9 @@ begin
13
13
  gem.add_development_dependency "rspec", ">= 1.2.9"
14
14
  gem.add_runtime_dependency "activesupport", ">= 2.2.2"
15
15
  gem.add_runtime_dependency "sishen-rtranslate", ">= 1.2.9"
16
+ gem.add_runtime_dependency "timer"
17
+ gem.add_runtime_dependency "natural_time"
18
+ gem.add_runtime_dependency "g"
16
19
  gem.add_runtime_dependency "yrb", ">= 0"
17
20
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
21
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.1.0
data/idiom.gemspec CHANGED
@@ -1,73 +1,92 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{idiom}
8
- s.version = "0.0.8"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Coleman"]
12
- s.date = %q{2010-03-30}
12
+ s.date = %q{2011-03-08}
13
13
  s.default_executable = %q{idiom}
14
14
  s.description = %q{Takes a set of keys in Yaml format and translates them through Google Translate.}
15
15
  s.email = %q{progressions@gmail.com}
16
16
  s.executables = ["idiom"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
- "README.rdoc"
19
+ "README.rdoc"
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
- ".gitignore",
24
- "Gemfile",
25
- "History.txt",
26
- "LICENSE",
27
- "README.rdoc",
28
- "Rakefile",
29
- "VERSION",
30
- "bin/idiom",
31
- "idiom.gemspec",
32
- "lib/idiom.rb",
33
- "lib/idiom/base.rb",
34
- "lib/idiom/yaml.rb",
35
- "lib/idiom/yrb.rb",
36
- "spec/idiom_spec.rb",
37
- "spec/spec.opts",
38
- "spec/spec_helper.rb",
39
- "spec/stubs.rb"
23
+ "Gemfile",
24
+ "History.txt",
25
+ "LICENSE",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "bin/idiom",
30
+ "idiom.gemspec",
31
+ "lib/idiom.rb",
32
+ "lib/idiom/base.rb",
33
+ "lib/idiom/yaml.rb",
34
+ "lib/idiom/yrb.rb",
35
+ "spec/idiom_spec.rb",
36
+ "spec/spec.opts",
37
+ "spec/spec_helper.rb",
38
+ "spec/stubs.rb"
40
39
  ]
41
40
  s.homepage = %q{http://github.com/progressions/idiom}
42
- s.rdoc_options = ["--charset=UTF-8"]
43
41
  s.require_paths = ["lib"]
44
- s.rubygems_version = %q{1.3.6}
42
+ s.rubygems_version = %q{1.3.7}
45
43
  s.summary = %q{Translate all your application's international keys in Google Translate}
46
44
  s.test_files = [
47
45
  "spec/idiom_spec.rb",
48
- "spec/spec_helper.rb",
49
- "spec/stubs.rb"
46
+ "spec/spec_helper.rb",
47
+ "spec/stubs.rb"
50
48
  ]
51
49
 
52
50
  if s.respond_to? :specification_version then
53
51
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
52
  s.specification_version = 3
55
53
 
56
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
54
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
+ s.add_runtime_dependency(%q<rspec>, [">= 0"])
56
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
57
+ s.add_runtime_dependency(%q<sishen-rtranslate>, [">= 0"])
58
+ s.add_runtime_dependency(%q<yrb>, [">= 0"])
57
59
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
58
60
  s.add_runtime_dependency(%q<activesupport>, [">= 2.2.2"])
59
61
  s.add_runtime_dependency(%q<sishen-rtranslate>, [">= 1.2.9"])
62
+ s.add_runtime_dependency(%q<timer>, [">= 0"])
63
+ s.add_runtime_dependency(%q<natural_time>, [">= 0"])
64
+ s.add_runtime_dependency(%q<g>, [">= 0"])
60
65
  s.add_runtime_dependency(%q<yrb>, [">= 0"])
61
66
  else
67
+ s.add_dependency(%q<rspec>, [">= 0"])
68
+ s.add_dependency(%q<activesupport>, [">= 0"])
69
+ s.add_dependency(%q<sishen-rtranslate>, [">= 0"])
70
+ s.add_dependency(%q<yrb>, [">= 0"])
62
71
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
63
72
  s.add_dependency(%q<activesupport>, [">= 2.2.2"])
64
73
  s.add_dependency(%q<sishen-rtranslate>, [">= 1.2.9"])
74
+ s.add_dependency(%q<timer>, [">= 0"])
75
+ s.add_dependency(%q<natural_time>, [">= 0"])
76
+ s.add_dependency(%q<g>, [">= 0"])
65
77
  s.add_dependency(%q<yrb>, [">= 0"])
66
78
  end
67
79
  else
80
+ s.add_dependency(%q<rspec>, [">= 0"])
81
+ s.add_dependency(%q<activesupport>, [">= 0"])
82
+ s.add_dependency(%q<sishen-rtranslate>, [">= 0"])
83
+ s.add_dependency(%q<yrb>, [">= 0"])
68
84
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
69
85
  s.add_dependency(%q<activesupport>, [">= 2.2.2"])
70
86
  s.add_dependency(%q<sishen-rtranslate>, [">= 1.2.9"])
87
+ s.add_dependency(%q<timer>, [">= 0"])
88
+ s.add_dependency(%q<natural_time>, [">= 0"])
89
+ s.add_dependency(%q<g>, [">= 0"])
71
90
  s.add_dependency(%q<yrb>, [">= 0"])
72
91
  end
73
92
  end
data/lib/idiom.rb CHANGED
@@ -3,6 +3,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
3
3
 
4
4
  require 'rubygems'
5
5
  require 'active_support'
6
+ require 'active_support/core_ext/hash'
7
+ require 'fileutils'
6
8
  require 'rtranslate'
7
9
  require 'timer'
8
10
  require 'yrb'
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idiom
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
8
+ - 1
7
9
  - 0
8
- - 8
9
- version: 0.0.8
10
+ version: 0.1.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jeff Coleman
@@ -14,63 +15,169 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-03-30 00:00:00 -05:00
18
+ date: 2011-03-08 00:00:00 -06:00
18
19
  default_executable: idiom
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :runtime
21
32
  name: rspec
22
33
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ name: activesupport
47
+ prerelease: false
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ type: :runtime
60
+ name: sishen-rtranslate
61
+ prerelease: false
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ requirement: &id004 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ hash: 3
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ type: :runtime
74
+ name: yrb
75
+ prerelease: false
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ requirement: &id005 !ruby/object:Gem::Requirement
79
+ none: false
24
80
  requirements:
25
81
  - - ">="
26
82
  - !ruby/object:Gem::Version
83
+ hash: 13
27
84
  segments:
28
85
  - 1
29
86
  - 2
30
87
  - 9
31
88
  version: 1.2.9
32
89
  type: :development
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: activesupport
90
+ name: rspec
36
91
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
92
+ version_requirements: *id005
93
+ - !ruby/object:Gem::Dependency
94
+ requirement: &id006 !ruby/object:Gem::Requirement
95
+ none: false
38
96
  requirements:
39
97
  - - ">="
40
98
  - !ruby/object:Gem::Version
99
+ hash: 3
41
100
  segments:
42
101
  - 2
43
102
  - 2
44
103
  - 2
45
104
  version: 2.2.2
46
105
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: sishen-rtranslate
106
+ name: activesupport
50
107
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
108
+ version_requirements: *id006
109
+ - !ruby/object:Gem::Dependency
110
+ requirement: &id007 !ruby/object:Gem::Requirement
111
+ none: false
52
112
  requirements:
53
113
  - - ">="
54
114
  - !ruby/object:Gem::Version
115
+ hash: 13
55
116
  segments:
56
117
  - 1
57
118
  - 2
58
119
  - 9
59
120
  version: 1.2.9
60
121
  type: :runtime
61
- version_requirements: *id003
122
+ name: sishen-rtranslate
123
+ prerelease: false
124
+ version_requirements: *id007
62
125
  - !ruby/object:Gem::Dependency
63
- name: yrb
126
+ requirement: &id008 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ hash: 3
132
+ segments:
133
+ - 0
134
+ version: "0"
135
+ type: :runtime
136
+ name: timer
64
137
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
138
+ version_requirements: *id008
139
+ - !ruby/object:Gem::Dependency
140
+ requirement: &id009 !ruby/object:Gem::Requirement
141
+ none: false
66
142
  requirements:
67
143
  - - ">="
68
144
  - !ruby/object:Gem::Version
145
+ hash: 3
69
146
  segments:
70
147
  - 0
71
148
  version: "0"
72
149
  type: :runtime
73
- version_requirements: *id004
150
+ name: natural_time
151
+ prerelease: false
152
+ version_requirements: *id009
153
+ - !ruby/object:Gem::Dependency
154
+ requirement: &id010 !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ hash: 3
160
+ segments:
161
+ - 0
162
+ version: "0"
163
+ type: :runtime
164
+ name: g
165
+ prerelease: false
166
+ version_requirements: *id010
167
+ - !ruby/object:Gem::Dependency
168
+ requirement: &id011 !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ hash: 3
174
+ segments:
175
+ - 0
176
+ version: "0"
177
+ type: :runtime
178
+ name: yrb
179
+ prerelease: false
180
+ version_requirements: *id011
74
181
  description: Takes a set of keys in Yaml format and translates them through Google Translate.
75
182
  email: progressions@gmail.com
76
183
  executables:
@@ -82,7 +189,6 @@ extra_rdoc_files:
82
189
  - README.rdoc
83
190
  files:
84
191
  - .document
85
- - .gitignore
86
192
  - Gemfile
87
193
  - History.txt
88
194
  - LICENSE
@@ -104,28 +210,32 @@ homepage: http://github.com/progressions/idiom
104
210
  licenses: []
105
211
 
106
212
  post_install_message:
107
- rdoc_options:
108
- - --charset=UTF-8
213
+ rdoc_options: []
214
+
109
215
  require_paths:
110
216
  - lib
111
217
  required_ruby_version: !ruby/object:Gem::Requirement
218
+ none: false
112
219
  requirements:
113
220
  - - ">="
114
221
  - !ruby/object:Gem::Version
222
+ hash: 3
115
223
  segments:
116
224
  - 0
117
225
  version: "0"
118
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
+ none: false
119
228
  requirements:
120
229
  - - ">="
121
230
  - !ruby/object:Gem::Version
231
+ hash: 3
122
232
  segments:
123
233
  - 0
124
234
  version: "0"
125
235
  requirements: []
126
236
 
127
237
  rubyforge_project:
128
- rubygems_version: 1.3.6
238
+ rubygems_version: 1.3.7
129
239
  signing_key:
130
240
  specification_version: 3
131
241
  summary: Translate all your application's international keys in Google Translate
data/.gitignore DELETED
@@ -1,25 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
-
23
- vendor/bin/*
24
- vendor/gems/*
25
- !vendor/gems/cache/