localio-simonz 0.0.21.pre.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/CONTRIBUTING.md +8 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +197 -0
  7. data/Rakefile +9 -0
  8. data/bin/localize +11 -0
  9. data/lib/localio.rb +61 -0
  10. data/lib/localio/filter.rb +43 -0
  11. data/lib/localio/formatter.rb +20 -0
  12. data/lib/localio/localizable_writer.rb +28 -0
  13. data/lib/localio/locfile.rb +65 -0
  14. data/lib/localio/module.rb +15 -0
  15. data/lib/localio/processor.rb +18 -0
  16. data/lib/localio/processors/google_drive_processor.rb +105 -0
  17. data/lib/localio/processors/xls_processor.rb +84 -0
  18. data/lib/localio/processors/xlsx_processor.rb +82 -0
  19. data/lib/localio/segment.rb +14 -0
  20. data/lib/localio/segments_list_holder.rb +12 -0
  21. data/lib/localio/string_helper.rb +64 -0
  22. data/lib/localio/template_handler.rb +21 -0
  23. data/lib/localio/templates/android_localizable.erb +11 -0
  24. data/lib/localio/templates/ios_constant_localizable.erb +11 -0
  25. data/lib/localio/templates/ios_localizable.erb +17 -0
  26. data/lib/localio/templates/java_properties_localizable.erb +10 -0
  27. data/lib/localio/templates/json_localizable.erb +16 -0
  28. data/lib/localio/templates/rails_localizable.erb +13 -0
  29. data/lib/localio/templates/swift_constant_localizable.erb +11 -0
  30. data/lib/localio/term.rb +14 -0
  31. data/lib/localio/version.rb +3 -0
  32. data/lib/localio/writers/android_writer.rb +42 -0
  33. data/lib/localio/writers/ios_writer.rb +56 -0
  34. data/lib/localio/writers/java_properties_writer.rb +37 -0
  35. data/lib/localio/writers/json_writer.rb +38 -0
  36. data/lib/localio/writers/rails_writer.rb +38 -0
  37. data/lib/localio/writers/swift_writer.rb +56 -0
  38. data/localio.gemspec +35 -0
  39. metadata +197 -0
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: localio-simonz
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.21.pre.2
5
+ platform: ruby
6
+ authors:
7
+ - Nacho Lopez
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: micro-optparse
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: google_drive
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: spreadsheet
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simple_xlsx_reader
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.9'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: nokogiri
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.6'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.6'
125
+ description: Automatic Localizable file generation for multiple platforms (Rails YAML,
126
+ Android, Java Properties, iOS, JSON)
127
+ email:
128
+ - nacho@nlopez.io
129
+ executables:
130
+ - localize
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - ".gitignore"
135
+ - CONTRIBUTING.md
136
+ - Gemfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - bin/localize
141
+ - lib/localio.rb
142
+ - lib/localio/filter.rb
143
+ - lib/localio/formatter.rb
144
+ - lib/localio/localizable_writer.rb
145
+ - lib/localio/locfile.rb
146
+ - lib/localio/module.rb
147
+ - lib/localio/processor.rb
148
+ - lib/localio/processors/google_drive_processor.rb
149
+ - lib/localio/processors/xls_processor.rb
150
+ - lib/localio/processors/xlsx_processor.rb
151
+ - lib/localio/segment.rb
152
+ - lib/localio/segments_list_holder.rb
153
+ - lib/localio/string_helper.rb
154
+ - lib/localio/template_handler.rb
155
+ - lib/localio/templates/android_localizable.erb
156
+ - lib/localio/templates/ios_constant_localizable.erb
157
+ - lib/localio/templates/ios_localizable.erb
158
+ - lib/localio/templates/java_properties_localizable.erb
159
+ - lib/localio/templates/json_localizable.erb
160
+ - lib/localio/templates/rails_localizable.erb
161
+ - lib/localio/templates/swift_constant_localizable.erb
162
+ - lib/localio/term.rb
163
+ - lib/localio/version.rb
164
+ - lib/localio/writers/android_writer.rb
165
+ - lib/localio/writers/ios_writer.rb
166
+ - lib/localio/writers/java_properties_writer.rb
167
+ - lib/localio/writers/json_writer.rb
168
+ - lib/localio/writers/rails_writer.rb
169
+ - lib/localio/writers/swift_writer.rb
170
+ - localio.gemspec
171
+ homepage: http://github.com/mrmans0n/localio
172
+ licenses:
173
+ - MIT
174
+ metadata: {}
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 1.9.2
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">"
187
+ - !ruby/object:Gem::Version
188
+ version: 1.3.1
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.2.2
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Automatic Localizable file generation for multiple type of files, like Android
195
+ string.xml, Xcode Localizable.strings, JSON files, Rails YAML files, Java properties,
196
+ etc. reading from Google Drive and Excel spreadsheets as base.
197
+ test_files: []