volt 0.8.16 → 0.8.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/VERSION +1 -1
- data/lib/volt/cli.rb +9 -0
- data/lib/volt/cli/runner.rb +14 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7e97e958515996c80730d0ab074d74eb43a27fe
|
4
|
+
data.tar.gz: 2d6e4c932e26f55dc4a225965a59cf8f5a3b0704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf7586b654567deb37578959dcbca1acd0b63edbd20685d4467b31ba7c0ef99b8512594cc372ae33fbab3111461b6151c627efe5f3f23e0a03f04aaf63159b3e
|
7
|
+
data.tar.gz: 91db170065e99364b5172228878af671875f98745841947b010f1cb589382c7506b12152e4b09d35a87cf40196256bac4a964265cf3882f36b0bb7bf341d6595
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 0.8.17 - 2014-10-20
|
4
|
+
### Added
|
5
|
+
- Volt now has a runner task (like rails) so you can run .rb files inside of the volt project. Example: ```volt runner lib/import.rb```
|
6
|
+
|
7
|
+
## 0.8.16 - 2014-10-20
|
2
8
|
### Added
|
3
9
|
- Change changelog format to match: http://keepachangelog.com/
|
4
10
|
- Added rubocop config and ran rubocop on repo, lots of changes.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.17
|
data/lib/volt/cli.rb
CHANGED
@@ -65,6 +65,15 @@ module Volt
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
desc 'runner FILEPATH', 'Runs a ruby file at FILEPATH in the volt app'
|
69
|
+
method_option :file_path, type: :string
|
70
|
+
def runner(file_path)
|
71
|
+
ENV['SERVER'] = 'true'
|
72
|
+
require 'volt/cli/runner'
|
73
|
+
|
74
|
+
Volt::CLI::Runner.run_file(file_path)
|
75
|
+
end
|
76
|
+
|
68
77
|
desc 'gem GEM', 'Creates a component gem where you can share a component'
|
69
78
|
method_option :bin, type: :boolean, default: false, aliases: '-b', banner: 'Generate a binary for your library.'
|
70
79
|
method_option :test, type: :string, lazy_default: 'rspec', aliases: '-t', banner: "Generate a test directory for your library: 'rspec' is the default, but 'minitest' is also supported."
|
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.8.
|
4
|
+
version: 0.8.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -381,6 +381,7 @@ files:
|
|
381
381
|
- lib/volt/cli/asset_compile.rb
|
382
382
|
- lib/volt/cli/generate.rb
|
383
383
|
- lib/volt/cli/new_gem.rb
|
384
|
+
- lib/volt/cli/runner.rb
|
384
385
|
- lib/volt/config.rb
|
385
386
|
- lib/volt/console.rb
|
386
387
|
- lib/volt/controllers/model_controller.rb
|