volt 0.8.19 → 0.8.20

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d48b14a1bdcbb5bd981ddba1c5eb3605a9ab64c
4
- data.tar.gz: 7c74bc1525175653a03f9dc2053eab4cbecc5c29
3
+ metadata.gz: 416145e75f492dc4623668096f906733c3fd4fcd
4
+ data.tar.gz: 0d587e65f65f75a4a8f1ed1b9215e00c672cff9d
5
5
  SHA512:
6
- metadata.gz: 3a234d3f5b18ad192ffb575e7cbfbbf39586048a6e6b6ac835ccc06c2c13b1aaab720a0e5fbd3b8e84326b2553e153ba9fa9df42b7098ef210bd775f8b41198c
7
- data.tar.gz: 6f70ce074f81d8c2d3da698090c9cfdd2b871b43ee9483198aaf2e61df477589002f82a8d469f1b8380803ccd7c5d8833f7286a3f375fda537d09cca7fba60d9
6
+ metadata.gz: 939aaf701b9e01b58b95bf42e9da649137a16bf472bd268c5835a1b99da81eb3d03efb33c7e2e77b158b85ef466f108d283b343ca007272803a95bf887a4ab69
7
+ data.tar.gz: bb9732f7effb3d1d66af56461a53a85652df06074a27c1ac5dba2f5a2bbfe941e41fe15953cb18e30b78bf21c092b1b126509557b8180c46434f28b7aa2d6842
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.8.20 - 2014-11-05
4
+ ### Changed
5
+ - fix secure random bug from 0.8.19 :-)
6
+
3
7
  ## 0.8.19 - 2014-11-05
4
8
  ### Breaking Changes
5
9
  - the default index page is now moved from ```public/index.html``` to ```config/base/index.html``` Please update your app's accordingly. Since the public page is essentially static at the moment, public will only be used for asset pre-compilation (and index.html will be rendered in place)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.19
1
+ 0.8.20
@@ -12,6 +12,8 @@ module Volt
12
12
  desc 'new PROJECT_NAME', 'generates a new project.'
13
13
 
14
14
  def new(name)
15
+ require 'securerandom'
16
+
15
17
  # Grab the current volt version
16
18
  version = File.read(File.join(File.dirname(__FILE__), '../../VERSION'))
17
19
  directory('project', name, version: version, name: name)
@@ -1,4 +1,5 @@
1
1
  require 'volt/server/html_parser/view_parser'
2
+ require 'volt/tasks/task_handler'
2
3
 
3
4
  # Initialize with the path to a component and returns all the front-end
4
5
  # setup code (for controllers, models, views, and routes)
@@ -37,7 +37,7 @@ module Volt
37
37
  index_path = File.expand_path(File.join(Volt.root, 'config/base/index.html'))
38
38
  html = File.read(index_path)
39
39
 
40
- ERB.new(html).result(binding)
40
+ ERB.new(html, nil, '-').result(binding)
41
41
  end
42
42
 
43
43
  def javascript_files
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.19
4
+ version: 0.8.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout