localeapp 2.1.0 → 2.1.1
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 +1 -0
- data/CHANGELOG.md +1 -0
- data/bin/localeapp +3 -0
- data/lib/localeapp/version.rb +1 -1
- data/spec/spec_helper.rb +2 -3
- data/spec/support/fakeweb_socket_close_patch.rb +4 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 690435fd986bf2774e1e41678d33f661ac5666ea
|
|
4
|
+
data.tar.gz: 34312483afc9c05268c324b6f4f870741a9216d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd05673abf620abf78326d981e8565ba92c65639a2209b9c58af9ee5571897a5f857125f12afeefe21bd0e3a39a2f67e1e8e6acf304e64bdf4a8905c5a1b77e3
|
|
7
|
+
data.tar.gz: fa285a2816b2e78254cb1abda09f9c3955447f34042429d1dbc5b3afa5ced32b18b84acbad55ce16fc34e3f10482199dde25b8e6489cdd53948de1451f5c14ab
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/bin/localeapp
CHANGED
|
@@ -6,6 +6,9 @@ require 'localeapp'
|
|
|
6
6
|
# Use FakeWeb to simulate api.localeapp.com
|
|
7
7
|
if ENV['FAKE_WEB_DURING_CUCUMBER_RUN']
|
|
8
8
|
require 'fakeweb'
|
|
9
|
+
class FakeWeb::StubSocket
|
|
10
|
+
define_method(:close) {}
|
|
11
|
+
end
|
|
9
12
|
FakeWeb.allow_net_connect = false
|
|
10
13
|
if fake_data_as_json = ENV['FAKE_WEB_FAKES']
|
|
11
14
|
fakes = JSON.parse(fake_data_as_json)
|
data/lib/localeapp/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
require 'i18n'
|
|
2
2
|
require 'localeapp'
|
|
3
3
|
require 'fakeweb'
|
|
4
|
-
require 'support/localeapp_integration_data'
|
|
5
|
-
require 'support/localeapp_synchronization_data'
|
|
6
|
-
require 'support/i18n/missing_translation'
|
|
7
4
|
require 'logger'
|
|
8
5
|
|
|
6
|
+
Dir["spec/support/**/*.rb"].map { |e| require e.gsub 'spec/', '' }
|
|
7
|
+
|
|
9
8
|
I18n.config.available_locales = :en
|
|
10
9
|
|
|
11
10
|
def with_configuration(options = {})
|
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.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Dell
|
|
@@ -274,6 +274,7 @@ files:
|
|
|
274
274
|
- spec/localeapp/updater_spec.rb
|
|
275
275
|
- spec/localeapp_spec.rb
|
|
276
276
|
- spec/spec_helper.rb
|
|
277
|
+
- spec/support/fakeweb_socket_close_patch.rb
|
|
277
278
|
- spec/support/i18n/missing_translation.rb
|
|
278
279
|
- spec/support/localeapp_integration_data.rb
|
|
279
280
|
- spec/support/localeapp_synchronization_data.rb
|