kstrano 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/kstrano.rb +3 -2
  2. metadata +2 -2
@@ -9,6 +9,7 @@ set :force_migrations, false
9
9
  set :webserver_user, "www-data"
10
10
  set :permission_method, :acl
11
11
  set :server_name, nil
12
+ set :port, 22
12
13
 
13
14
  set :dump_assetic_assets, true
14
15
  set :interactive_mode, false
@@ -62,9 +63,9 @@ namespace :kuma do
62
63
  task :changelog do
63
64
  if releases.length > 0
64
65
  Kumastrano::GitHelper.fetch
65
- changelog = `git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --no-merges #{current_revision}..#{real_revision}`
66
+ changelog = `git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --no-merges #{current_revision.strip}..#{real_revision.strip}`
66
67
 
67
- if current_revision == real_revision && changelog.strip.empty?
68
+ if current_revision.strip == real_revision.strip && changelog.strip.empty?
68
69
  changelog = "No changes found!"
69
70
  end
70
71
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-24 00:00:00.000000000 Z
12
+ date: 2013-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capifony