volt 0.9.1.pre5 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/lib/volt/models.rb +0 -1
- data/lib/volt/server/html_parser/attribute_scope.rb +7 -1
- data/lib/volt/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 089a3893d8b7611b25bad4b8fcbdedd84be6579b
|
4
|
+
data.tar.gz: 066dc262d293f911faafb6bafddedd065546484c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7a7190b94631d3cc27baf85d11881dbe242cedf01b180ee187d1253b92fa3ea5567e32d32302016935be383c360fbdd69380dbec88aa00ed82d4d362b65a21
|
7
|
+
data.tar.gz: 0d099ac0fbf72d705c9c9e9be7cf3396c6737723da156cc5dc8f26d77b2bec36739c59b5f164fe537edf48a0a1823a760ae7028aa59e0a3af28721873deeb3c9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
## 0.9.1
|
4
|
+
### Added
|
5
|
+
- Mailer! - volt now includes the volt-mailer gem out of the box. (you can remove it if you don't need/want it). See https://github.com/voltrb/volt-mailer for more info.
|
6
|
+
|
4
7
|
### Changed
|
5
8
|
- All code in ```app``` is now automatically reloaded when any files change. This is done through a "preforking" server. Before your apps code is loaded (and after Volt's is), the server forks a child process to handle the request (in dev and test mode).
|
6
9
|
- Corrected the name of StringTemplateRender to StringTemplateRenderer
|
@@ -13,7 +16,7 @@
|
|
13
16
|
- fix class formatting issue with Pry.
|
14
17
|
- Bundler.require is now called for the correct env when 'volt/boot' is included. (We weren't planning to do this, but it does make life so much easier)
|
15
18
|
- opal-jquery was removed as a dependency. If you want to use it again, add ```gem 'opal-jquery'``` to your Gemfile and add ```require 'opal/jquery'` to your MainController.
|
16
|
-
|
19
|
+
- Volt and new gems now use the standard ruby version.rb file.
|
17
20
|
|
18
21
|
## 0.9.0
|
19
22
|
### Added
|
data/lib/volt/models.rb
CHANGED
@@ -71,7 +71,13 @@ module Volt
|
|
71
71
|
getter = getter.strip.gsub(/\(\s*\)/, '')
|
72
72
|
|
73
73
|
# Check to see if this can be converted to a setter
|
74
|
-
if getter[0] =~ /^[
|
74
|
+
if getter[0] =~ /^[A-Z]/ && getter[-1] != ')'
|
75
|
+
if getter.index('.')
|
76
|
+
"#{getter}=(val)"
|
77
|
+
else
|
78
|
+
"raise \"could not auto generate setter for `#{getter}`\""
|
79
|
+
end
|
80
|
+
elsif getter[0] =~ /^[a-z_]/ && getter[-1] != ')'
|
75
81
|
# Convert a getter into a setter
|
76
82
|
if getter.index('.') || getter.index('@')
|
77
83
|
prefix = ''
|
data/lib/volt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.1
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -874,9 +874,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
874
874
|
version: '2.1'
|
875
875
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
876
876
|
requirements:
|
877
|
-
- - "
|
877
|
+
- - ">="
|
878
878
|
- !ruby/object:Gem::Version
|
879
|
-
version:
|
879
|
+
version: '0'
|
880
880
|
requirements: []
|
881
881
|
rubyforge_project:
|
882
882
|
rubygems_version: 2.4.5
|