boxview 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/boxview.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fc38f98a5ff5bdad3c0621d42e59324b9d06aa8
4
- data.tar.gz: b7dda21ac7d36e68b42468dfa9b74f2a8f16bd31
3
+ metadata.gz: a5d87395aaf15e0e8739069237ada6d41440ebe3
4
+ data.tar.gz: 768080769cd13b9eac6f658e1483d8f657fd452f
5
5
  SHA512:
6
- metadata.gz: d570a5d874fec8e34627ff31a935d46e41fbccceaf5aa69ab9ede6e1f4b896fa8974bf33d172329567b1022e9bebf510ddb1ef59a248010c6254dc6a38956e2d
7
- data.tar.gz: 12be1c1bcd72d6b288a7e00a05ae167de6d982f569b5197eedafb4d444d293b2804c2f8e80e52c6c913f0a79214ee4758b84a4f44158f05231ac8cc87a380dbb
6
+ metadata.gz: eefdbcdf0408b5ba79a4a22756a4fe6573c5072cb3c96c5e400dd4f7fd08c423d1d8a52eff7590c2480ad985631234e4cf23a6c492d03c1eb845c551a9034b94
7
+ data.tar.gz: dff6d17f37a99727ecd2ef6e092ff2d254a5d28ff4ec7258d8bba8f9fe17dcfafd8b2ea2aec229ecc1f49900fa25cc73023c5d3986d54873bc46633e43dd4d34
data/lib/boxview.rb CHANGED
@@ -27,7 +27,7 @@ module BoxView
27
27
  BoxView.connection.post do |request|
28
28
  request.url "documents"
29
29
  attributes = { "url" => attributes[:url], "thumbnails" => attributes[:thumbnails] }
30
- request.body = '{"url": "' + url + '"}'
30
+ request.body = attributes.to_json
31
31
  end
32
32
  end
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyrus Karbassiyoon