browse-everything 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 534d8093e331f6d7cdb1267d9daeb07028ea429c
4
- data.tar.gz: 113173c876354894d06d02e5bb87e8860ef12021
3
+ metadata.gz: 752262cadeaa0b3b5a2ad672940be2614d39cf31
4
+ data.tar.gz: de06161f252bed360dc7eb3cb6e36b6abfe2f350
5
5
  SHA512:
6
- metadata.gz: bf4801b32d5b067c2a5a17d366070a1dbaf111d6a7a92c5351f4bfbed898c42bd687a8e4b2884241b110d49228c8f05a918b12f53522b54ea23ffbb2f3c9414f
7
- data.tar.gz: 20d1e90a20b62a30d3e5748add97a1fc8b7209a7b81d382d57fa7fc74dd2b5c0693f8493749f497d87af1c0ea0fadd8b552609dc60db55fa5a1e805e559dbbca
6
+ metadata.gz: e35f26412fe189b2c70ae575cab4e872078165fe7712bfb6fc0019822271667d6ff06cac215866411dd6e7ddff066bd06d95943bd9030c6082b53cdb0995f156
7
+ data.tar.gz: 3553e3fc787477acaf50f5f76f310768ec8681990f9582e5eb969e40f9728902aa502b432974f4e914d9d016cb347ba41f8ddf7c544d1e076b0b87a6f47e9897
data/HISTORY.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.8.1 (2015-03-03)
2
+ - Use numeric size from Dropbox instead of string value
3
+
1
4
  ### 0.8.0 (2015-02-27)
2
5
  - Add `max_upload_file_size` option to configuration
3
6
  - Disable selection of files that are larger than `max_upload_file_size`
@@ -29,7 +29,7 @@ module BrowseEverything
29
29
  path,
30
30
  [self.key,path].join(':'),
31
31
  File.basename(path),
32
- info['size'],
32
+ info['bytes'],
33
33
  Time.parse(info['modified']),
34
34
  info['is_dir']
35
35
  )
@@ -1,3 +1,3 @@
1
1
  module BrowseEverything
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -58,7 +58,7 @@ describe BrowseEverything::Driver::DropBox, vcr: { cassette_name: 'dropbox', rec
58
58
  context "[4]" do
59
59
  subject { contents[4] }
60
60
  its(:name) { should == 'iPad intro.pdf' }
61
- its(:size) { should == '203.3 KB' }
61
+ its(:size) { should == 208218 }
62
62
  its(:location) { should == "drop_box:/iPad intro.pdf" }
63
63
  its(:type) { should == "application/pdf" }
64
64
  specify { should_not be_container }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browse-everything
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carolyn Cole
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-02-27 00:00:00.000000000 Z
16
+ date: 2015-03-03 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails