infopark_crm_connector 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/infopark/crm_connector.png?branch=master)](https://travis-ci.org/infopark/crm_connector)
4
4
 
5
- Infopark WebCRM Connector is the official Ruby SDK for [Infopark WebCRM](http://www.infopark.de/webcrm). It basically wraps the [WebCRM web services API](http://kb.infopark.de/crm-api) using [Active Resource](http://rubydoc.info/gems/activeresource/). Currently, Active Resource 3.1 and 3.2 in combination with Ruby 1.8.7, 1.9.x and 2.0.0 are tested and supported.
5
+ Infopark WebCRM Connector is the official Ruby SDK for [Infopark WebCRM](http://www.infopark.de/webcrm). It basically wraps the [WebCRM web services API](http://kb.infopark.de/crm-api) using [Active Resource](http://rubydoc.info/gems/activeresource/). Currently, Active Resource 3.1, 3.2 and 4.0 in combination with Ruby 1.9.x and 2.0.0 are tested and supported.
6
6
 
7
7
  # Installation
8
8
 
@@ -102,6 +102,10 @@ Run tests with all supported versions of Active Resource:
102
102
 
103
103
  # Changelog
104
104
 
105
+ ## Version 1.2.0 - 2014-03-26
106
+ * Added support for ActiveResource 4.0.
107
+ * Remove support for Ruby 1.8.
108
+
105
109
  ## Version 1.1.0 - 2013-10-21
106
110
  * Remove support for ActiveResource 3.0.
107
111
  * Added `Attachment.upload_permission`, `Attachment.download_url` and the activity comment property `attachments`. See [API documentation](https://dev.infopark.net/26635f6d056215c9/attachments)
@@ -1,5 +1,3 @@
1
- require 'backports'
2
-
3
1
  module Infopark; module Crm; module Core
4
2
  # Transparent wrapper for the web services continuation ability
5
3
  class Enumerator < Enumerator
@@ -24,13 +22,13 @@ module Infopark; module Crm; module Core
24
22
  # The size of the array is less than or equal to the +limit+ parameter value.
25
23
  # @return [Array]
26
24
  def within_limit
27
- @collection
25
+ @collection.to_a
28
26
  end
29
27
 
30
28
  ##
31
29
  # @!method size
32
30
  # The total count given by the last search response, if available.
33
- # If not available this method is undefiend.
31
+ # If not available this method is undefined.
34
32
  # @return [Integer] The total count given by the last search response, if available.
35
33
  ##
36
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_crm_connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,32 +9,16 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-21 00:00:00.000000000 Z
12
+ date: 2014-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.1'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '3.1'
30
- - !ruby/object:Gem::Dependency
31
- name: backports
32
16
  requirement: !ruby/object:Gem::Requirement
33
17
  none: false
34
18
  requirements:
35
19
  - - ! '>='
36
20
  - !ruby/object:Gem::Version
37
- version: '2.3'
21
+ version: '3.1'
38
22
  type: :runtime
39
23
  prerelease: false
40
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +26,7 @@ dependencies:
42
26
  requirements:
43
27
  - - ! '>='
44
28
  - !ruby/object:Gem::Version
45
- version: '2.3'
29
+ version: '3.1'
46
30
  description: Infopark CRM Connector
47
31
  email: info@infopark.de
48
32
  executables: []
@@ -89,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
73
  version: '0'
90
74
  segments:
91
75
  - 0
92
- hash: -4081557291616134614
76
+ hash: 2496833984645626498
93
77
  required_rubygems_version: !ruby/object:Gem::Requirement
94
78
  none: false
95
79
  requirements: