bashly 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/bashly/concerns/renderable.rb +3 -0
- data/lib/bashly/models/command.rb +1 -1
- data/lib/bashly/polyfills/hash.rb +3 -1
- data/lib/bashly/version.rb +1 -1
- data/lib/bashly/views/command/fixed_flags_filter.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffda5465535e873bf8f7beea1491d33ffd9e417adcd7cd2a79d8798e24fad6e2
|
4
|
+
data.tar.gz: 4b4f2a5fe32494fd4527b88be16d5f3b414ce46f07eb421397f5f3715da2351e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fba52e408663920eb145112f9c80bc0a6ce4731f017688ca299c8fad975c4bd4ef2fc8e330cf6e5452f797502a44a43342a95ccf9e95b50935c378a56ade85a
|
7
|
+
data.tar.gz: 4670e9c1b054c36cbb91d1c2264d37f4011ab8e242b0b47b5e07c85558d463fa806a299fa88f5c6b0aa2b61fc44b4fae7641727549f910aa3c9047b087ebaec1
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Bashly - Bash CLI Framework and Generator
|
|
7
7
|
Create beautiful bash scripts from simple YAML configuration
|
8
8
|
|
9
9
|
[![Gem Version](https://badge.fury.io/rb/bashly.svg)](https://badge.fury.io/rb/bashly)
|
10
|
-
[![Build Status](https://
|
10
|
+
[![Build Status](https://github.com/DannyBen/bashly/workflows/Test/badge.svg)](https://github.com/DannyBen/bashly/actions?query=workflow%3ATest)
|
11
11
|
[![Maintainability](https://api.codeclimate.com/v1/badges/8cf89047e50ca601e431/maintainability)](https://codeclimate.com/github/DannyBen/bashly/maintainability)
|
12
12
|
|
13
13
|
---
|
@@ -4,6 +4,9 @@ module Bashly
|
|
4
4
|
module Renderable
|
5
5
|
def render(view)
|
6
6
|
template = File.read view_path(view)
|
7
|
+
# TODO: This new format is only supported in Ruby >= 2.6
|
8
|
+
# So for now, we keep the old deprecated syntax
|
9
|
+
# ERB.new(template, trim_mode: '%-').result(binding)
|
7
10
|
ERB.new(template, nil, '%-').result(binding)
|
8
11
|
end
|
9
12
|
|
data/lib/bashly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bashly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|