pocus 0.6.0 → 0.6.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -69
  3. data/lib/pocus/identity.rb +1 -1
  4. metadata +2 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 396f44e8108918dbdec0f510bbe0b2894ba5d8cc62268f34b57363309a813251
4
- data.tar.gz: 39b3cb2e348a710e8e79f1af63c4bd90d49294d18eea68b4cb65f7be02e7c84c
3
+ metadata.gz: dd0d631d3b8cf6ef526d738b4d4072a6bb9828fe9752d08df511cd0643278d7d
4
+ data.tar.gz: 31e2a7de81869a442640f053057dad727052004fb2e2d61f24b085ae73161a4c
5
5
  SHA512:
6
- metadata.gz: a2fa1b4eaf89b87dd0a2bbd624995130ba6e1fecc53b77d0729cff1be9c6542eaa3dc914a22dbec6c48463f84383dcd495ea3c95ce3835d150881c9244a6f9b3
7
- data.tar.gz: fc7ec2c5366911c437da9332dbd59ced73ae71a55872b54cc64673db7ced1c91ae526734e540db64bdf791871a1e400e4285a130d98fac55b396a79436b3049a
6
+ metadata.gz: c22999094d8d036434a0b03ed2505e9a1a9fc2eb8b17aec0d8dd81320658518e3ce978079bd40df187b9da5ddd0aef8d7e68b8a49c3f9cf92cd8a2c7f9525200
7
+ data.tar.gz: 7d113e2c3d7e511de3086a7c167a6e8d702d01af4d193a505547c5beae9b34df128c6a1a1b9a0eeada70729846709722ec572473afad9d3a339752ebd4de27dc
data/README.md CHANGED
@@ -2,54 +2,23 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/pocus.svg)](http://badge.fury.io/rb/pocus)
4
4
  [![Code Climate GPA](https://codeclimate.com/github/varyonic/pocus.svg)](https://codeclimate.com/github/varyonic/pocus)
5
- [![Code Climate Coverage](https://codeclimate.com/github/varyonic/pocus/coverage.svg)](https://codeclimate.com/github/varyonic/pocus)
6
5
  [![Travis CI Status](https://secure.travis-ci.org/varyonic/pocus.svg)](https://travis-ci.org/varyonic/pocus)
7
6
 
8
- Unofficial Ruby API client for [iContact API](See https://www.icontact.com/developerportal) (f.k.a. Vocus), inspired by Active Resource.
7
+ Unofficial Ruby API client for [iContact API](https://www.icontact.com/developerportal) (f.k.a. Vocus), inspired by Active Resource.
9
8
 
10
- <!-- Tocer[start]: Auto-generated, don't remove. -->
9
+ ## Installation
11
10
 
12
- # Table of Contents
11
+ Add to your application's Gemfile:
13
12
 
14
- - [Features](#features)
15
- - [Requirements](#requirements)
16
- - [Setup](#setup)
17
- - [Usage](#usage)
18
- - [Tests](#tests)
19
- - [Versioning](#versioning)
20
- - [Code of Conduct](#code-of-conduct)
21
- - [Contributions](#contributions)
22
- - [License](#license)
23
- - [History](#history)
24
- - [Credits](#credits)
25
-
26
- <!-- Tocer[finish]: Auto-generated, don't remove. -->
27
-
28
- # Features
29
-
30
- # Requirements
31
-
32
- 0. [MRI 2.3.0](https://www.ruby-lang.org)
33
-
34
- # Setup
35
-
36
- For a secure install, type the following (recommended):
37
-
38
- gem cert --add <(curl --location --silent https://www.varyonic.com/gem-public.pem)
39
- gem install pocus --trust-policy MediumSecurity
40
-
41
- NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
42
- allowing the installation of unsigned dependencies since they are beyond the scope of this gem.
43
-
44
- For an insecure install, type the following (not recommended):
45
-
46
- gem install pocus
13
+ ```ruby
14
+ gem 'pocus'
15
+ ```
47
16
 
48
- Add the following to your Gemfile:
17
+ And then execute:
49
18
 
50
- gem "pocus"
19
+ $ bundle
51
20
 
52
- # Usage
21
+ ## Usage
53
22
 
54
23
  Example:
55
24
 
@@ -61,48 +30,33 @@ Example:
61
30
  folder.contacts.create(contacts_data)
62
31
  ```
63
32
 
64
- # Tests
33
+ ## Tests
65
34
 
66
- To run the tests you will need your own iContact account with a test folder. Populate ~/.pocus/fixtures.yml as follows:
35
+ To run the tests you will need your own iContact account with a test folder. Set the following environment variables:
67
36
 
68
37
  ```
69
- credentials:
70
- app_id: ...
71
- username: ...
72
- password: ...
73
- account_id: ...
74
- test_client_folder_id: ...
38
+ POCUS_APP_ID=0b34...b478c
39
+ POCUS_USERNAME=vocus_api_sandbox@....com
40
+ POCUS_PASSWORD=...
41
+ POCUS_TEST_ACCOUNT=99...99
42
+ POCUS_TEST_CLIENT_FOLDER=9...9
75
43
  ```
76
44
  To test, run:
77
45
 
78
46
  bundle exec rake
79
47
 
80
- # Versioning
81
-
82
- Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
83
-
84
- - Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
85
- - Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
86
- - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
87
-
88
- # Code of Conduct
89
-
90
- Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By participating in this project
91
- you agree to abide by its terms.
92
-
93
- # Contributions
48
+ ## Contributions
94
49
 
95
50
  Read [CONTRIBUTING](CONTRIBUTING.md) for details.
96
51
 
97
- # License
52
+ ## History
98
53
 
99
- Copyright (c) 2016 [Varyonic](https://www.varyonic.com).
100
- Read the [LICENSE](LICENSE.md) for details.
54
+ Read the [CHANGELOG](CHANGELOG.md) for details.
101
55
 
102
- # History
56
+ ## License
103
57
 
104
- Read the [CHANGELOG](CHANGELOG.md) for details.
58
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
105
59
 
106
- # Credits
60
+ Read the [LICENSE](LICENSE.md) for details.
107
61
 
108
- Developed by [Piers Chambers](http://varyonic.github.io/) at [Varyonic](https://www.varyonic.com).
62
+ Copyright (c) 2016-2019 [Varyonic](https://www.varyonic.com).
@@ -12,7 +12,7 @@ module Pocus
12
12
  end
13
13
 
14
14
  def self.version
15
- '0.6.0'
15
+ '0.6.1'
16
16
  end
17
17
 
18
18
  def self.version_label
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pocus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Chambers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-17 00:00:00.000000000 Z
11
+ date: 2019-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.12'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.12'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +80,6 @@ dependencies:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
82
  version: '3.4'
97
- - !ruby/object:Gem::Dependency
98
- name: codeclimate-test-reporter
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
83
  description: Unofficial Ruby client for iContact API
112
84
  email:
113
85
  - piers@varyonic.com