boxr 0.0.3 → 0.1.0

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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Burnette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-22 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -165,8 +165,10 @@ files:
165
165
  - Rakefile
166
166
  - boxr.gemspec
167
167
  - examples/enterprise_events.rb
168
+ - examples/oauth.rb
168
169
  - examples/user_events.rb
169
170
  - lib/boxr.rb
171
+ - lib/boxr/auth.rb
170
172
  - lib/boxr/client.rb
171
173
  - lib/boxr/collaborations.rb
172
174
  - lib/boxr/comments.rb
@@ -181,7 +183,6 @@ files:
181
183
  - lib/boxr/tasks.rb
182
184
  - lib/boxr/users.rb
183
185
  - lib/boxr/version.rb
184
- - lib/tasks/oauth.rake
185
186
  - spec/boxr_spec.rb
186
187
  - spec/spec_helper.rb
187
188
  - spec/test_files/test file.txt
@@ -205,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
206
  version: '0'
206
207
  requirements: []
207
208
  rubyforge_project:
208
- rubygems_version: 2.4.1
209
+ rubygems_version: 2.4.5
209
210
  signing_key:
210
211
  specification_version: 4
211
212
  summary: A Ruby client library for the Box V2 Content API that covers 100% of the
@@ -1,22 +0,0 @@
1
- require 'dotenv/tasks'
2
- require 'boxr'
3
-
4
- #to call this from bash, etc. use: rake oauth:get_tokens[YOUR_CLIENT_ID, YOUR CLIENT_SECRET]
5
-
6
- #however, if you use zsh you must call as such: rake 'oauth:get_tokens[YOUR_CLIENT_ID, YOUR CLIENT_SECRET]'
7
- #the single quotes are important for zsh!
8
-
9
-
10
- namespace :oauth do
11
- desc "some stuff"
12
- task :get_tokens, [:client_id, :client_secret] => :environment do |task, args|
13
- puts args.client_id, args.client_secret
14
-
15
- # print "Whoa! Pushing to production. Type 'pushitrealgood' to continue: "
16
- # if STDIN.gets.chomp == 'pushitrealgood'
17
- # system "heroku pgbackups:capture -e -a zenph-production" or abort "aborted backing up production database"
18
- # else
19
- # abort 'task aborted'
20
- # end
21
- end
22
- end