avromatic 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec3be03a36bfa3eb911f59ef61ec499387fad51f
4
- data.tar.gz: cd4997f556b8dd539fd849ca452fc6e6925d75f5
3
+ metadata.gz: 083d811c8de4c4746e5dc31886bdcc8ddde6ca67
4
+ data.tar.gz: 87e6b68ba1d49b273ed7c8aee7c5b34948e1f0bf
5
5
  SHA512:
6
- metadata.gz: 2c11d4e10cfbda4df37dab80e220adfbe6d7107d318789f3201fb2a31ae6d01742ee2bdd5032584a4de6b2644b2d71898e2ad1307153ef4472cc6ff468707e7b
7
- data.tar.gz: 9b3310a1b1823bcae9e12eae47f40c560de6a3df272f127b9533cf79baa102fb94c7d5637c1b69dc84e524e87cef6b36f10abaf90dc978a99c7293329a600acb
6
+ metadata.gz: 14502ce50677fd175ecb8d0b1658d5b7c656fa32228c0c438436c08244a3de87d907a0c34d3eee40350d4f02b75524b14109f03b88a8a6949b823db3a3675b79
7
+ data.tar.gz: 64d9d3eb34f6ea451ce24f2335e3f299f77cfb1ed1ecc9592c4def52a08225fdedc69c1d65547177833e30f33bb6a749d56e76b8aea8558f62ea2057b44c6ceb
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /gemfiles/*.lock
data/.travis.yml CHANGED
@@ -1,5 +1,13 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.3
4
- - 2.3.0
5
- before_install: gem install bundler -v 1.11.2
3
+ - 2.2.4
4
+ - 2.3.1
5
+ gemfile:
6
+ - gemfiles/rails4_1.gemfile
7
+ - gemfiles/rails4_2.gemfile
8
+ matrix:
9
+ exclude:
10
+ - rvm: 2.2.4
11
+ gemfile: gemfiles/rails4_2.gemfile
12
+ - rvm: 2.3.1
13
+ gemfile: gemfiles/rails4_1.gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # avromatic changelog
2
2
 
3
+ ## v0.7.0
4
+ - Add RSpec `FakeSchemaRegistryServer` test helper.
5
+
3
6
  ## v0.6.2
4
7
  - Remove dependency on `Hash#transform_values` from `ActiveSupport` v4.2.
5
8
 
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activesupport', '~> 4.1.15'
4
+ gem 'activemodel', '~> 4.1.15'
5
+
6
+ gemspec path: '..'
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activesupport', '~> 4.2.6'
4
+ gem 'activemodel', '~> 4.2.6'
5
+
6
+ gemspec path: '..'
@@ -0,0 +1,9 @@
1
+ require 'webmock/rspec'
2
+ require 'avro_turf/test/fake_schema_registry_server'
3
+
4
+ RSpec.configure do |config|
5
+ config.before(:each) do
6
+ WebMock.stub_request(:any, /^#{Avromatic.registry_url}/).to_rack(FakeSchemaRegistryServer)
7
+ FakeSchemaRegistryServer.clear
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Avromatic
2
- VERSION = '0.6.2'.freeze
2
+ VERSION = '0.7.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avromatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro
@@ -226,6 +226,8 @@ files:
226
226
  - avromatic.gemspec
227
227
  - bin/console
228
228
  - bin/setup
229
+ - gemfiles/rails4_1.gemfile
230
+ - gemfiles/rails4_2.gemfile
229
231
  - lib/avromatic.rb
230
232
  - lib/avromatic/model.rb
231
233
  - lib/avromatic/model/attributes.rb
@@ -241,6 +243,7 @@ files:
241
243
  - lib/avromatic/model/type_registry.rb
242
244
  - lib/avromatic/model/value_object.rb
243
245
  - lib/avromatic/railtie.rb
246
+ - lib/avromatic/rspec.rb
244
247
  - lib/avromatic/version.rb
245
248
  - log/.gitkeep
246
249
  homepage: https://github.com/salsify/avromatic.git