boxr 1.13.0 → 1.13.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
  SHA256:
3
- metadata.gz: 4a9682a76314abdb2ca543bc244885f87491e8f1e9585ccdaca573bf93e11495
4
- data.tar.gz: 9cdf7ddd389d95367db57dad7fd3b4cb1335f0aff4c1a7833bed709d33952aea
3
+ metadata.gz: 1d6d520618b4c7dc7741712b37229378971bf5fa9df2a615105cc32290ed3f6a
4
+ data.tar.gz: c3dc80a52abbadb66f40d1bb33688bff02d66d2e4d5a40adb2a19a7f9d350df6
5
5
  SHA512:
6
- metadata.gz: f560b285eb744a38ff2a6cc52628a21d67b9894de51c127bc9513150eec641bef1f996c01026c0e47b4d4a5b9b40aeda20c5e64328492d5fa334f16120661d0b
7
- data.tar.gz: 5f43467d364b6692f1d3b117d9905a9fb87c7b018a6d202d3b0358a14397ce568df16af7740d5ccd421df87cf8d71b239d24a495dbd4f5807b3ada81716b2869
6
+ metadata.gz: faa073dab1a0cac78372336f602b8d4c84c31d35cf2ddc794a41764e85542f331aba21ad2073b958dd42c701d9819acc8234d547c7f6a7a1a30fe1ecb3f50cc1
7
+ data.tar.gz: 0e89dbdee4405705350af41358a0c4ffcdab599937450d206ae93fc9cdda2d1edce734b163fd961ab59061949666c88321350a7ed3c16a64306a72ca687bf691
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Boxr is a Ruby client library for the Box V2 Content API. Box employees affectionately refer to one another as Boxers, hence the name of this gem.
6
6
 
7
- The purpose of this gem is to provide a clear, efficient, and intentional method of interacting with the Box Content API. As with any SDK that wraps a REST API, it is important to fully understand the Box Content API at the REST endpoint level. You are strongly encouraged to read through the Box documentation located [here](https://box-content.readme.io/).
7
+ The purpose of this gem is to provide a clear, efficient, and intentional method of interacting with the Box Content API. As with any SDK that wraps a REST API, it is important to fully understand the Box Content API at the REST endpoint level. You are strongly encouraged to read through the Box documentation located [here](https://developer.box.com/en/reference/).
8
8
 
9
9
  The full RubyDocs for Boxr can be found [here](http://www.rubydoc.info/gems/boxr/Boxr/Client). You are also encouraged to rely heavily on the source code found in the [lib/boxr](https://github.com/cburnette/boxr/tree/master/lib/boxr) directory of this gem, as well as on the integration tests found [here](https://github.com/cburnette/boxr/blob/master/spec/boxr_spec.rb).
10
10
 
@@ -12,7 +12,7 @@ module Boxr
12
12
  folder = folder_from_path(path_items.join('/'))
13
13
 
14
14
  files = folder_items(folder, fields: [:id, :name]).files
15
- file = files.select{|f| f.name == file_name}.first
15
+ file = files.select{|f| f.name.casecmp?(file_name) }.first
16
16
  raise BoxrError.new(boxr_message: "File not found: '#{file_name}'") if file.nil?
17
17
  file
18
18
  end
@@ -10,7 +10,7 @@ module Boxr
10
10
 
11
11
  folder = path_folders.inject(Boxr::ROOT) do |parent_folder, folder_name|
12
12
  folders = folder_items(parent_folder, fields: [:id, :name]).folders
13
- folder = folders.select{|f| f.name == folder_name}.first
13
+ folder = folders.select{|f| f.name.casecmp?(folder_name) }.first
14
14
  raise BoxrError.new(boxr_message: "Folder not found: '#{folder_name}'") if folder.nil?
15
15
  folder
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Boxr
2
- VERSION = "1.13.0".freeze
2
+ VERSION = "1.13.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Burnette
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-11-11 00:00:00.000000000 Z
12
+ date: 2019-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler