capistrano-deploytags 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/capistrano/deploytags.rb +7 -1
  3. metadata +18 -31
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f0cd14a06637b8a3a14d34589b15f7b3fbcbf058
4
+ data.tar.gz: cb34c542ec1993f8f178cc0a21da8ed6c78ede5b
5
+ SHA512:
6
+ metadata.gz: 8d1d26d7ef6784655aa17cebbcbc64c769ca26acc3b24df3a33f16a443b0f73929b07a0e3e4cea719ef283f482c20e006d72b70e9c8eb0a557894e88e688a25b
7
+ data.tar.gz: 327a1384294fbcaae5a3d1d2564e16b1e0a7983c63cd72ded6a090655970368bcdefdbac922bbf58b29f2b0e6e6d0c41dbac1c84d14970a35b08bf3094ae3c3b
@@ -11,7 +11,13 @@ module CapistranoDeploytags
11
11
  end
12
12
 
13
13
  def self.formatted_time
14
- Time.new.utc.strftime(fetch(:deploytag_time_format, "%Y.%m.%d-%H%M%S-utc"))
14
+ now = if fetch(:deploytag_utc, true)
15
+ Time.now.utc
16
+ else
17
+ Time.now
18
+ end
19
+
20
+ now.strftime(fetch(:deploytag_time_format, "%Y.%m.%d-%H%M%S-#{now.zone.downcase}"))
15
21
  end
16
22
 
17
23
  def self.commit_message(current_sha, stage)
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploytags
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Karl Matthias
@@ -15,59 +14,47 @@ dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: capistrano
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 3.2.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 3.2.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rake
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: rspec
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ~>
46
+ - - "~>"
53
47
  - !ruby/object:Gem::Version
54
48
  version: 3.0.0
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ~>
53
+ - - "~>"
61
54
  - !ruby/object:Gem::Version
62
55
  version: 3.0.0
63
- description: ! ' Capistrano Deploytags is a simple plugin to Capistrano 3 that works
64
- with your deployment framework to track your code releases. All you have to do is
65
- require capistrano-deploytags/capistrano and each deployment will add a new tag
66
- for that deployment, pointing to the latest commit. This lets you easily see which
67
- code is deployed on each environment, and allows you to figure out which code was
68
- running in an environment at any time in the past.
69
-
70
- '
56
+ description: |2
57
+ Capistrano Deploytags is a simple plugin to Capistrano 3 that works with your deployment framework to track your code releases. All you have to do is require capistrano-deploytags/capistrano and each deployment will add a new tag for that deployment, pointing to the latest commit. This lets you easily see which code is deployed on each environment, and allows you to figure out which code was running in an environment at any time in the past.
71
58
  email:
72
59
  - relistan@gmail.com
73
60
  - gavin.heavyside@mydrivesolutions.com
@@ -75,33 +62,33 @@ executables: []
75
62
  extensions: []
76
63
  extra_rdoc_files: []
77
64
  files:
65
+ - LICENSE
66
+ - README.md
78
67
  - lib/capistrano-deploytags.rb
79
68
  - lib/capistrano/deploytags.rb
80
69
  - lib/capistrano/tasks/deploytags.rake
81
- - README.md
82
- - LICENSE
83
70
  homepage: http://github.com/mydrive/capistrano-deploytags
84
- licenses: []
71
+ licenses:
72
+ - BSD-2-Clause
73
+ metadata: {}
85
74
  post_install_message:
86
75
  rdoc_options: []
87
76
  require_paths:
88
77
  - lib
89
78
  required_ruby_version: !ruby/object:Gem::Requirement
90
- none: false
91
79
  requirements:
92
- - - ! '>='
80
+ - - ">="
93
81
  - !ruby/object:Gem::Version
94
82
  version: '0'
95
83
  required_rubygems_version: !ruby/object:Gem::Requirement
96
- none: false
97
84
  requirements:
98
- - - ! '>='
85
+ - - ">="
99
86
  - !ruby/object:Gem::Version
100
87
  version: '0'
101
88
  requirements: []
102
89
  rubyforge_project:
103
- rubygems_version: 1.8.23
90
+ rubygems_version: 2.2.2
104
91
  signing_key:
105
- specification_version: 3
92
+ specification_version: 4
106
93
  summary: Add dated, environment-specific tags to your git repo at each deployment.
107
94
  test_files: []