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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 870ce94387132895473e52fcee3adc9cbce052c5
4
- data.tar.gz: aa4f7954f7c441b6bcb4f4d32c49e8ab8ff78ac5
3
+ metadata.gz: db28ee4b97653430aba4dfeb43d30b8ccb00b1ed
4
+ data.tar.gz: c8d8d6a87ee9d08f77ef1e33ae5503a6be03ae5d
5
5
  SHA512:
6
- metadata.gz: 6426e7e238fe7592575516799ea209c4019d2807519efb91830a694fda2ccf733432e9c28b6ae91f3311b28dd80a97015663d1a9fa0552bc67f15095c4f2fd86
7
- data.tar.gz: f19bbc71aa3bba9bb6e859cb82767e64c501a5638e962a159fa6a6baa3bed9a25bd3ed69de084773dece607021eb139777fcdf30cbe0d2d137c712de888849f3
6
+ metadata.gz: 5b9756f3a3dbf943cd37dc309315be2de09855c5cbc3dc934e40ec259ee92f2478a53401762d1d9ccd1e01c375f609a0578f9fd40b7038a26890365651ea3218
7
+ data.tar.gz: 96cd05f5c83f731c672e04eb23a720c19a835381ee55bfd3eb6869807a85959a4ff0509c64190d888d6cc55572faa071ffee28a866f1a5031824f39d8bfe01fe
@@ -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
@@ -8,6 +8,7 @@ module Fog
8
8
  recognizes(
9
9
  :app_name,
10
10
  :app_version,
11
+ :google_application_default,
11
12
  :google_auth,
12
13
  :google_client,
13
14
  :google_client_options,
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Google
3
- VERSION = "1.9.0".freeze
3
+ VERSION = "1.9.1".freeze
4
4
  end
5
5
  end
@@ -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.0
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-22 00:00:00.000000000 Z
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