boxview.rb 0.0.9 → 0.1.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
  SHA1:
3
- metadata.gz: b44aa6beac971dcb737e5768add6befed15c954b
4
- data.tar.gz: 633b1da4ac6018885ae47560953cca745dd731e4
3
+ metadata.gz: 1d845c65554db2e2bf7355eafc28d16a62ffa3a0
4
+ data.tar.gz: 6d3eedbd0d915a87349f36c8cd0aa012ac5c8d75
5
5
  SHA512:
6
- metadata.gz: 39007b6bc039d226e1949cecd361c45241db863ae775318c4adf3018a4d1b92436cff4104d6763bb36c92310ceda4274346864ce966adcd680c36a63f9310352
7
- data.tar.gz: fcc92cca72d8a7e916e10d217b5b904e4560c15d7d70ebd25b6634ba5dc10a73b46a4d98c9d297e87a6b87bd811f9a19c95cba6c547d086e424e37e5332a21fd
6
+ metadata.gz: 380c652fad3dc3a968d49ca8f16c947c06dc1d2a0a60f4c27bde54bc8c249a36de1e2e1f4350af5c0e1cf238372a2d0adbb24bc548b478debd8ae127352fbf54
7
+ data.tar.gz: 7bea7d89f29f0eff35f10dbf958e258e221be910feb6e5ca315ec2dd3af0eb6c8a592907bb42ca3d428ad1c89ea3f22878008b79100a5db0ffb5d724d0f8460a
data/.travis.yml CHANGED
@@ -2,7 +2,7 @@ language: ruby
2
2
  env:
3
3
  global:
4
4
  # BoxView API Key
5
- secure: "G+bXUR1HcHzq6YoJwX34jh2LYCuIr/6N7nm2jQxfcUTo9LHpO+8xrCLWPGMiEPp1DOIHYbxL5Me6IJHZeQh2Z4Oh0EtyCN+3knXmEb6OZkR1UGKCi6MhROFn/TSqm768JchDGfVo8Z5FhVKzrGPgVmJTKqv7VqGT0coJ8emAyy8="
5
+ secure: "cOxF+9whdZHoCAxOPX0xiM7X312pRNoMaxHLDsBPaVLnk2kVKEURvJCoLqwhgsh9PVwa8wAXUk/cwUVN43isM3CdoMM4+5bZg18X/kQGM8zltKJCr/AONaBKV8gadVvmwdAsvzrQ/Mj4Qyb7AGJfNKjGPOZL8A0Pl1NypYz06lI="
6
6
  rvm:
7
7
  - 2.0.0
8
8
  - 2.1.0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # boxviewrb
1
+ # boxview.rb
2
2
 
3
- [![Build Status](https://magnum.travis-ci.com/getlua/boxviewrb.svg?token=Huix46oxRzp8K3EvAxpb&branch=master)](https://magnum.travis-ci.com/getlua/boxviewrb)
3
+ [![Build Status](https://travis-ci.org/getlua/boxviewrb.svg)](https://travis-ci.org/getlua/boxviewrb)
4
4
 
5
5
  A BoxView API wrapper. Built using the power of HTTParty to communicate with the BoxView API. The BoxView API has added some new features and improved documentation, this lib takes care of all of those new additions for you. You can learn more at the [developer page](http://developers.box.com/view/). Note this product and API are still in beta, and likely to change in the future. Boxviewrb works with all available requests that are documented by BoxView at the time of writing.
6
6
 
@@ -35,7 +35,7 @@ A BoxView API wrapper. Built using the power of HTTParty to communicate with the
35
35
 
36
36
  Add this line to your application's Gemfile:
37
37
 
38
- gem 'boxviewrb'
38
+ gem 'boxview.rb'
39
39
 
40
40
  And then execute:
41
41
 
@@ -43,7 +43,7 @@ And then execute:
43
43
 
44
44
  Or install it yourself as:
45
45
 
46
- $ gem install boxviewrb
46
+ $ gem install boxview.rb
47
47
 
48
48
  <a name="usage"/>
49
49
  ## Usage
data/boxview.rb.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ["vinnymac@gmail.com"]
12
12
  spec.summary = "Wrapper for the BoxView API"
13
13
  spec.description = "Box View converts PDF and Office documents to HTML thus enabling these files to be easily embedded into web and mobile applications."
14
- spec.homepage = "http://developers.box.com/view/"
14
+ spec.homepage = "https://github.com/getlua/boxviewrb"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0")
@@ -68,7 +68,7 @@ module BoxView
68
68
  # => Defaults to using a generated session_id.
69
69
  def viewer_url(session_id = nil)
70
70
  unless session_id then session_id = BoxView.session_id end
71
- "#{session_path}/#{session_id}/view?theme=light"
71
+ "#{BoxView.base_uri}#{session_path}/#{session_id}/view?theme=light"
72
72
  end
73
73
 
74
74
  # Description:
@@ -80,7 +80,7 @@ module BoxView
80
80
  # => Defaults to using a generated session_id.
81
81
  def viewerjs_url(session_id = nil)
82
82
  unless session_id then session_id = BoxView.session_id end
83
- "#{session_path}/#{session_id}/assets"
83
+ "#{BoxView.base_uri}#{session_path}/#{session_id}/assets"
84
84
  end
85
85
 
86
86
  # Description:
@@ -1,3 +1,3 @@
1
1
  module BoxView
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxview.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Taverna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-11 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httmultiparty
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.3.14
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.3.14
69
69
  description: Box View converts PDF and Office documents to HTML thus enabling these
@@ -74,10 +74,10 @@ executables: []
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
- - .gitignore
78
- - .ruby-gemset
79
- - .ruby-version
80
- - .travis.yml
77
+ - ".gitignore"
78
+ - ".ruby-gemset"
79
+ - ".ruby-version"
80
+ - ".travis.yml"
81
81
  - Gemfile
82
82
  - LICENSE.txt
83
83
  - README.md
@@ -94,7 +94,7 @@ files:
94
94
  - spec/lib/boxview/version_spec.rb
95
95
  - spec/lib/boxview_spec.rb
96
96
  - spec/spec_helper.rb
97
- homepage: http://developers.box.com/view/
97
+ homepage: https://github.com/getlua/boxviewrb
98
98
  licenses:
99
99
  - MIT
100
100
  metadata: {}
@@ -104,12 +104,12 @@ require_paths:
104
104
  - lib
105
105
  required_ruby_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - '>='
112
+ - - ">="
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []