vae 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/vae.rb +7 -0
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mzg5NTA0NDczN2MzYjdhNjVlMjYxMjM5OTBlMjgxZTYzMTQ5YTdmNg==
4
+ ZjlkNjk5NGI3Y2IyOTliN2E3OTMwNWE2MGYwMWM2MzQ1Njg0ZmRiZg==
5
5
  data.tar.gz: !binary |-
6
- MjlmZjVkNDMwZDA3MjZjYjJkODVhZmI0M2JhMDUxZDA5NjI2NGE3Yw==
6
+ NmM1YTAxMWM2NzlmMGJhMzRkNDUwN2FkOGJiZTQ0NzJkYmM0MTA1MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTc2YzZjMDQwNTFmNDA5NzQwZjg0ZWE0ZjAxZDk0YTg3MzU3YjcwZDgwYzJk
10
- NDEyM2JlZWQxNWYwYTk4MGRhOWU4OWRiMGNkZDUyOThhMGU5ZWRkMmNhOGQ1
11
- NjdiNTY3ZDI0OWNlYjU2MDkyZTIzZDI4MGFlNjNhMTUwYzY2Nzc=
9
+ NWJhYzU3YzVjMTA3YTFmZjEyMzRjNGY4MjVhN2IzMmJmOWJkOTEwMzQ4MDkx
10
+ MzBhOGExNTI0NzIzNmM2MGQ2MzhiMjU4MWEzNzIxNDRjOWM2OTk3MjhhZTk2
11
+ ODc1NjdlNWY5ZjkyYTE5M2Y3ZjcxZWU4YWNmMDQ1NzE5YTdiZjM=
12
12
  data.tar.gz: !binary |-
13
- MGJkNzM1MmI3ZDZlNWJkZTgxNTk5YjFhMjRmNmFjOGMyMDVmYTgwMjIzN2M1
14
- Y2UyOGM0Y2Y3ZmQ0NzVjNjE0MmIwZjBmMzU1NmE1NDcyOGU5ZjJhNjk2OThi
15
- OWQyZmU2NzI5ZTI1ZDE5Y2RiMzg0N2YzNWM5MGUwMmUwODE1MGI=
13
+ NDg4YTZiZjk4NTM2YzFlNGM2YTBiNzQwZjFmYzFiYzZmOGI1N2U0Y2FkMGE3
14
+ ZTFhNjBlZjk3YzBkYzg5OWQ0Yzc4YzAyYjQzMWM0MDI0NWJhYzQ5Nzc1YzUy
15
+ MWFjNDEzMDZjZmUzOGM3ZDBkYmI5NzJiNTZlYzRlOWJjMWJjZjc=
data/lib/vae.rb CHANGED
@@ -124,6 +124,8 @@ class VaeLocal
124
124
  }
125
125
  dw.start
126
126
 
127
+ set_mime_types
128
+
127
129
  Dir.chdir File.dirname(__FILE__)
128
130
  puts BANNER
129
131
  puts "Vae is in action at http://localhost:#{options[:port]}/"
@@ -169,6 +171,11 @@ class VaeLocal
169
171
  rescue JSON::ParserError
170
172
  raise VaeError, "An unknown error occurred requesting this operation from Vae Platform. Please email support for help."
171
173
  end
174
+
175
+ def set_mime_types
176
+ WEBrick::HTTPUtils::DefaultMimeTypes.store 'js', 'application/javascript'
177
+ WEBrick::HTTPUtils::DefaultMimeTypes.store 'svg', 'image/svg+xml'
178
+ end
172
179
 
173
180
  def stagerelease(action, site, username, password)
174
181
  if action == "deploy" or action == "stage"
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VER = "0.6.5"
1
+ VER = "0.6.6"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Action Verb, LLC
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-24 00:00:00.000000000 Z
12
+ date: 2013-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chunky_png