Skip to content

Commit

Permalink
Merge pull request #581 from Erol/fix-various-doc-typos
Browse files Browse the repository at this point in the history
Fix various doc typos
  • Loading branch information
jodosha committed May 27, 2016
2 parents 67fea3c + e4c2c12 commit 6de63b5
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion lib/hanami/application_name.rb
Expand Up @@ -36,7 +36,7 @@ def initialize(name)

# Returns the cleaned application name.
#
# @return [String] the santized name
# @return [String] the sanitized name
#
# @example
# ApplicationName.new("my-App ").to_s # => "my_app"
Expand Down
2 changes: 1 addition & 1 deletion lib/hanami/commands/server.rb
Expand Up @@ -117,7 +117,7 @@ def shotgun_enabled?
end
end

# Check if ruby ineterpreter supports `fork`
# Check if ruby interpreter supports `fork`
#
# @return [Boolean]
#
Expand Down
6 changes: 3 additions & 3 deletions lib/hanami/configuration.rb
Expand Up @@ -381,7 +381,7 @@ def templates(value = nil)
# By default it's equal to the `public/` directory under the application
# `root`.
#
# Otherwise, you can add differents relatives paths under `root`.
# Otherwise, you can add different relatives paths under `root`.
#
# @overload assets
# Gets the value
Expand Down Expand Up @@ -531,7 +531,7 @@ def cookies(options = nil)
# Bookshelf::Application.configuration.sessions
# # => #<Hanami::Config::Sessions:0x00000001589458 @enabled=true, @adapter=:cookie, @options={:domain=>"localhost", :secure=>false}>
#
# @example Disabling previusly enabled sessions
# @example Disabling previously enabled sessions
# require 'hanami'
#
# module Bookshelf
Expand Down Expand Up @@ -1295,7 +1295,7 @@ def port(value = nil)
#
# module DashboardController
# class Index
# incude Bookshelf::Action
# include Bookshelf::Action
#
# def call(params)
# end
Expand Down
2 changes: 1 addition & 1 deletion lib/hanami/environment.rb
Expand Up @@ -203,7 +203,7 @@ def initialize(options = {})
# * HANAMI_ENV
# * RACK_ENV
#
# If those are missing it falls back to the defalt one: `"development"`.
# If those are missing it falls back to the default one: `"development"`.
#
# Rack environment `"deployment"` is translated to Hanami `"production"`.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/hanami/generators/app/application.rb.tt
Expand Up @@ -60,7 +60,7 @@ module <%= config[:classified_app_name] %>
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
Expand Up @@ -62,7 +62,7 @@ module <%= config[:classified_app_name] %>
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/cdn/cdn/apps/web/application.rb
Expand Up @@ -60,7 +60,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/cdn/cdn_app/config/application.rb
Expand Up @@ -62,7 +62,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
Expand Up @@ -62,7 +62,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/commands/generate/app/application.rb
Expand Up @@ -60,7 +60,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/rake/rake_tasks/apps/web/application.rb
Expand Up @@ -60,7 +60,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/rake/rake_tasks_app/config/application.rb
Expand Up @@ -62,7 +62,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/static_assets/apps/admin/application.rb
Expand Up @@ -59,7 +59,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/static_assets/apps/web/application.rb
Expand Up @@ -60,7 +60,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/static_assets_app/config/application.rb
Expand Up @@ -61,7 +61,7 @@ class Application < Hanami::Application
# :path - Restrict cookies to a relative URI (String - nil by default)
# :max_age - Cookies expiration expressed in seconds (Integer - nil by default)
# :secure - Restrict cookies to secure connections
# (Boolean - Automatically set on true if currenlty using a secure connection)
# (Boolean - Automatically set on true if currently using a secure connection)
# See #scheme and #ssl?
# :httponly - Prevent JavaScript access (Boolean - true by default)
#
Expand Down

0 comments on commit 6de63b5

Please sign in to comment.