From c8a4a5cf1661fa00a5dcf5291f104b04622b1224 Mon Sep 17 00:00:00 2001 From: Luca Guidi Date: Tue, 24 Oct 2017 14:52:04 +0200 Subject: [PATCH] Bump version to v1.1.0. Update getting started instructions in home page. --- config.rb | 6 +++--- source/guides/index.erb | 4 ++-- source/layouts/home.erb | 15 +++++++-------- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/config.rb b/config.rb index c8922fa86..4b8db021c 100644 --- a/config.rb +++ b/config.rb @@ -126,7 +126,7 @@ def guides @guides[version] = JSON.parse(yaml.to_json, object_class: OpenStruct) end - def latest_stable_version_path + def latest_stable_version_guides_path latest_stable_version = Dir.glob("#{GUIDES_ROOT}/*").each_with_object([]) do |version, result| next unless ::File.directory?(version) result << ::File.basename(version) @@ -260,11 +260,11 @@ def encode_text(text) end def hanami_version - '1.0.0' + '1.1.0' end def hanami_release_date - Date.parse("2017-04-06").strftime("%B %-d, %Y") + Date.parse("2017-10-25").strftime("%B %-d, %Y") end end diff --git a/source/guides/index.erb b/source/guides/index.erb index 8a1109f40..1aa2052e0 100644 --- a/source/guides/index.erb +++ b/source/guides/index.erb @@ -5,9 +5,9 @@ layout: false Hanami | Guides - + -

Please visit API docs for our latest stable version.

+

Please visit API docs for our latest stable version.

diff --git a/source/layouts/home.erb b/source/layouts/home.erb index fed58f5fb..402e1e5db 100644 --- a/source/layouts/home.erb +++ b/source/layouts/home.erb @@ -109,19 +109,18 @@ Successfully installed hanami-<%= hanami_version %>
-
% cd bookshelf && echo "ruby '2.3.0'" >> Gemfile && bundle
-Bundle complete! 8 Gemfile dependencies, 49 gems now installed.
+                      
% cd bookshelf && echo "ruby '2.4.2'" >> Gemfile && bundle
+Bundle complete! 8 Gemfile dependencies, 50 gems now installed.
 
% git add . && git commit -m "Initial commit" -[master (root-commit) ecb3a75] Initial commit - 37 files changed, 527 insertions(+) +[master (root-commit) b6df611] Initial commit + 38 files changed, 685 insertions(+)
% heroku apps:create
-Creating cherry-blossom-1234... done, stack is cedar-14
+Creating app... done, ⬢ Creating cherry-blossom-1234
 https://cherry-blossom-1234.herokuapp.com/ | https://git.heroku.com/cherry-blossom-1234.git
-Git remote heroku added
 
% heroku config:add SERVE_STATIC_ASSETS=true Setting SERVE_STATIC_ASSETS and restarting ⬢ cherry-blossom-1234... done, v2 @@ -134,7 +133,7 @@ To https://git.heroku.com/cherry-blossom-1234.git * [new branch] master -> master
% heroku run bundle exec hanami db migrate -Running bundle exec hanami db migrate on ⬢ cherry-blossom-1234... up, run.7361 (Free) +Running bundle exec hanami db migrate on ⬢ cherry-blossom-1234... up, run.9274 (Free) # ...
% heroku open @@ -149,7 +148,7 @@ Opening cherry-blossom-1234... done