Skip to content

Commit

Permalink
Bumped version number to v0.2.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
elorest committed Sep 29, 2017
1 parent 5eac117 commit fdca30f
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: amber
version: 0.2.6
version: 0.2.7

authors:
- Elias Perez <<eliasjpr@gmail.com>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ log: "::Logger.new(STDOUT)"
log_level: "::Logger::INFO"
color: true
host: 0.0.0.0
port_reuse: false
process_count: (ENV[%(AMBER_PROCESS_COUNT)]? || 1).to_i
ssl_key_file:
ssl_cert_file:
redis_url: "redis://localhost:6379"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
secret_key_base: <%= SecureRandom.urlsafe_base64(32) %>
port: 3000
port: 80
name: <%= @name %>
log: "::Logger.new(STDOUT)"
log_level: "::Logger::INFO"
Expand Down
4 changes: 3 additions & 1 deletion src/amber/cli/templates/app/config/environments/test.yml.ecr
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
secret_key_base: <%= SecureRandom.urlsafe_base64(32) %>
port: 3000
name: <%= @name %>
log: "::Logger.new(STDOUT)"
log_level: "::Logger::INFO"
color: true
name: <%= @name %>
host: 0.0.0.0
port_reuse: false
process_count: (ENV[%(AMBER_PROCESS_COUNT)]? || 1).to_i
ssl_key_file:
ssl_cert_file:
redis_url: "redis://localhost:6379"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1>Edit <%= @name.capitalize %></h1>

<%="<"%>%= render "_form.ecr" %>
<%="<"%>%= render(partial: "_form.ecr") %>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
h1 Edit <%= @name.capitalize %>

== render "_form.slang"
== render(partial: "_form.slang")
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1>New <%= @name.capitalize %></h1>

<%="<"%>%= render "_form.ecr" %>
<%="<"%>%= render(partial: "_form.ecr") %>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
h1 New <%= @name.capitalize %>

== render "_form.slang"
== render(partial: "_form.slang")
2 changes: 1 addition & 1 deletion src/amber/controller/render.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Amber::Controller
module Render
LAYOUT = "application.slang"

macro render(template = nil, partial = nil, layout = true, path = "src/views", folder = __FILE__)
macro render(template = nil, layout = true, partial = nil, path = "src/views", folder = __FILE__)
{% if !(template || partial) %}
raise "Template or partial required!"
{% end %}
Expand Down
2 changes: 1 addition & 1 deletion src/amber/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Amber
VERSION = "0.2.6"
VERSION = "0.2.7"
end

0 comments on commit fdca30f

Please sign in to comment.