Skip to content

Commit

Permalink
Merge pull request #1748 from sangtm/DC-1701-bump-ruby-sdk-2_1_16
Browse files Browse the repository at this point in the history
DC-1701: Bump ruby sdk version to 2.1.17

Reviewed-by: https://github.com/danh-ung
  • Loading branch information
gdgate authored Apr 9, 2021
2 parents d4e0660 + 678aff7 commit 108377c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GoodData Ruby SDK Changelog
## 2.1.16
## 2.1.17
- BUGFIX:TMA-1704 - Enhance error message when not found clientId in source table
- BUGFIX: TMA-1694 [UsersBrick] Enhance messages add more log for missing users when running remove_from_organization
- FEATURE:TMA-1717 - replace Erbis by standard ERB
Expand Down
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ namespace :gem do
gem = "gooddata-#{GoodData::VERSION}.gem"
origin_license_file = 'LICENSE'
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
notices_file = 'NOTICES.txt'
File.delete(origin_license_file) if File.exist?(origin_license_file)
FileUtils.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
puts "Copied file #{new_license_file} to #{origin_license_file}"
File.delete(notices_file) if File.exist?(notices_file)
puts "Deleted files: #{origin_license_file} and #{notices_file}"
File.rename(new_license_file, origin_license_file) if File.exists?(new_license_file)
puts "Renamed file #{new_license_file} to #{origin_license_file}"
puts "Building #{gem} ..."
res = `gem build ./gooddata.gemspec`
file = res.match('File: (.*)')[1]
Expand Down
2 changes: 1 addition & 1 deletion SDK_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.16
2.1.17
2 changes: 1 addition & 1 deletion gooddata.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.email = '[email protected]'
s.extra_rdoc_files = %w(LICENSE README.md)

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

Expand Down

0 comments on commit 108377c

Please sign in to comment.