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.
Files changed (38) hide show
  1. checksums.yaml +5 -13
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +1 -1
  4. data/Gemfile +2 -3
  5. data/Gemfile.lock +78 -84
  6. data/README.md +53 -1
  7. data/Rakefile +8 -8
  8. data/VERSION +1 -1
  9. data/action_kit_rest.gemspec +65 -53
  10. data/lib/action_kit_rest.rb +10 -0
  11. data/lib/action_kit_rest/actions/event_create_action.rb +9 -0
  12. data/lib/action_kit_rest/actions/event_signup_action.rb +9 -0
  13. data/lib/action_kit_rest/actions/unsubscribe_action.rb +9 -0
  14. data/lib/action_kit_rest/api.rb +3 -4
  15. data/lib/action_kit_rest/client.rb +16 -21
  16. data/lib/action_kit_rest/event.rb +12 -0
  17. data/lib/action_kit_rest/event_signup.rb +7 -0
  18. data/lib/action_kit_rest/language.rb +12 -0
  19. data/lib/action_kit_rest/pages/donation_page.rb +9 -0
  20. data/lib/action_kit_rest/pages/event_campaign_page.rb +54 -0
  21. data/lib/action_kit_rest/pages/unsubscribe_page.rb +9 -0
  22. data/lib/action_kit_rest/phone.rb +7 -0
  23. data/lib/action_kit_rest/response/raise_error.rb +15 -2
  24. data/lib/action_kit_rest/user.rb +13 -0
  25. data/lib/action_kit_rest/version.rb +3 -3
  26. data/spec/fixtures/page/campaign.json +32 -0
  27. data/spec/fixtures/phone/object.json +33 -0
  28. data/spec/fixtures/user/{object.json → object_with_phones.json} +0 -0
  29. data/spec/fixtures/user/object_without_phones.json +1 -0
  30. data/spec/{action_kit_rest → lib/action_kit_rest}/logger_spec.rb +0 -0
  31. data/spec/{action_kit_rest → lib/action_kit_rest}/page_spec.rb +10 -2
  32. data/spec/lib/action_kit_rest/pages/event_campaign_page_spec.rb +48 -0
  33. data/spec/{action_kit_rest/pages/input_page_spec.rb → lib/action_kit_rest/pages/import_page_spec.rb} +6 -12
  34. data/spec/{action_kit_rest → lib/action_kit_rest}/response/collection_spec.rb +0 -0
  35. data/spec/{action_kit_rest → lib/action_kit_rest}/response/wrapper_spec.rb +0 -0
  36. data/spec/{action_kit_rest → lib/action_kit_rest}/user_spec.rb +17 -3
  37. data/spec/support/shared_contexts/stub_logger.rb +9 -0
  38. metadata +57 -54
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDA1NDI5MmI3N2ZiODY1YmQ3N2RmYjcwNDQyNmU3NjU2NjM4YzMyMA==
5
- data.tar.gz: !binary |-
6
- NDU2ODZmMGMyOGI2NWIwZTYxMjM1YmQwZTE2ODNmNGVhMjNkZTViZA==
2
+ SHA1:
3
+ metadata.gz: 50a2ea00d018df46495e68e40ec1ae83b2da79a4
4
+ data.tar.gz: 2674d3dd62e28eb574d6f2622a17b221a7e3fb01
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ODlhODJmNzk2NjVmMmEzOGQwNTY0MzFjNmRhYTI5YjQwZDllOTRjMTljNjVj
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
- ruby-1.9.3-p286-perf
1
+ 2.3.4
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.0.0"
3
+ - "2.3.4"
data/Gemfile CHANGED
@@ -4,12 +4,11 @@ gem 'vertebrae'
4
4
  group :development do
5
5
  gem "rspec"
6
6
  gem 'webmock'
7
- gem 'pry'
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 "jeweler", "~> 2.0.0"
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 (4.1.4)
5
- i18n (~> 0.6, >= 0.6.9)
6
- json (~> 1.7, >= 1.7.7)
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.3.6)
11
- builder (3.2.2)
12
- coderay (1.1.0)
13
- columnize (0.8.9)
14
- cookiejar (0.3.2)
15
- crack (0.4.2)
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.2.5)
26
- em-http-request (1.1.2)
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.0)
25
+ em-socksify (0.3.1)
33
26
  eventmachine (>= 1.0.0.beta.4)
34
- em-synchrony (1.0.3)
27
+ em-synchrony (1.0.6)
35
28
  eventmachine (>= 1.0.0.beta.1)
36
- eventmachine (1.0.3)
37
- faraday (0.9.0)
29
+ eventmachine (1.2.5)
30
+ faraday (0.9.2)
38
31
  multipart-post (>= 1.2, < 3)
39
- faraday_middleware (0.9.1)
40
- faraday (>= 0.7.4, < 0.10)
41
- git (1.2.8)
42
- github_api (0.12.0)
43
- addressable (~> 2.3)
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.2)
47
- multi_json (>= 1.7.5, < 2.0)
48
- nokogiri (~> 1.6.3)
49
- oauth2
50
- hashie (3.2.0)
51
- highline (1.6.21)
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.11)
54
- jeweler (2.0.1)
46
+ i18n (0.8.6)
47
+ juwelier (2.4.7)
55
48
  builder
56
- bundler (>= 1.0)
57
- git (>= 1.2.5)
49
+ bundler
50
+ git
58
51
  github_api
59
- highline (>= 1.6.15)
60
- nokogiri (>= 1.5.10)
52
+ highline
53
+ kamelcase (~> 0)
54
+ nokogiri
55
+ psych
61
56
  rake
62
57
  rdoc
63
- json (1.8.1)
64
- jwt (1.0.0)
65
- method_source (0.8.2)
66
- mini_portile (0.6.0)
67
- minitest (5.4.0)
68
- multi_json (1.10.1)
69
- multi_xml (0.5.5)
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.6.3.1)
72
- mini_portile (= 0.6.0)
73
- oauth2 (1.0.0)
74
- faraday (>= 0.8, < 0.10)
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 (~> 1.2)
79
- pry (0.10.0)
80
- coderay (~> 1.1.0)
81
- method_source (~> 0.8.1)
82
- slop (~> 3.4)
83
- pry-debugger (0.2.3)
84
- debugger (~> 1.3)
85
- pry (>= 0.9.10, < 0.11.0)
86
- rack (1.5.2)
87
- rake (10.3.2)
88
- rdoc (4.1.1)
89
- json (~> 1.4)
90
- rspec (3.0.0)
91
- rspec-core (~> 3.0.0)
92
- rspec-expectations (~> 3.0.0)
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.0.0)
99
- rspec-mocks (3.0.3)
100
- rspec-support (~> 3.0.0)
101
- rspec-support (3.0.3)
102
- safe_yaml (1.0.3)
103
- slop (3.6.0)
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.2.11)
98
+ vertebrae (0.4.1)
108
99
  activesupport
109
- faraday
100
+ faraday (>= 0.9.2)
110
101
  faraday_middleware
111
102
  hashie
112
- webmock (1.18.0)
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
- jeweler (~> 2.0.0)
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
- This is very experimental still, but starting to be usable.
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
- Jeweler::Tasks.new do |gem|
18
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
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 = "nathan@controlshiftlabs.com"
26
- gem.authors = ["Nathan Woodhull"]
27
- # deps in Gemfile
25
+ gem.email = "systems@controlshiftlabs.com"
26
+ gem.authors = ["Nathan Woodhull", 'Diego Marcet', 'Jacinda Moore']
27
+ # dependencies defined in Gemfile
28
28
  end
29
- Jeweler::RubygemsDotOrgTasks.new
29
+ Juwelier::RubygemsDotOrgTasks.new
30
30
 
31
31
 
32
32
  require 'rspec/core/rake_task'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.3.0
@@ -1,18 +1,19 @@
1
- # Generated by jeweler
1
+ # Generated by juwelier
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: action_kit_rest 0.2.2 ruby lib
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.2.2"
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.authors = ["Nathan Woodhull"]
13
- s.date = "2014-08-04"
14
- s.description = "Gem for interacting with the ActionKit API"
15
- s.email = "nathan@controlshiftlabs.com"
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/user/object.json",
61
- "spec/spec_helper.rb"
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.require_paths = ["lib"]
66
- s.rubygems_version = "2.1.11"
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>, [">= 0"])
74
- s.add_development_dependency(%q<rspec>, [">= 0"])
75
- s.add_development_dependency(%q<webmock>, [">= 0"])
76
- s.add_development_dependency(%q<pry>, [">= 0"])
77
- s.add_development_dependency(%q<pry-debugger>, [">= 0"])
78
- s.add_development_dependency(%q<bundler>, [">= 0"])
79
- s.add_development_dependency(%q<eventmachine>, [">= 0"])
80
- s.add_development_dependency(%q<em-synchrony>, [">= 0"])
81
- s.add_development_dependency(%q<em-http-request>, [">= 0"])
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>, [">= 0"])
85
- s.add_dependency(%q<rspec>, [">= 0"])
86
- s.add_dependency(%q<webmock>, [">= 0"])
87
- s.add_dependency(%q<pry>, [">= 0"])
88
- s.add_dependency(%q<pry-debugger>, [">= 0"])
89
- s.add_dependency(%q<bundler>, [">= 0"])
90
- s.add_dependency(%q<eventmachine>, [">= 0"])
91
- s.add_dependency(%q<em-synchrony>, [">= 0"])
92
- s.add_dependency(%q<em-http-request>, [">= 0"])
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>, [">= 0"])
97
- s.add_dependency(%q<rspec>, [">= 0"])
98
- s.add_dependency(%q<webmock>, [">= 0"])
99
- s.add_dependency(%q<pry>, [">= 0"])
100
- s.add_dependency(%q<pry-debugger>, [">= 0"])
101
- s.add_dependency(%q<bundler>, [">= 0"])
102
- s.add_dependency(%q<eventmachine>, [">= 0"])
103
- s.add_dependency(%q<em-synchrony>, [">= 0"])
104
- s.add_dependency(%q<em-http-request>, [">= 0"])
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