wedge 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  </head>
5
5
  <body>
6
- <%= javascript_include_tag 'public/vendor/jquery/jquery' %>
7
- <%= javascript_include_tag 'bower_components/fine-uploader/_build/s3.jquery.fine-uploader' %>
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>
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
- require 'app/components/layout'
2
+ require 'components/layout'
3
3
 
4
4
  describe Playground::LayoutComponent do
5
5
  subject(:layout) { Wedge[:layout] }
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
- require 'app/components/uploader'
2
+ require 'components/uploader'
3
3
 
4
4
  describe Playground::UploaderComponent do
5
5
  subject(:uploader) { Wedge[:uploader] }
@@ -1,14 +1,14 @@
1
+ require 'wedge'
2
+
1
3
  if RUBY_ENGINE == 'opal'
2
- require 'wedge'
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 'app/config/boot'
24
+ require 'config/boot'
25
25
  end
@@ -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
- expect(Wedge.config.assets_key).to be_nil
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.13
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-27 00:00:00.000000000 Z
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