scenejs_on_rails 1.0.5 → 1.0.7

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: 641822c9bc3d6e6aee5c5b7185b9305c63dddef0
4
- data.tar.gz: 65f889792a6defaaf2966f665298daf977477f8f
3
+ metadata.gz: 38ee3a77bbbb1b1155b96414074cee31ef47d678
4
+ data.tar.gz: c303fd50c7dbfd4191613d8d574580d95f91702e
5
5
  SHA512:
6
- metadata.gz: 7a0449fa272e84054179c43f4205c00750a04c139b5266eeb4da693246b6380e06db3fbb6e2d85587623b40a4c7b9e546802a3f89ac90e5014095db255e15c47
7
- data.tar.gz: eb1814165999b1569a9fbd802ede0f9c7f9c31b8ad3f66cce93386edda184fe01f7aada33c7c62e20719092db3a29ff78ee925c1049ce20a23fe67776ccab2f5
6
+ metadata.gz: e56f592375787a8368ec1d5cba8856a4ef4dc8f66a0acc048f49c88c04ec1cca1ef53f38713ac70c0af7d2609ec17d47a612be197753c8ea9b35dff04d41c43f
7
+ data.tar.gz: 6609ba4eb365d9e79460070a8989223aa9a457b60a7c44db4f5e6f1f500ea53906cb19a157c500f3e837aed81b7f200e00f43105c004daa771564d4ddd4e86ac
@@ -45,11 +45,10 @@ class ScenejsController < ApplicationController
45
45
  if binary #serves binary image data
46
46
  send_data(@file)
47
47
  else #serves inline js (system may send as application/zip but this causes no issues)
48
- render :inline => @file, :layout => false
48
+ render inline: @file, layout: false, content_type: 'text/javascript'
49
49
  end
50
50
  else
51
- raise "ActionController::RoutingError"
52
- puts "Scenejs Plugin not found either in gem or app locations:\n #{in_gem_file_ref}\n #{in_app_file_ref}"
51
+ raise "ActionController::RoutingError(Scenejs Plugin not found either in gem or app locations:\n #{in_gem_file_ref}\n #{in_app_file_ref})"
53
52
  end
54
53
  end
55
54
  end
@@ -1,4 +1,4 @@
1
1
  module ScenejsOnRails
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.7"
3
3
  SCENEJS_VERSION = "3.2"
4
4
  end
@@ -49,17 +49,17 @@ SceneJS.Types.addType("objects/space/planets/earth", {
49
49
  // },
50
50
  {
51
51
  src:texturePath + "earth.jpg",
52
- flipY: true,
52
+ flipX: true,
53
53
  applyTo:"color"
54
54
  },
55
55
  {
56
56
  src:texturePath + "earth-specular.jpg",
57
- flipY: true,
57
+ flipX: true,
58
58
  applyTo:"specular"
59
59
  } ,
60
60
  {
61
61
  src:texturePath + "earth-lights.gif",
62
- flipY: true,
62
+ flipX: true,
63
63
  applyTo:"emit"
64
64
  }
65
65
  ],
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenejs_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Alridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-13 00:00:00.000000000 Z
11
+ date: 2014-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: |2
@@ -64,7 +64,7 @@ executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
- - .gitignore
67
+ - ".gitignore"
68
68
  - Gemfile
69
69
  - LICENSE.txt
70
70
  - README.md
@@ -193,12 +193,12 @@ require_paths:
193
193
  - lib
194
194
  required_ruby_version: !ruby/object:Gem::Requirement
195
195
  requirements:
196
- - - '>='
196
+ - - ">="
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - '>='
201
+ - - ">="
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []