osvc_ruby 1.5.0 → 1.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d2dde18116ee0e44faf48cdfe7041bad8e669b46e83b1c658fc62e72be1a2ce
4
- data.tar.gz: 5e9daa36177f864e7613b16195b8bf30fdb472955adafc4b4186e330c1b16586
3
+ metadata.gz: 6f6f2d38c8a4dd91a9f308194670818c22eed2914ce9c3a42e2cf4efc968c07b
4
+ data.tar.gz: da404b232b491dba1873a8a80b708a1da0065f7226bea72fe0dd96102babefd5
5
5
  SHA512:
6
- metadata.gz: 1e5d3b883a3c85e70583e4201a37e38837be1178260b17035705cf28ab7d8a685489cd56f56153d7a63f5228bb5220c22e16d8e34de856b12e4414ccd99d27b4
7
- data.tar.gz: 60cf449065b6753bc578523ccc5b49dfbe187d31a5e60b78326646d459891ddc886d16852617e54a00fc0524a4b9ced49cad2e2b146607f28effe44d6049e1a9
6
+ metadata.gz: b5b5d21113ce8b86f594f2e32fe3c3536c6163f65b17172831f70c4c2236fd423bb41fa3a10604ce43a484b1b92fa4eadca382b1cac28bf2affd5f8426bf2915
7
+ data.tar.gz: c4c8d0e6606918248420cc451c2ca3c3c80bf07e836fc8e667f0394bb9bcf38472167aaca2f4ba729d03dad9348f151bd881c0737706de84d26ff645c43f7238
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osvc_ruby (1.4.2)
4
+ osvc_ruby (1.6.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OSvCRuby
2
2
 
3
- [![Code Climate](https://codeclimate.com/github/rajangdavis/osvc_ruby/badges/gpa.svg)](https://codeclimate.com/github/rajangdavis/osvc_ruby) [![Test Coverage](https://api.codeclimate.com/v1/badges/671008ff5a949cc9198c/test_coverage)](https://codeclimate.com/github/rajangdavis/osvc_ruby/test_coverage) [![Build Status](https://travis-ci.org/rajangdavis/osvc_ruby.svg?branch=master)](https://travis-ci.org/rajangdavis/osvc_ruby) [![Gem Version](https://badge.fury.io/rb/osvc_ruby.svg)](https://badge.fury.io/rb/osvc_ruby) [![Known Vulnerabilities](https://snyk.io/test/github/rajangdavis/osvc_ruby/badge.svg)](https://snyk.io/test/github/rajangdavis/osvc_ruby)
3
+ [![Code Climate](https://codeclimate.com/github/rajangdavis/osvc_ruby/badges/gpa.svg)](https://codeclimate.com/github/rajangdavis/osvc_ruby) [![Test Coverage](https://api.codeclimate.com/v1/badges/202d9d688d31e18fcee2/test_coverage)](https://codeclimate.com/github/rajangdavis/osvc_ruby/test_coverage) [![Build Status](https://travis-ci.org/rajangdavis/osvc_ruby.svg?branch=master)](https://travis-ci.org/rajangdavis/osvc_ruby) [![Gem Version](https://badge.fury.io/rb/osvc_ruby.svg)](https://badge.fury.io/rb/osvc_ruby) [![Known Vulnerabilities](https://snyk.io/test/github/rajangdavis/osvc_ruby/badge.svg)](https://snyk.io/test/github/rajangdavis/osvc_ruby)
4
4
 
5
5
  An (under development) Ruby library for using the [Oracle Service Cloud REST API](https://docs.oracle.com/cloud/latest/servicecs_gs/CXSVC/) influenced by the [ConnectPHP API](http://documentation.custhelp.com/euf/assets/devdocs/november2016/Connect_PHP/Default.htm) and ActiveRecord Gem
6
6
 
@@ -12,6 +12,22 @@ You will also need to install DevKit Tools which are located underneath the Ruby
12
12
  If you are using Windows 10, you can use your Linux Subsystem to work with Ruby; [here's instructions for how to do that.](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-and-set-up-a-local-programming-environment-on-windows-10)
13
13
 
14
14
  If you get SSL Errors (you probably will), follow [this link for instructions on resolving SSL things that I know nothing about](https://stackoverflow.com/a/16134586/2548452).
15
+
16
+ ## Installation
17
+
18
+ Add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'osvc_ruby'
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install osvc_ruby
15
31
 
16
32
  ## Compatibility
17
33
 
@@ -28,36 +44,16 @@ You can use this Ruby Library for basic scripting and microservices. The main fe
28
44
  1. [Simple configuration](#client-configuration)
29
45
  2. Running ROQL queries [either 1 at a time](#oscrubyqueryresults-example) or [multiple queries in a set](#oscrubyqueryresultsset-example)
30
46
  3. [Running Reports with filters](#oscrubyanalyticsreportsresults)
31
- 4. Convenience methods for Analytics filters and setting dates
47
+ <!-- 4. Convenience methods for Analytics filters and setting dates
32
48
  1. ['arrf', an analytics report results filter](#arrf--analytics-report-results-filter)
33
- 2. ['dti', converts a date string to ISO8601 format](#dti--date-to-iso8601)
34
- 5. Basic CRUD Operations via HTTP Methods
49
+ 2. ['dti', converts a date string to ISO8601 format](#dti--date-to-iso8601) -->
50
+ 4. Basic CRUD Operations via HTTP Methods
35
51
  1. [Create => Post](#create)
36
52
  2. [Read => Get](#read)
37
53
  3. [Update => Patch](#update)
38
54
  4. [Destroy => Delete](#delete)
39
55
 
40
56
 
41
- ## Installation
42
-
43
- Add this line to your application's Gemfile:
44
-
45
- ```ruby
46
- gem 'osvc_ruby'
47
- ```
48
-
49
- And then execute:
50
-
51
- $ bundle
52
-
53
- Or install it yourself as:
54
-
55
- $ gem install osvc_ruby
56
-
57
-
58
-
59
-
60
-
61
57
 
62
58
  ## Client Configuration
63
59
 
@@ -335,7 +331,7 @@ puts last_updated.run(rn_client)
335
331
 
336
332
 
337
333
 
338
- ## Convenience Methods
334
+ <!-- ## Convenience Methods
339
335
 
340
336
  ### 'arrf' => analytics report results filter
341
337
 
@@ -399,11 +395,11 @@ end
399
395
  # ... and so on and so forth
400
396
  ```
401
397
 
398
+ -->
402
399
 
403
400
 
404
401
 
405
-
406
-
402
+ <!--
407
403
 
408
404
  ### 'dti' => date to iso8601
409
405
 
@@ -441,7 +437,7 @@ dti("11:59PM January 1st, 2014 GMT") #=> 2017-08-01T23:59:00-07:00 #=> 11:59 PM,
441
437
  ```
442
438
 
443
439
 
444
-
440
+ -->
445
441
 
446
442
 
447
443
 
@@ -491,7 +487,6 @@ puts res.body # => JSON body
491
487
 
492
488
 
493
489
 
494
-
495
490
  ### READ
496
491
  ```ruby
497
492
  #### OSvCRuby::Connect.get( <client>, optional (<url>/<id>/...<params>) )
data/lib/osvc_ruby.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'convenience_methods'
1
+ # require 'convenience_methods'
2
2
 
3
3
  module OSvCRuby;end
4
4
 
@@ -1,3 +1,3 @@
1
1
  module OSvCRuby
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
3
3
  end
@@ -68,7 +68,8 @@ describe OSvCRuby::AnalyticsReportResults do
68
68
  end
69
69
 
70
70
  it 'should be able to take filters', :vcr do
71
- keywords = arrf(name: "search_ex", values: "Maestro")
71
+ # keywords = arrf(name: "search_ex", values: "Maestro")
72
+ keywords = {name: "search_ex", values: "Maestro"}
72
73
  answers_search.filters << keywords
73
74
 
74
75
  answers = answers_search.run(client)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osvc_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajan Davis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-02 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov