flutter_polyglot_cli 1.0.0

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 (35) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +129 -0
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +92 -0
  5. data/LICENSE +21 -0
  6. data/README.md +72 -0
  7. data/Rakefile +2 -0
  8. data/bin/console +15 -0
  9. data/bin/setup +8 -0
  10. data/exe/polyflut +52 -0
  11. data/flutter-polyglot-cli.gemspec +34 -0
  12. data/lib/flutter_polyglot_cli/api/base.rb +18 -0
  13. data/lib/flutter_polyglot_cli/api/language.rb +18 -0
  14. data/lib/flutter_polyglot_cli/api/project.rb +7 -0
  15. data/lib/flutter_polyglot_cli/api/session.rb +6 -0
  16. data/lib/flutter_polyglot_cli/api/translation.rb +8 -0
  17. data/lib/flutter_polyglot_cli/api/translation_key.rb +32 -0
  18. data/lib/flutter_polyglot_cli/commands/login.rb +31 -0
  19. data/lib/flutter_polyglot_cli/commands/projects.rb +59 -0
  20. data/lib/flutter_polyglot_cli/commands/pull.rb +89 -0
  21. data/lib/flutter_polyglot_cli/commands/setup.rb +65 -0
  22. data/lib/flutter_polyglot_cli/error_handler.rb +28 -0
  23. data/lib/flutter_polyglot_cli/helpers/depaginate.rb +17 -0
  24. data/lib/flutter_polyglot_cli/helpers/general.rb +122 -0
  25. data/lib/flutter_polyglot_cli/helpers/terminal.rb +15 -0
  26. data/lib/flutter_polyglot_cli/io/config.rb +18 -0
  27. data/lib/flutter_polyglot_cli/io/token.rb +22 -0
  28. data/lib/flutter_polyglot_cli/serializers/localizations/loc_serializer.rb +29 -0
  29. data/lib/flutter_polyglot_cli/serializers/localizations/localization_delegate_serializer.rb +42 -0
  30. data/lib/flutter_polyglot_cli/serializers/localizations/localization_keys_serializer.rb +27 -0
  31. data/lib/flutter_polyglot_cli/serializers/localizations/localization_serializer.rb +47 -0
  32. data/lib/flutter_polyglot_cli/serializers/translations/translations_serializer.rb +25 -0
  33. data/lib/flutter_polyglot_cli/version.rb +3 -0
  34. data/lib/flutter_polyglot_cli.rb +44 -0
  35. metadata +190 -0
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flutter_polyglot_cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Maroje Marcelic
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry-byebug
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: commander
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: json_api_client
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: osx_keychain
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: tty-prompt
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description:
126
+ email:
127
+ - maroje.marcelic@infinum.com
128
+ executables:
129
+ - polyflut
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".gitignore"
134
+ - Gemfile
135
+ - Gemfile.lock
136
+ - LICENSE
137
+ - README.md
138
+ - Rakefile
139
+ - bin/console
140
+ - bin/setup
141
+ - exe/polyflut
142
+ - flutter-polyglot-cli.gemspec
143
+ - lib/flutter_polyglot_cli.rb
144
+ - lib/flutter_polyglot_cli/api/base.rb
145
+ - lib/flutter_polyglot_cli/api/language.rb
146
+ - lib/flutter_polyglot_cli/api/project.rb
147
+ - lib/flutter_polyglot_cli/api/session.rb
148
+ - lib/flutter_polyglot_cli/api/translation.rb
149
+ - lib/flutter_polyglot_cli/api/translation_key.rb
150
+ - lib/flutter_polyglot_cli/commands/login.rb
151
+ - lib/flutter_polyglot_cli/commands/projects.rb
152
+ - lib/flutter_polyglot_cli/commands/pull.rb
153
+ - lib/flutter_polyglot_cli/commands/setup.rb
154
+ - lib/flutter_polyglot_cli/error_handler.rb
155
+ - lib/flutter_polyglot_cli/helpers/depaginate.rb
156
+ - lib/flutter_polyglot_cli/helpers/general.rb
157
+ - lib/flutter_polyglot_cli/helpers/terminal.rb
158
+ - lib/flutter_polyglot_cli/io/config.rb
159
+ - lib/flutter_polyglot_cli/io/token.rb
160
+ - lib/flutter_polyglot_cli/serializers/localizations/loc_serializer.rb
161
+ - lib/flutter_polyglot_cli/serializers/localizations/localization_delegate_serializer.rb
162
+ - lib/flutter_polyglot_cli/serializers/localizations/localization_keys_serializer.rb
163
+ - lib/flutter_polyglot_cli/serializers/localizations/localization_serializer.rb
164
+ - lib/flutter_polyglot_cli/serializers/translations/translations_serializer.rb
165
+ - lib/flutter_polyglot_cli/version.rb
166
+ homepage: https://github.com/infinum/flutter-polyglot-cli
167
+ licenses:
168
+ - MIT
169
+ metadata:
170
+ allowed_push_host: https://rubygems.org
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubygems_version: 3.0.6
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: A CLI for pulling polyglot translations and generating Flutter Source Files
190
+ test_files: []