wedge 0.1.58 → 0.1.59

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: 328e4ad154ab2a888d936229c9fb631519cbe555
4
- data.tar.gz: ff722227a564d523c29062a4220032b6bc882e5b
3
+ metadata.gz: 3ccb8909435ee02ccb6616923fd3d529c511ab0c
4
+ data.tar.gz: 9a16d5fb599583a2c98e0e459cfb6f1d6f6aec46
5
5
  SHA512:
6
- metadata.gz: ec0c1306a045d43f550e75c07c2da88ae3953cae67c532b9ea459c189385949fa3e9ea98ec12da083ce7fd8653a1055d453a2026bfb32214c0142375adc3d87d
7
- data.tar.gz: a0aa638b30061caf309c83e166ebfa7cf129090fcfa635b9914362d24cb104a8367fdde7df420f94109d4e68b54ec0ce360b8413ad79c9919891eca61c1b688f
6
+ metadata.gz: 3568b936645a2840cbaeaa6b7784ae812b36cfc91b5f6ff12e5dda5b5826aa62073a1f8c7eda0dd7c012a88fe06e3506a6f75edcad4fec462730f9bce646d489
7
+ data.tar.gz: 068658b3d0ce585738233d4a35c7969e37e2f3d88a1d5628f31dad79bc3776728d8de3b6752a43abfeec1207daeaa467a647d803c6fabeddc227f7b4d75eb5b9
@@ -215,6 +215,7 @@ class Wedge
215
215
 
216
216
  subclass.instance_variable_set :@_accessors, @_accessors.deep_dup
217
217
  subclass.instance_variable_set :@_accessor_options, @_accessor_options.deep_dup
218
+ subclass.instance_variable_set :@_aliases, @_aliases.deep_dup
218
219
  end
219
220
 
220
221
  def model_alias alias_name, original_name
data/lib/wedge/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.58'
2
+ VERSION = '0.1.59'
3
3
  end
data/spec/wedge_spec.rb CHANGED
@@ -2,19 +2,15 @@ require 'spec_helper'
2
2
 
3
3
  describe Wedge do
4
4
  context 'config' do
5
- if Wedge.server?
6
- it 'should have an assets key' do
7
- expect(Wedge.config.assets_key).not_to be_nil
8
- end
5
+ it 'should not have an assets key' do
6
+ expect(Wedge.config.assets_key).to be_nil
7
+ end
9
8
 
9
+ if Wedge.server?
10
10
  it 'should return javascript and resource maps', :slow do
11
11
  expect(Wedge.javascript).to match /Opal/
12
12
  expect(Wedge.source_map).to match /mappings/
13
13
  end
14
- else
15
- it 'should not have an assets key' do
16
- expect(Wedge.config.assets_key).not_to be_nil
17
- end
18
14
  end
19
15
  end
20
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.58
4
+ version: 0.1.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-11 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal-wedge