zendesk/zendesk_api_client_rb

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
# v1.17.0

dropped support for Ruby 1.9.x, 2.0.x, 2.1.x and 2.2.x, all of which are EOL

# v1.16.0

log response body for 4xx errors (https://github.com/zendesk/zendesk_api_client_rb/pull/354)

# v1.15.0

support batch update resources (https://github.com/zendesk/zendesk_api_client_rb/pull/344)

# v1.14.4

document hashie dependency

# v1.14.3

silence logging spam (https://github.com/zendesk/zendesk_api_client_rb/pull/327)

# v1.14.2

make error also work without an response

silence rubocop and show which offense was triggered

make extra output obvious by using default formatter

silence invalid file warning

silence logger

silence mashie

```
You are setting a key that conflicts with a built-in method Hashie::Mash#class defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.
```

# v1.14.1

avoid double builds

show what exactly went wrong

Remove dependency on scrub_rb

For people using Ruby 2.1 or newer, this gem is dead weight. Let's just document
that if you use an old version of Ruby, you need to install a gem that
implements `scrub!` for you.

Fix addressable on older Rubies

# v1.14.0

added live spec

json v > 2.0 fails to install for ruby 1.9

Moved dev dependencies to Gemfile

added OrganizationSubscription

Support for unified Integer class in Ruby 2.4+

Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005

Enable a few more cops

Configure and enable a few indentation cops

Enable a few style cops

Enable RuboCop check after running specs

Remove version constraint on mime-types

Clients using Ruby < 2.0 should themselves set a version restriction so they
don't install mime-types >= v3.0.

Lock webmock version to get green build

# v1.13.4

fix some rubocop warnings

fix deprecation warning on ruby 2.3.0

# v1.13.3

Add agent Set Group Membership as Default

https://developer.zendesk.com/rest_api/docs/core/group_memberships#set-m
embership-as-default

# v1.13.2

fix method_as_class to handle non alphanumeric

remove extra line

gemspec cleanup

Don't need to send spec/ files along. Saves ~120kb.

remove ruby 1.8 from the gemfile

lock mime-types for ruby 1.9

mime-types 3.0 only supports ruby 2.0

only show bang! methods in README

DELETEs return 204s now

# v1.13.1

add a gzip middleware exception for httpclient

# v1.12.1

add user *_many endpoints

fix doc gitignores

add some more documentation

fix namespace walking in yardoc plugin [ci skip]

fix markdown generation [ci skip]

update class documentation link

fix documentation [ci skip]

# v1.12.0

restoring gemspec to the previous required ruby version

Sanitizing body responses to deal with bad characters.

# v1.11.7

Revert "always upload files as inline"

This reverts commit cc97c3733e47f524595b9dc35068218e7a410acd.

# v1.11.6

# v1.11.5

make user tags a proper association

# v1.11.4

add CreateMany and DestroyMany to Ticket

# v1.11.3

small spacing fix

# v1.11.2

always upload files as inline

Update pull request #254
Add .bundle/ to .gitignore
Rename Ticket::display to Ticket::display!

# v1.11.1

Get RecordInvalid message from description in absence of details

# v1.11.0

Add agent resource and ticket-display feature

Implement update_many!

fix documentation for incremental export

issue #250

# v1.10.0

Change User-Agent to be Ruby specific

fix apps installation spec

remove multi_json

update sample app for 1.0

change live spec for recent tickets

no longer extending Read, just include

don't save existing comment associations

silence rspec warnings

# v1.9.6

make Voice::Ticket a CreateResource

Add zendesk voice ticket resource #245

# v1.9.5

destroy_many uses a comma separated list of ids

# v1.9.4

organization memberships are not updatable

Adds Organization Membership resource

# v1.9.3

Actually use the client

# v1.9.2

fix destroy_many! and create_many! on collections

# v1.9.1

Allow bulk actions on collections

# v1.9.0

Introduce reload!

Refactored initializer

return JobStatus

Bulk actions!

# v1.8.0

update README

add tests

consider all 3XX and 1XX responses invalid except for 304

AppNotification#handle_response: only call @attributes#replace if response is a hash