action_kit_rest 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.ruby-version +1 -1
- data/.travis.yml +1 -1
- data/Gemfile +2 -3
- data/Gemfile.lock +78 -84
- data/README.md +53 -1
- data/Rakefile +8 -8
- data/VERSION +1 -1
- data/action_kit_rest.gemspec +65 -53
- data/lib/action_kit_rest.rb +10 -0
- data/lib/action_kit_rest/actions/event_create_action.rb +9 -0
- data/lib/action_kit_rest/actions/event_signup_action.rb +9 -0
- data/lib/action_kit_rest/actions/unsubscribe_action.rb +9 -0
- data/lib/action_kit_rest/api.rb +3 -4
- data/lib/action_kit_rest/client.rb +16 -21
- data/lib/action_kit_rest/event.rb +12 -0
- data/lib/action_kit_rest/event_signup.rb +7 -0
- data/lib/action_kit_rest/language.rb +12 -0
- data/lib/action_kit_rest/pages/donation_page.rb +9 -0
- data/lib/action_kit_rest/pages/event_campaign_page.rb +54 -0
- data/lib/action_kit_rest/pages/unsubscribe_page.rb +9 -0
- data/lib/action_kit_rest/phone.rb +7 -0
- data/lib/action_kit_rest/response/raise_error.rb +15 -2
- data/lib/action_kit_rest/user.rb +13 -0
- data/lib/action_kit_rest/version.rb +3 -3
- data/spec/fixtures/page/campaign.json +32 -0
- data/spec/fixtures/phone/object.json +33 -0
- data/spec/fixtures/user/{object.json → object_with_phones.json} +0 -0
- data/spec/fixtures/user/object_without_phones.json +1 -0
- data/spec/{action_kit_rest → lib/action_kit_rest}/logger_spec.rb +0 -0
- data/spec/{action_kit_rest → lib/action_kit_rest}/page_spec.rb +10 -2
- data/spec/lib/action_kit_rest/pages/event_campaign_page_spec.rb +48 -0
- data/spec/{action_kit_rest/pages/input_page_spec.rb → lib/action_kit_rest/pages/import_page_spec.rb} +6 -12
- data/spec/{action_kit_rest → lib/action_kit_rest}/response/collection_spec.rb +0 -0
- data/spec/{action_kit_rest → lib/action_kit_rest}/response/wrapper_spec.rb +0 -0
- data/spec/{action_kit_rest → lib/action_kit_rest}/user_spec.rb +17 -3
- data/spec/support/shared_contexts/stub_logger.rb +9 -0
- metadata +57 -54
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NDU2ODZmMGMyOGI2NWIwZTYxMjM1YmQwZTE2ODNmNGVhMjNkZTViZA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 50a2ea00d018df46495e68e40ec1ae83b2da79a4
|
4
|
+
data.tar.gz: 2674d3dd62e28eb574d6f2622a17b221a7e3fb01
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MTJhOTg5ZDFkYTFkNTZmNDJkY2ExZjBkNjgyYTI2NzYyMGNiNjQ3Yjc4M2I0
|
11
|
-
MDhiNmEzNWM4NTQ1ZDQ1YTE4ODU2YWY2ODhiZjNmMTczOTRkMTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTJkZWNmYWJhMDY3ZmE2NmYyMzNkYTRkODE1Y2I0ZTQ4NGY4OGI2Y2UwYWNm
|
14
|
-
OGE5MDdkYjY2MDMzNTQ1NDlmODAyZjQ2M2FmZTI2NTcyMTgyZWUwMjEyY2Jk
|
15
|
-
MTkxZmQwNTVmMTc1MTY2OTk2NjA5Njc4ZDhmNGJhYzQ0MmE1Mjk=
|
6
|
+
metadata.gz: d9d1ea9bbf740f3a1263c195c7d08a6b6cc5c8af95da0c5bb4505d3b2e810084bf6a65ba08c43121399c8da11c0d4c4c2773d34a5f342962a835f12d6d477782
|
7
|
+
data.tar.gz: 87c4c06d543a54818d8d13dd458f02761ca6c440ffd90296a292a1d7310819a301b97e9068be269151b1fd216d299e9ccf4300ada134d4561a6a820bb1a2b100
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.3.4
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -4,12 +4,11 @@ gem 'vertebrae'
|
|
4
4
|
group :development do
|
5
5
|
gem "rspec"
|
6
6
|
gem 'webmock'
|
7
|
-
gem '
|
8
|
-
gem 'pry-debugger'
|
7
|
+
gem 'byebug'
|
9
8
|
gem "bundler"
|
10
9
|
gem 'eventmachine'
|
11
10
|
gem 'em-synchrony'
|
12
11
|
gem 'em-http-request'
|
13
|
-
gem "
|
12
|
+
gem "juwelier"
|
14
13
|
end
|
15
14
|
|
data/Gemfile.lock
CHANGED
@@ -1,129 +1,123 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
5
|
-
|
6
|
-
|
4
|
+
activesupport (5.1.3)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (~> 0.7)
|
7
7
|
minitest (~> 5.1)
|
8
|
-
thread_safe (~> 0.1)
|
9
8
|
tzinfo (~> 1.1)
|
10
|
-
addressable (2.
|
11
|
-
builder (3.2.
|
12
|
-
|
13
|
-
|
14
|
-
cookiejar (0.3.
|
15
|
-
crack (0.4.
|
9
|
+
addressable (2.4.0)
|
10
|
+
builder (3.2.3)
|
11
|
+
byebug (9.0.6)
|
12
|
+
concurrent-ruby (1.0.5)
|
13
|
+
cookiejar (0.3.3)
|
14
|
+
crack (0.4.3)
|
16
15
|
safe_yaml (~> 1.0.0)
|
17
|
-
debugger (1.6.8)
|
18
|
-
columnize (>= 0.3.1)
|
19
|
-
debugger-linecache (~> 1.2.0)
|
20
|
-
debugger-ruby_core_source (~> 1.3.5)
|
21
|
-
debugger-linecache (1.2.0)
|
22
|
-
debugger-ruby_core_source (1.3.5)
|
23
16
|
descendants_tracker (0.0.4)
|
24
17
|
thread_safe (~> 0.3, >= 0.3.1)
|
25
|
-
diff-lcs (1.
|
26
|
-
em-http-request (1.1.
|
18
|
+
diff-lcs (1.3)
|
19
|
+
em-http-request (1.1.5)
|
27
20
|
addressable (>= 2.3.4)
|
28
|
-
cookiejar
|
21
|
+
cookiejar (!= 0.3.1)
|
29
22
|
em-socksify (>= 0.3)
|
30
23
|
eventmachine (>= 1.0.3)
|
31
24
|
http_parser.rb (>= 0.6.0)
|
32
|
-
em-socksify (0.3.
|
25
|
+
em-socksify (0.3.1)
|
33
26
|
eventmachine (>= 1.0.0.beta.4)
|
34
|
-
em-synchrony (1.0.
|
27
|
+
em-synchrony (1.0.6)
|
35
28
|
eventmachine (>= 1.0.0.beta.1)
|
36
|
-
eventmachine (1.
|
37
|
-
faraday (0.9.
|
29
|
+
eventmachine (1.2.5)
|
30
|
+
faraday (0.9.2)
|
38
31
|
multipart-post (>= 1.2, < 3)
|
39
|
-
faraday_middleware (0.
|
40
|
-
faraday (>= 0.7.4, < 0
|
41
|
-
git (1.
|
42
|
-
github_api (0.
|
43
|
-
addressable (~> 2.
|
32
|
+
faraday_middleware (0.12.2)
|
33
|
+
faraday (>= 0.7.4, < 1.0)
|
34
|
+
git (1.3.0)
|
35
|
+
github_api (0.17.0)
|
36
|
+
addressable (~> 2.4.0)
|
44
37
|
descendants_tracker (~> 0.0.4)
|
45
38
|
faraday (~> 0.8, < 0.10)
|
46
|
-
hashie (>= 3.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
hashie (3.
|
51
|
-
highline (1.
|
39
|
+
hashie (>= 3.4)
|
40
|
+
mime-types (>= 1.16, < 3.0)
|
41
|
+
oauth2 (~> 1.0)
|
42
|
+
hashdiff (0.3.5)
|
43
|
+
hashie (3.5.6)
|
44
|
+
highline (1.7.8)
|
52
45
|
http_parser.rb (0.6.0)
|
53
|
-
i18n (0.6
|
54
|
-
|
46
|
+
i18n (0.8.6)
|
47
|
+
juwelier (2.4.7)
|
55
48
|
builder
|
56
|
-
bundler
|
57
|
-
git
|
49
|
+
bundler
|
50
|
+
git
|
58
51
|
github_api
|
59
|
-
highline
|
60
|
-
|
52
|
+
highline
|
53
|
+
kamelcase (~> 0)
|
54
|
+
nokogiri
|
55
|
+
psych
|
61
56
|
rake
|
62
57
|
rdoc
|
63
|
-
|
64
|
-
jwt (1.
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
58
|
+
semver2
|
59
|
+
jwt (1.5.6)
|
60
|
+
kamelcase (0.0.1)
|
61
|
+
semver2 (~> 3)
|
62
|
+
mime-types (2.99.3)
|
63
|
+
mini_portile2 (2.2.0)
|
64
|
+
minitest (5.10.3)
|
65
|
+
multi_json (1.12.1)
|
66
|
+
multi_xml (0.6.0)
|
70
67
|
multipart-post (2.0.0)
|
71
|
-
nokogiri (1.
|
72
|
-
|
73
|
-
oauth2 (1.
|
74
|
-
faraday (>= 0.8, < 0.
|
68
|
+
nokogiri (1.8.0)
|
69
|
+
mini_portile2 (~> 2.2.0)
|
70
|
+
oauth2 (1.4.0)
|
71
|
+
faraday (>= 0.8, < 0.13)
|
75
72
|
jwt (~> 1.0)
|
76
73
|
multi_json (~> 1.3)
|
77
74
|
multi_xml (~> 0.5)
|
78
|
-
rack (
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
rspec-
|
92
|
-
|
93
|
-
rspec-mocks (~> 3.0.0)
|
94
|
-
rspec-core (3.0.3)
|
95
|
-
rspec-support (~> 3.0.0)
|
96
|
-
rspec-expectations (3.0.3)
|
75
|
+
rack (>= 1.2, < 3)
|
76
|
+
psych (2.2.4)
|
77
|
+
rack (2.0.3)
|
78
|
+
rake (12.0.0)
|
79
|
+
rdoc (5.1.0)
|
80
|
+
rspec (3.6.0)
|
81
|
+
rspec-core (~> 3.6.0)
|
82
|
+
rspec-expectations (~> 3.6.0)
|
83
|
+
rspec-mocks (~> 3.6.0)
|
84
|
+
rspec-core (3.6.0)
|
85
|
+
rspec-support (~> 3.6.0)
|
86
|
+
rspec-expectations (3.6.0)
|
87
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
88
|
+
rspec-support (~> 3.6.0)
|
89
|
+
rspec-mocks (3.6.0)
|
97
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
-
rspec-support (~> 3.
|
99
|
-
rspec-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
thread_safe (0.3.4)
|
105
|
-
tzinfo (1.2.1)
|
91
|
+
rspec-support (~> 3.6.0)
|
92
|
+
rspec-support (3.6.0)
|
93
|
+
safe_yaml (1.0.4)
|
94
|
+
semver2 (3.4.2)
|
95
|
+
thread_safe (0.3.6)
|
96
|
+
tzinfo (1.2.3)
|
106
97
|
thread_safe (~> 0.1)
|
107
|
-
vertebrae (0.
|
98
|
+
vertebrae (0.4.1)
|
108
99
|
activesupport
|
109
|
-
faraday
|
100
|
+
faraday (>= 0.9.2)
|
110
101
|
faraday_middleware
|
111
102
|
hashie
|
112
|
-
webmock (
|
103
|
+
webmock (3.0.1)
|
113
104
|
addressable (>= 2.3.6)
|
114
105
|
crack (>= 0.3.2)
|
106
|
+
hashdiff
|
115
107
|
|
116
108
|
PLATFORMS
|
117
109
|
ruby
|
118
110
|
|
119
111
|
DEPENDENCIES
|
120
112
|
bundler
|
113
|
+
byebug
|
121
114
|
em-http-request
|
122
115
|
em-synchrony
|
123
116
|
eventmachine
|
124
|
-
|
125
|
-
pry
|
126
|
-
pry-debugger
|
117
|
+
juwelier
|
127
118
|
rspec
|
128
119
|
vertebrae
|
129
120
|
webmock
|
121
|
+
|
122
|
+
BUNDLED WITH
|
123
|
+
1.15.1
|
data/README.md
CHANGED
@@ -22,7 +22,59 @@ With eventmachine:
|
|
22
22
|
ak = ActionKitRest.new(host: 'roboticdogs.actionkit.com', username: 'name', password: 'pass', adapter: :em_synchrony)
|
23
23
|
```
|
24
24
|
|
25
|
-
|
25
|
+
### Languages
|
26
|
+
|
27
|
+
Get language by id and inspect it's iso code.
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
language = ak.language.get '1'
|
31
|
+
language.iso_code
|
32
|
+
```
|
33
|
+
|
34
|
+
### Unsubscribe
|
35
|
+
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
# First create a page
|
39
|
+
page = ak.unsubscribe_page.create(title: "Unsubscribe from API", name: "api_unsubscribes")
|
40
|
+
# page is now a page object
|
41
|
+
puts "created page: #{page.id}"
|
42
|
+
|
43
|
+
# create an unsubscribe action on the page we just created.
|
44
|
+
unsub = ak.unsubscribe_action.create(email: 'foo@bar.com', page: 'api_unsubscribes')
|
45
|
+
|
46
|
+
# unsub is now an action object with info about the unsub we just processed.
|
47
|
+
```
|
48
|
+
|
49
|
+
### Event Campaign Page
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
# Can send any of the attributes described at the schema (https://roboticdogs.actionkit.com/rest/v1/campaign/schema/) plus a collection of tag URIs to
|
53
|
+
# apply to the event create and event signup pages
|
54
|
+
event_campaign = ak.event_campaign_page.create(name: 'global-march-2015', title: 'Global March 2015', event_pages_tags: ["/rest/v1/tag/1/", "/rest/v1/tag/99/"])
|
55
|
+
|
56
|
+
# The event_campaign object will include all the fields detailed on the schema plus the ID (as an integer, not as a URI) of the associated pages:
|
57
|
+
# * event_create_page_name
|
58
|
+
# * event_signup_page_name
|
59
|
+
```
|
60
|
+
|
61
|
+
### Event Create Action
|
62
|
+
|
63
|
+
Use this action for retrieving the eventcreateaction details (see the schema at: https://roboticdogs.actionkit.com/rest/v1/eventcreateaction/schema/).
|
64
|
+
**NOTE:** Cannot create actions through this resource, instead POST on /rest/v1/action/ with the page being an eventcreatepage for creating a new action of this type.
|
65
|
+
|
66
|
+
### Event
|
67
|
+
|
68
|
+
Use this object for retrieving and updating an existing event. For creating new events must POST an action on an eventcreatepage.
|
69
|
+
|
70
|
+
### Event Signup Action
|
71
|
+
|
72
|
+
Use this action for retrieving the eventsignup details (see the schema at: https://roboticdogs.actionkit.com/rest/v1/eventsignupaction/schema/).
|
73
|
+
**NOTE:** Cannot create actions through this resource, instead POST on /rest/v1/action/ with the page being an eventsignuppage for creating a new action of this type.
|
74
|
+
|
75
|
+
### Event Signup
|
76
|
+
|
77
|
+
Use this object for retrieving and updating an event attendee. For creating new attendees must POST an action on an eventsignuppage.
|
26
78
|
|
27
79
|
## Copyright
|
28
80
|
|
data/Rakefile
CHANGED
@@ -10,23 +10,23 @@ rescue Bundler::BundlerError => e
|
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
13
|
require './lib/action_kit_rest/version.rb'
|
16
14
|
|
17
|
-
|
18
|
-
|
15
|
+
|
16
|
+
require 'juwelier'
|
17
|
+
Juwelier::Tasks.new do |gem|
|
18
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
19
19
|
gem.name = "action_kit_rest"
|
20
20
|
gem.version = ActionKitRest::VERSION::STRING
|
21
21
|
gem.homepage = "http://github.com/controlshift/action_kit_rest"
|
22
22
|
gem.license = "MIT"
|
23
23
|
gem.summary = %Q{A wrapper for the ActionKit REST API}
|
24
24
|
gem.description = %Q{Gem for interacting with the ActionKit API}
|
25
|
-
gem.email = "
|
26
|
-
gem.authors = ["Nathan Woodhull"]
|
27
|
-
#
|
25
|
+
gem.email = "systems@controlshiftlabs.com"
|
26
|
+
gem.authors = ["Nathan Woodhull", 'Diego Marcet', 'Jacinda Moore']
|
27
|
+
# dependencies defined in Gemfile
|
28
28
|
end
|
29
|
-
|
29
|
+
Juwelier::RubygemsDotOrgTasks.new
|
30
30
|
|
31
31
|
|
32
32
|
require 'rspec/core/rake_task'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/action_kit_rest.gemspec
CHANGED
@@ -1,18 +1,19 @@
|
|
1
|
-
# Generated by
|
1
|
+
# Generated by juwelier
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: action_kit_rest 0.
|
5
|
+
# stub: action_kit_rest 0.3.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name = "action_kit_rest"
|
9
|
-
s.version = "0.
|
8
|
+
s.name = "action_kit_rest".freeze
|
9
|
+
s.version = "0.3.0"
|
10
10
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Nathan Woodhull".freeze, "Diego Marcet".freeze, "Jacinda Moore".freeze]
|
14
|
+
s.date = "2017-08-15"
|
15
|
+
s.description = "Gem for interacting with the ActionKit API".freeze
|
16
|
+
s.email = "systems@controlshiftlabs.com".freeze
|
16
17
|
s.extra_rdoc_files = [
|
17
18
|
"LICENSE.txt",
|
18
19
|
"README.md"
|
@@ -32,14 +33,24 @@ Gem::Specification.new do |s|
|
|
32
33
|
"action_kit_rest.gemspec",
|
33
34
|
"lib/action_kit_rest.rb",
|
34
35
|
"lib/action_kit_rest/action.rb",
|
36
|
+
"lib/action_kit_rest/actions/event_create_action.rb",
|
37
|
+
"lib/action_kit_rest/actions/event_signup_action.rb",
|
38
|
+
"lib/action_kit_rest/actions/unsubscribe_action.rb",
|
35
39
|
"lib/action_kit_rest/api.rb",
|
36
40
|
"lib/action_kit_rest/base.rb",
|
37
41
|
"lib/action_kit_rest/client.rb",
|
42
|
+
"lib/action_kit_rest/event.rb",
|
43
|
+
"lib/action_kit_rest/event_signup.rb",
|
44
|
+
"lib/action_kit_rest/language.rb",
|
38
45
|
"lib/action_kit_rest/list.rb",
|
39
46
|
"lib/action_kit_rest/page.rb",
|
40
47
|
"lib/action_kit_rest/pages/base.rb",
|
48
|
+
"lib/action_kit_rest/pages/donation_page.rb",
|
49
|
+
"lib/action_kit_rest/pages/event_campaign_page.rb",
|
41
50
|
"lib/action_kit_rest/pages/import_page.rb",
|
42
51
|
"lib/action_kit_rest/pages/signup_page.rb",
|
52
|
+
"lib/action_kit_rest/pages/unsubscribe_page.rb",
|
53
|
+
"lib/action_kit_rest/phone.rb",
|
43
54
|
"lib/action_kit_rest/railties.rb",
|
44
55
|
"lib/action_kit_rest/response/collection.rb",
|
45
56
|
"lib/action_kit_rest/response/raise_error.rb",
|
@@ -48,61 +59,62 @@ Gem::Specification.new do |s|
|
|
48
59
|
"lib/action_kit_rest/tag.rb",
|
49
60
|
"lib/action_kit_rest/user.rb",
|
50
61
|
"lib/action_kit_rest/version.rb",
|
51
|
-
"spec/action_kit_rest/logger_spec.rb",
|
52
|
-
"spec/action_kit_rest/page_spec.rb",
|
53
|
-
"spec/action_kit_rest/pages/input_page_spec.rb",
|
54
|
-
"spec/action_kit_rest/response/collection_spec.rb",
|
55
|
-
"spec/action_kit_rest/response/wrapper_spec.rb",
|
56
|
-
"spec/action_kit_rest/user_spec.rb",
|
57
62
|
"spec/fixtures/error.json",
|
63
|
+
"spec/fixtures/page/campaign.json",
|
58
64
|
"spec/fixtures/page/collection.json",
|
59
65
|
"spec/fixtures/page/object.json",
|
60
|
-
"spec/fixtures/
|
61
|
-
"spec/
|
66
|
+
"spec/fixtures/phone/object.json",
|
67
|
+
"spec/fixtures/user/object_with_phones.json",
|
68
|
+
"spec/fixtures/user/object_without_phones.json",
|
69
|
+
"spec/lib/action_kit_rest/logger_spec.rb",
|
70
|
+
"spec/lib/action_kit_rest/page_spec.rb",
|
71
|
+
"spec/lib/action_kit_rest/pages/event_campaign_page_spec.rb",
|
72
|
+
"spec/lib/action_kit_rest/pages/import_page_spec.rb",
|
73
|
+
"spec/lib/action_kit_rest/response/collection_spec.rb",
|
74
|
+
"spec/lib/action_kit_rest/response/wrapper_spec.rb",
|
75
|
+
"spec/lib/action_kit_rest/user_spec.rb",
|
76
|
+
"spec/spec_helper.rb",
|
77
|
+
"spec/support/shared_contexts/stub_logger.rb"
|
62
78
|
]
|
63
|
-
s.homepage = "http://github.com/controlshift/action_kit_rest"
|
64
|
-
s.licenses = ["MIT"]
|
65
|
-
s.
|
66
|
-
s.
|
67
|
-
s.summary = "A wrapper for the ActionKit REST API"
|
79
|
+
s.homepage = "http://github.com/controlshift/action_kit_rest".freeze
|
80
|
+
s.licenses = ["MIT".freeze]
|
81
|
+
s.rubygems_version = "2.5.2".freeze
|
82
|
+
s.summary = "A wrapper for the ActionKit REST API".freeze
|
68
83
|
|
69
84
|
if s.respond_to? :specification_version then
|
70
85
|
s.specification_version = 4
|
71
86
|
|
72
87
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
73
|
-
s.add_runtime_dependency(%q<vertebrae
|
74
|
-
s.add_development_dependency(%q<rspec
|
75
|
-
s.add_development_dependency(%q<webmock
|
76
|
-
s.add_development_dependency(%q<
|
77
|
-
s.add_development_dependency(%q<
|
78
|
-
s.add_development_dependency(%q<
|
79
|
-
s.add_development_dependency(%q<
|
80
|
-
s.add_development_dependency(%q<em-
|
81
|
-
s.add_development_dependency(%q<
|
82
|
-
s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
|
88
|
+
s.add_runtime_dependency(%q<vertebrae>.freeze, [">= 0"])
|
89
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
90
|
+
s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
|
91
|
+
s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
|
92
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
93
|
+
s.add_development_dependency(%q<eventmachine>.freeze, [">= 0"])
|
94
|
+
s.add_development_dependency(%q<em-synchrony>.freeze, [">= 0"])
|
95
|
+
s.add_development_dependency(%q<em-http-request>.freeze, [">= 0"])
|
96
|
+
s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
|
83
97
|
else
|
84
|
-
s.add_dependency(%q<vertebrae
|
85
|
-
s.add_dependency(%q<rspec
|
86
|
-
s.add_dependency(%q<webmock
|
87
|
-
s.add_dependency(%q<
|
88
|
-
s.add_dependency(%q<
|
89
|
-
s.add_dependency(%q<
|
90
|
-
s.add_dependency(%q<
|
91
|
-
s.add_dependency(%q<em-
|
92
|
-
s.add_dependency(%q<
|
93
|
-
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
98
|
+
s.add_dependency(%q<vertebrae>.freeze, [">= 0"])
|
99
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
100
|
+
s.add_dependency(%q<webmock>.freeze, [">= 0"])
|
101
|
+
s.add_dependency(%q<byebug>.freeze, [">= 0"])
|
102
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
103
|
+
s.add_dependency(%q<eventmachine>.freeze, [">= 0"])
|
104
|
+
s.add_dependency(%q<em-synchrony>.freeze, [">= 0"])
|
105
|
+
s.add_dependency(%q<em-http-request>.freeze, [">= 0"])
|
106
|
+
s.add_dependency(%q<juwelier>.freeze, [">= 0"])
|
94
107
|
end
|
95
108
|
else
|
96
|
-
s.add_dependency(%q<vertebrae
|
97
|
-
s.add_dependency(%q<rspec
|
98
|
-
s.add_dependency(%q<webmock
|
99
|
-
s.add_dependency(%q<
|
100
|
-
s.add_dependency(%q<
|
101
|
-
s.add_dependency(%q<
|
102
|
-
s.add_dependency(%q<
|
103
|
-
s.add_dependency(%q<em-
|
104
|
-
s.add_dependency(%q<
|
105
|
-
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
109
|
+
s.add_dependency(%q<vertebrae>.freeze, [">= 0"])
|
110
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
111
|
+
s.add_dependency(%q<webmock>.freeze, [">= 0"])
|
112
|
+
s.add_dependency(%q<byebug>.freeze, [">= 0"])
|
113
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
114
|
+
s.add_dependency(%q<eventmachine>.freeze, [">= 0"])
|
115
|
+
s.add_dependency(%q<em-synchrony>.freeze, [">= 0"])
|
116
|
+
s.add_dependency(%q<em-http-request>.freeze, [">= 0"])
|
117
|
+
s.add_dependency(%q<juwelier>.freeze, [">= 0"])
|
106
118
|
end
|
107
119
|
end
|
108
120
|
|