Skip to content

Commit 108377c

Browse files
author
gdgate
authored
Merge pull request #1748 from sangtm/DC-1701-bump-ruby-sdk-2_1_16
DC-1701: Bump ruby sdk version to 2.1.17 Reviewed-by: https://github.com/danh-ung
2 parents d4e0660 + 678aff7 commit 108377c

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GoodData Ruby SDK Changelog
2-
## 2.1.16
2+
## 2.1.17
33
- BUGFIX:TMA-1704 - Enhance error message when not found clientId in source table
44
- BUGFIX: TMA-1694 [UsersBrick] Enhance messages add more log for missing users when running remove_from_organization
55
- FEATURE:TMA-1717 - replace Erbis by standard ERB

Rakefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ namespace :gem do
3535
gem = "gooddata-#{GoodData::VERSION}.gem"
3636
origin_license_file = 'LICENSE'
3737
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
38+
notices_file = 'NOTICES.txt'
3839
File.delete(origin_license_file) if File.exist?(origin_license_file)
39-
FileUtils.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
40-
puts "Copied file #{new_license_file} to #{origin_license_file}"
40+
File.delete(notices_file) if File.exist?(notices_file)
41+
puts "Deleted files: #{origin_license_file} and #{notices_file}"
42+
File.rename(new_license_file, origin_license_file) if File.exists?(new_license_file)
43+
puts "Renamed file #{new_license_file} to #{origin_license_file}"
4144
puts "Building #{gem} ..."
4245
res = `gem build ./gooddata.gemspec`
4346
file = res.match('File: (.*)')[1]

SDK_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.16
1+
2.1.17

gooddata.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
s.email = 'lcm@gooddata.com'
2525
s.extra_rdoc_files = %w(LICENSE README.md)
2626

27-
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
27+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).map { |f| f unless %w(NOTICES.txt LICENSE_FOR_RUBY_SDK_COMPONENT.txt).include?(f) }
2828
s.files.reject! { |fn| fn.start_with? 'spec/' }
2929
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
3030

0 commit comments

Comments
 (0)