fog-google 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/lib/fog/compute/google.rb +1 -0
- data/lib/fog/google/version.rb +1 -1
- data/tasks/changelog.rake +30 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db28ee4b97653430aba4dfeb43d30b8ccb00b1ed
|
4
|
+
data.tar.gz: c8d8d6a87ee9d08f77ef1e33ae5503a6be03ae5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b9756f3a3dbf943cd37dc309315be2de09855c5cbc3dc934e40ec259ee92f2478a53401762d1d9ccd1e01c375f609a0578f9fd40b7038a26890365651ea3218
|
7
|
+
data.tar.gz: 96cd05f5c83f731c672e04eb23a720c19a835381ee55bfd3eb6869807a85959a4ff0509c64190d888d6cc55572faa071ffee28a866f1a5031824f39d8bfe01fe
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,21 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
6
6
|
|
7
7
|
## Next
|
8
8
|
|
9
|
+
## 1.9.1
|
10
|
+
|
11
|
+
### User-facing
|
12
|
+
|
13
|
+
#### Fixed
|
14
|
+
|
15
|
+
- \#448 Add `:google_application_default` as recognized argument in
|
16
|
+
Fog::Compute::Google client [mavin]
|
17
|
+
|
18
|
+
### Development changes
|
19
|
+
|
20
|
+
#### Added
|
21
|
+
|
22
|
+
- \#449 Add a helper rake task to populate changelog [temikus]
|
23
|
+
|
9
24
|
## 1.9.0
|
10
25
|
|
11
26
|
### User-facing
|
@@ -323,8 +338,6 @@ We encourage people using 0.5.1 to upgrade.
|
|
323
338
|
|
324
339
|
## Template to use
|
325
340
|
|
326
|
-
## Next release
|
327
|
-
|
328
341
|
### User-facing
|
329
342
|
|
330
343
|
#### Changed
|
data/lib/fog/compute/google.rb
CHANGED
data/lib/fog/google/version.rb
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
require "fileutils"
|
2
|
+
|
3
|
+
# Helper method to insert text after a line that matches the regex
|
4
|
+
def insert_after_line(file, insert, regex = /^## Next/)
|
5
|
+
tempfile = File.open("#{file}.tmp", "w")
|
6
|
+
f = File.new(file)
|
7
|
+
f.each do |line|
|
8
|
+
tempfile << line
|
9
|
+
next unless line =~ regex
|
10
|
+
|
11
|
+
tempfile << "\n"
|
12
|
+
tempfile << insert
|
13
|
+
tempfile << "\n"
|
14
|
+
end
|
15
|
+
f.close
|
16
|
+
tempfile.close
|
17
|
+
|
18
|
+
FileUtils.mv("#{file}.tmp", file)
|
19
|
+
end
|
20
|
+
|
21
|
+
# Extracts all changes that have been made after the latest pushed tag
|
22
|
+
def changes_since_last_tag
|
23
|
+
`git --no-pager log $(git describe --tags --abbrev=0)..HEAD --oneline`
|
24
|
+
end
|
25
|
+
|
26
|
+
namespace :changelog do
|
27
|
+
task :generate do
|
28
|
+
insert_after_line("CHANGELOG.md", changes_since_last_tag, /^## Next/)
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Welch
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-03-
|
12
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fog-core
|
@@ -637,6 +637,7 @@ files:
|
|
637
637
|
- lib/fog/storage/google_xml/requests/put_object_url.rb
|
638
638
|
- lib/fog/storage/google_xml/utils.rb
|
639
639
|
- tasks/bundler.rake
|
640
|
+
- tasks/changelog.rake
|
640
641
|
- tasks/console.rake
|
641
642
|
- tasks/lint.rake
|
642
643
|
- tasks/test.rake
|