From 17342512c73b4745e4e69e00cf01c1551a8b475f Mon Sep 17 00:00:00 2001 From: Richard Herbert Date: Fri, 4 Aug 2017 11:42:36 -0500 Subject: [PATCH 1/3] update Filestack dependency --- filestack-rails.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filestack-rails.gemspec b/filestack-rails.gemspec index 824bcab..c60cc3c 100644 --- a/filestack-rails.gemspec +++ b/filestack-rails.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] s.add_dependency 'rails', '>= 4.0' - s.add_dependency "filestack", "~> 2.0.1" + s.add_dependency "filestack", "~> 2.1.0" s.add_development_dependency 'coveralls' s.add_development_dependency 'sqlite3' From b072e624b3b7f01491048fbad5ca002e3eb2d9a9 Mon Sep 17 00:00:00 2001 From: Richard Herbert Date: Fri, 4 Aug 2017 12:11:41 -0500 Subject: [PATCH 2/3] update CHANGELOG and version --- CHANGELOG.md | 5 ++++- VERSION | 2 +- lib/filestack_rails/version.rb | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd4dd6a..ce85034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## 3.0.0 (July 24th, 2017) +## 3.1.0 (August 4, 2017) +- Update Filestack::Ruby dependency to latest version to address namespacing issue + +## 3.0.0 (July 24, 2017) - Update to use v3 of Filestack File Picker - Add filestack_picker_element as a general uploading button - Various additions and removals surrounding the aforementioned elements diff --git a/VERSION b/VERSION index 56fea8a..fd2a018 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.0 \ No newline at end of file +3.1.0 diff --git a/lib/filestack_rails/version.rb b/lib/filestack_rails/version.rb index 5d28bcd..9f9e94a 100644 --- a/lib/filestack_rails/version.rb +++ b/lib/filestack_rails/version.rb @@ -1,3 +1,3 @@ module FilestackRails - VERSION = '3.0.0' + VERSION = '3.1.0' end From 1704bd1e6c8b411fa0d19651cef3c9ce6a2e0f80 Mon Sep 17 00:00:00 2001 From: Richard Herbert Date: Fri, 4 Aug 2017 12:11:55 -0500 Subject: [PATCH 3/3] add warning about namespace changes to Ruby SDK --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 320ee98..d81a915 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,15 @@ This is the official Rails plugin for Filestack - API and content management sys * [Documentation](https://www.filestack.com/docs) * [API Reference](https://filestack.github.io/) +## IMPORTANT +Users of 3.0.0 wishing to upgrade to 3.1.0+ should note that the Filestack::Ruby dependency has been updated to no longer interfere with namespace. However, if you were using that dependency in your Rails app, you will need to change any Client and Filelink class declarations to FilestackClient and FilestackFilelink, as per documented [here](https://github.com/filestack/filestack-ruby/blob/master/README.md) + ## Installing Add this line to your application's Gemfile: ```ruby -gem 'filestack-rails', require: 'filestack-rails' +gem 'filestack-rails' ``` And then execute: