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 +4 -4
- data/lib/wedge/plugins/form.rb +1 -0
- data/lib/wedge/version.rb +1 -1
- data/spec/wedge_spec.rb +4 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ccb8909435ee02ccb6616923fd3d529c511ab0c
|
4
|
+
data.tar.gz: 9a16d5fb599583a2c98e0e459cfb6f1d6f6aec46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3568b936645a2840cbaeaa6b7784ae812b36cfc91b5f6ff12e5dda5b5826aa62073a1f8c7eda0dd7c012a88fe06e3506a6f75edcad4fec462730f9bce646d489
|
7
|
+
data.tar.gz: 068658b3d0ce585738233d4a35c7969e37e2f3d88a1d5628f31dad79bc3776728d8de3b6752a43abfeec1207daeaa467a647d803c6fabeddc227f7b4d75eb5b9
|
data/lib/wedge/plugins/form.rb
CHANGED
@@ -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
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
|
-
|
6
|
-
|
7
|
-
|
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.
|
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
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal-wedge
|