localeapp 2.1.1 → 2.2.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.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/CHANGELOG.md +12 -0
- data/README.md +9 -0
- data/bin/localeapp +141 -119
- data/features/add.feature +15 -49
- data/features/bad_command.feature +4 -3
- data/features/env_file.feature +7 -0
- data/features/environment.feature +7 -0
- data/features/help.feature +3 -4
- data/features/install.feature +19 -33
- data/features/install/write_env_file.feature +26 -0
- data/features/mv.feature +9 -5
- data/features/options/api_key.feature +6 -0
- data/features/pull.feature +15 -27
- data/features/push.feature +15 -28
- data/features/rm.feature +10 -5
- data/features/step_definitions/cli_steps.rb +13 -10
- data/features/step_definitions/execution_steps.rb +3 -0
- data/features/step_definitions/filesystem_steps.rb +12 -0
- data/features/step_definitions/output_steps.rb +10 -0
- data/features/support/env.rb +2 -2
- data/features/update.feature +20 -29
- data/lib/localeapp.rb +7 -0
- data/lib/localeapp/cli/install.rb +28 -15
- data/lib/localeapp/cli/pull.rb +2 -1
- data/lib/localeapp/cli/push.rb +2 -1
- data/lib/localeapp/cli/remove.rb +2 -1
- data/lib/localeapp/cli/rename.rb +2 -1
- data/lib/localeapp/configuration.rb +1 -1
- data/lib/localeapp/poller.rb +4 -1
- data/lib/localeapp/sender.rb +1 -0
- data/lib/localeapp/version.rb +1 -1
- data/spec/localeapp/cli/install_spec.rb +103 -63
- data/spec/localeapp/cli/pull_spec.rb +1 -1
- data/spec/localeapp/cli/push_spec.rb +1 -1
- data/spec/localeapp/cli/rename_spec.rb +1 -1
- metadata +10 -6
- data/.autotest +0 -4
- data/.rvmrc +0 -1
- data/init.rb +0 -1
@@ -45,7 +45,7 @@ describe Localeapp::CLI::Push, "#push_file(file_path)" do
|
|
45
45
|
:payload => { :file => file },
|
46
46
|
:success => :report_success,
|
47
47
|
:failure => :report_failure,
|
48
|
-
:max_connection_attempts =>
|
48
|
+
:max_connection_attempts => anything
|
49
49
|
)
|
50
50
|
pusher.push_file(file_path)
|
51
51
|
end
|
@@ -18,7 +18,7 @@ describe Localeapp::CLI::Add, "#execute(current_name, new_name, *rest)" do
|
|
18
18
|
:payload => { :new_name => 'test.new_name' },
|
19
19
|
:success => :report_success,
|
20
20
|
:failure => :report_failure,
|
21
|
-
:max_connection_attempts =>
|
21
|
+
:max_connection_attempts => anything
|
22
22
|
)
|
23
23
|
do_action
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: localeapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Dell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: i18n
|
@@ -177,10 +177,8 @@ executables:
|
|
177
177
|
extensions: []
|
178
178
|
extra_rdoc_files: []
|
179
179
|
files:
|
180
|
-
- ".autotest"
|
181
180
|
- ".gitignore"
|
182
181
|
- ".rspec"
|
183
|
-
- ".rvmrc"
|
184
182
|
- ".travis.yml"
|
185
183
|
- Appraisals
|
186
184
|
- CHANGELOG.md
|
@@ -192,13 +190,20 @@ files:
|
|
192
190
|
- cucumber.yml
|
193
191
|
- features/add.feature
|
194
192
|
- features/bad_command.feature
|
193
|
+
- features/env_file.feature
|
194
|
+
- features/environment.feature
|
195
195
|
- features/help.feature
|
196
196
|
- features/install.feature
|
197
|
+
- features/install/write_env_file.feature
|
197
198
|
- features/mv.feature
|
199
|
+
- features/options/api_key.feature
|
198
200
|
- features/pull.feature
|
199
201
|
- features/push.feature
|
200
202
|
- features/rm.feature
|
201
203
|
- features/step_definitions/cli_steps.rb
|
204
|
+
- features/step_definitions/execution_steps.rb
|
205
|
+
- features/step_definitions/filesystem_steps.rb
|
206
|
+
- features/step_definitions/output_steps.rb
|
202
207
|
- features/support/env.rb
|
203
208
|
- features/support/hooks.rb
|
204
209
|
- features/update.feature
|
@@ -206,7 +211,6 @@ files:
|
|
206
211
|
- gemfiles/i18n_0.5.gemfile
|
207
212
|
- gemfiles/i18n_0.6.gemfile
|
208
213
|
- gemfiles/i18n_0.7.gemfile
|
209
|
-
- init.rb
|
210
214
|
- lib/localeapp.rb
|
211
215
|
- lib/localeapp/api_call.rb
|
212
216
|
- lib/localeapp/api_caller.rb
|
@@ -298,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
302
|
version: '0'
|
299
303
|
requirements: []
|
300
304
|
rubyforge_project: localeapp
|
301
|
-
rubygems_version: 2.6.
|
305
|
+
rubygems_version: 2.6.12
|
302
306
|
signing_key:
|
303
307
|
specification_version: 4
|
304
308
|
summary: Easy i18n translation management with localeapp.com
|
data/.autotest
DELETED
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use --create ruby-1.9.3@localeapp
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'localeapp'
|