wedge 0.1.13 → 0.1.14
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/Rakefile +6 -2
- data/lib/wedge/component.rb +1 -1
- data/lib/wedge/version.rb +1 -1
- data/playground/Gruntfile.coffee +1 -0
- data/playground/app/config/boot.rb +5 -9
- data/playground/public/vendor/fine-uploader/s3.jquery.fine-uploader.js +14797 -0
- data/spec/index.html.erb +2 -2
- data/spec/playground/layout_spec.rb +1 -1
- data/spec/playground/uploader_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -5
- data/spec/wedge_spec.rb +3 -4
- metadata +3 -2
data/spec/index.html.erb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
<head>
|
4
4
|
</head>
|
5
5
|
<body>
|
6
|
-
<%= javascript_include_tag '
|
7
|
-
<%= javascript_include_tag '
|
6
|
+
<%= javascript_include_tag 'vendor/jquery/jquery' %>
|
7
|
+
<%= javascript_include_tag 'vendor/fine-uploader/s3.jquery.fine-uploader' %>
|
8
8
|
<%= javascript_include_tag @server.main %>
|
9
9
|
</body>
|
10
10
|
</html>
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
+
require 'wedge'
|
2
|
+
|
1
3
|
if RUBY_ENGINE == 'opal'
|
2
|
-
require '
|
3
|
-
require 'opal-rspec'
|
4
|
-
require 'opal/jquery'
|
4
|
+
require 'opal/rspec'
|
5
5
|
require 'opal/jquery/rspec'
|
6
6
|
else
|
7
7
|
|
8
8
|
ENV['RACK_ENV'] ||= 'test'
|
9
9
|
|
10
10
|
$:.unshift(File.expand_path("../lib", File.dirname(__FILE__)))
|
11
|
-
$:.unshift(File.expand_path("../playground", File.dirname(__FILE__)))
|
11
|
+
$:.unshift(File.expand_path("../playground/app", File.dirname(__FILE__)))
|
12
12
|
|
13
13
|
# this is so it doesn't throw an error because we use opal/jquery/rspec which
|
14
14
|
# adds an html method client side.
|
@@ -21,5 +21,5 @@ else
|
|
21
21
|
c.filter_run_excluding :slow
|
22
22
|
end
|
23
23
|
|
24
|
-
require '
|
24
|
+
require 'config/boot'
|
25
25
|
end
|
data/spec/wedge_spec.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
-
require 'wedge'
|
3
2
|
|
4
3
|
describe Wedge do
|
5
4
|
context 'config' do
|
@@ -13,9 +12,9 @@ describe Wedge do
|
|
13
12
|
expect(Wedge.source_map).to match /mappings/
|
14
13
|
end
|
15
14
|
else
|
16
|
-
it 'should not have an assets key' do
|
17
|
-
|
18
|
-
end
|
15
|
+
# it 'should not have an assets key' do
|
16
|
+
# expect(Wedge.config.assets_key).to be_nil
|
17
|
+
# end
|
19
18
|
end
|
20
19
|
end
|
21
20
|
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -238,6 +238,7 @@ files:
|
|
238
238
|
- playground/public/includes/_head.html
|
239
239
|
- playground/public/index.html
|
240
240
|
- playground/public/uploader.html
|
241
|
+
- playground/public/vendor/fine-uploader/s3.jquery.fine-uploader.js
|
241
242
|
- playground/public/vendor/font-awesome/fonts/FontAwesome.otf
|
242
243
|
- playground/public/vendor/font-awesome/fonts/fontawesome-webfont.eot
|
243
244
|
- playground/public/vendor/font-awesome/fonts/fontawesome-webfont.svg
|