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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa4be6175321c54223254c903fbd6d3aabc54ce7
4
- data.tar.gz: 35724de360f6c231c97f6ace6c5eea7c0ab1b1ad
3
+ metadata.gz: 690435fd986bf2774e1e41678d33f661ac5666ea
4
+ data.tar.gz: 34312483afc9c05268c324b6f4f870741a9216d2
5
5
  SHA512:
6
- metadata.gz: a67e48d93e0b15d065e577afebe94abd38e6317ce8f5892cd93bc771e334a7b9e403fc91ed00673a0dce2296fdc3a2d1b9acbe6b246617c688b626caa2e978b6
7
- data.tar.gz: '081fd0e9a6510a04b4ab4cba44c27976b50dcfacbc600952e57e003035c6f9f8e96b16836e2815dfacaa7fd30e02ffedc8ece7775df7cb5ef71f1aaeabf31e0b'
6
+ metadata.gz: dd05673abf620abf78326d981e8565ba92c65639a2209b9c58af9ee5571897a5f857125f12afeefe21bd0e3a39a2f67e1e8e6acf304e64bdf4a8905c5a1b77e3
7
+ data.tar.gz: fa285a2816b2e78254cb1abda09f9c3955447f34042429d1dbc5b3afa5ced32b18b84acbad55ce16fc34e3f10482199dde25b8e6489cdd53948de1451f5c14ab
data/.travis.yml CHANGED
@@ -3,6 +3,7 @@ dist: trusty
3
3
  before_install:
4
4
  - gem install bundler
5
5
  rvm:
6
+ - 2.4.0
6
7
  - 2.3.3
7
8
  - 2.2.6
8
9
  - 2.1.10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # master
2
2
 
3
+ * Support ruby 2.4
3
4
  * Drop ruby 1.9 and ruby 2.0 support
4
5
 
5
6
  # Version 2.0.0
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)
@@ -1,3 +1,3 @@
1
1
  module Localeapp
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
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 = {})
@@ -0,0 +1,4 @@
1
+ class FakeWeb::StubSocket
2
+ def close
3
+ end
4
+ 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.1.0
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