shipwright 1.2.1 → 1.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 079906b00a6def896788a07f1960cadb6d74869f
4
- data.tar.gz: f9accdc16c3d3d2f73b6122f8e5e8022f6b7aa27
3
+ metadata.gz: 7f78a05069a103fb5720116be974861f39614829
4
+ data.tar.gz: ffd43344d5cc0bdbabe9f468474bdbdfe964e8b1
5
5
  SHA512:
6
- metadata.gz: fc9f9508d2b387ea4779a430aa47b417f4967b1a1ab64e6e01250b69d57b4b8452c681ee211934a643194c3f1388a0a7eb5862af33282cbb5c77d8f481fed372
7
- data.tar.gz: 291598fc1edf4287d10804a99f32ed878a0e29b1969b8c388d3fbc872b006ab97e43714851f5d7cc0a274d2391658d8efd07373eec8899b6b334b0328184d41f
6
+ metadata.gz: 64d2ad26f1a8855572a77dd0d824430479ad4e80a6713abb155c30a79882b3155d167022d4de6326d34cb646db42f0c41da79df8606bd39901e28bff16fe54af
7
+ data.tar.gz: ab2830db6261794ab8dc006886394ec77c11e011fa346684f4c7e1116b6285ae993691d26a9bb869650ac015d8a51cbc4cdfaae4cdfdcc91039cdb49f2065cc8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -29,6 +29,10 @@ module Shipwright
29
29
  Bump::Bump.version_from_version.tap { |v| return v.first if v }
30
30
  end
31
31
 
32
+ def self.application
33
+ File.basename Dir.pwd
34
+ end
35
+
32
36
  def initialize(path)
33
37
  self.path = path
34
38
  end
@@ -119,7 +123,7 @@ module Shipwright
119
123
  end
120
124
 
121
125
  def application
122
- File.basename Dir.pwd
126
+ @application ||= self.class.application
123
127
  end
124
128
 
125
129
  protected
@@ -53,5 +53,9 @@ module Shipwright
53
53
  Builder.version
54
54
  end
55
55
 
56
+ def application
57
+ Builder.application
58
+ end
59
+
56
60
  end
57
61
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipwright
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hunter