opendelivery 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,5 +42,11 @@ module OpenDelivery
42
42
  end
43
43
  end
44
44
  end
45
+
46
+ def add_timestamp(identifier, artifact)
47
+ timestamp = Time.now.strftime("%Y.%m.%d.%H.%M.%S.%L")
48
+ stamped_artifact = "#{artifact}-#{identifier}-#{timestamp}"
49
+ return stamped_artifact
50
+ end
45
51
  end
46
52
  end
data/lib/opendelivery.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'opendelivery/source_control.rb'
2
- require 'opendelivery/artifact.rb'
3
2
  require 'opendelivery/domain.rb'
4
3
  require 'opendelivery/image.rb'
5
4
  require 'opendelivery/stack.rb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opendelivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -68,7 +68,6 @@ extensions: []
68
68
  extra_rdoc_files: []
69
69
  files:
70
70
  - lib/opendelivery.rb
71
- - lib/opendelivery/artifact.rb
72
71
  - lib/opendelivery/domain.rb
73
72
  - lib/opendelivery/image.rb
74
73
  - lib/opendelivery/source_control.rb
@@ -1,12 +0,0 @@
1
- module OpenDelivery
2
- class Artifact
3
- def initialize
4
- end
5
-
6
- def add_timestamp(build_identifier, artifact)
7
- timestamp = Time.now.strftime("%Y.%m.%d.%H.%M.%S.%L")
8
- stamped_artifact = "#{artifact}-#{build_identifier}-#{timestamp}"
9
- return stamped_artifact
10
- end
11
- end
12
- end