learnosity-sdk 0.1.0

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 (100) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +201 -0
  7. data/README.md +269 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/examples/lrn-sdk-rails/.gitignore +21 -0
  12. data/examples/lrn-sdk-rails/Gemfile +57 -0
  13. data/examples/lrn-sdk-rails/README.md +24 -0
  14. data/examples/lrn-sdk-rails/Rakefile +6 -0
  15. data/examples/lrn-sdk-rails/app/assets/config/manifest.js +3 -0
  16. data/examples/lrn-sdk-rails/app/assets/images/.keep +0 -0
  17. data/examples/lrn-sdk-rails/app/assets/javascripts/application.js +16 -0
  18. data/examples/lrn-sdk-rails/app/assets/javascripts/cable.js +13 -0
  19. data/examples/lrn-sdk-rails/app/assets/javascripts/channels/.keep +0 -0
  20. data/examples/lrn-sdk-rails/app/assets/javascripts/index.coffee +3 -0
  21. data/examples/lrn-sdk-rails/app/assets/stylesheets/application.css +15 -0
  22. data/examples/lrn-sdk-rails/app/assets/stylesheets/index.scss +3 -0
  23. data/examples/lrn-sdk-rails/app/channels/application_cable/channel.rb +4 -0
  24. data/examples/lrn-sdk-rails/app/channels/application_cable/connection.rb +4 -0
  25. data/examples/lrn-sdk-rails/app/controllers/application_controller.rb +3 -0
  26. data/examples/lrn-sdk-rails/app/controllers/concerns/.keep +0 -0
  27. data/examples/lrn-sdk-rails/app/controllers/index_controller.rb +105 -0
  28. data/examples/lrn-sdk-rails/app/helpers/application_helper.rb +2 -0
  29. data/examples/lrn-sdk-rails/app/helpers/index_helper.rb +2 -0
  30. data/examples/lrn-sdk-rails/app/jobs/application_job.rb +2 -0
  31. data/examples/lrn-sdk-rails/app/mailers/application_mailer.rb +4 -0
  32. data/examples/lrn-sdk-rails/app/models/application_record.rb +3 -0
  33. data/examples/lrn-sdk-rails/app/models/concerns/.keep +0 -0
  34. data/examples/lrn-sdk-rails/app/views/index/index.html.erb +24 -0
  35. data/examples/lrn-sdk-rails/app/views/layouts/application.html.erb +14 -0
  36. data/examples/lrn-sdk-rails/app/views/layouts/mailer.html.erb +13 -0
  37. data/examples/lrn-sdk-rails/app/views/layouts/mailer.text.erb +1 -0
  38. data/examples/lrn-sdk-rails/bin/bundle +3 -0
  39. data/examples/lrn-sdk-rails/bin/rails +9 -0
  40. data/examples/lrn-sdk-rails/bin/rake +9 -0
  41. data/examples/lrn-sdk-rails/bin/setup +34 -0
  42. data/examples/lrn-sdk-rails/bin/spring +17 -0
  43. data/examples/lrn-sdk-rails/bin/update +29 -0
  44. data/examples/lrn-sdk-rails/config.ru +5 -0
  45. data/examples/lrn-sdk-rails/config/application.rb +15 -0
  46. data/examples/lrn-sdk-rails/config/boot.rb +3 -0
  47. data/examples/lrn-sdk-rails/config/cable.yml +9 -0
  48. data/examples/lrn-sdk-rails/config/database.yml +25 -0
  49. data/examples/lrn-sdk-rails/config/environment.rb +5 -0
  50. data/examples/lrn-sdk-rails/config/environments/development.rb +54 -0
  51. data/examples/lrn-sdk-rails/config/environments/production.rb +86 -0
  52. data/examples/lrn-sdk-rails/config/environments/test.rb +42 -0
  53. data/examples/lrn-sdk-rails/config/initializers/application_controller_renderer.rb +6 -0
  54. data/examples/lrn-sdk-rails/config/initializers/assets.rb +11 -0
  55. data/examples/lrn-sdk-rails/config/initializers/backtrace_silencers.rb +7 -0
  56. data/examples/lrn-sdk-rails/config/initializers/cookies_serializer.rb +5 -0
  57. data/examples/lrn-sdk-rails/config/initializers/filter_parameter_logging.rb +4 -0
  58. data/examples/lrn-sdk-rails/config/initializers/inflections.rb +16 -0
  59. data/examples/lrn-sdk-rails/config/initializers/mime_types.rb +4 -0
  60. data/examples/lrn-sdk-rails/config/initializers/new_framework_defaults.rb +24 -0
  61. data/examples/lrn-sdk-rails/config/initializers/session_store.rb +3 -0
  62. data/examples/lrn-sdk-rails/config/initializers/wrap_parameters.rb +14 -0
  63. data/examples/lrn-sdk-rails/config/locales/en.yml +23 -0
  64. data/examples/lrn-sdk-rails/config/puma.rb +47 -0
  65. data/examples/lrn-sdk-rails/config/routes.rb +5 -0
  66. data/examples/lrn-sdk-rails/config/secrets.yml +22 -0
  67. data/examples/lrn-sdk-rails/config/spring.rb +6 -0
  68. data/examples/lrn-sdk-rails/db/seeds.rb +7 -0
  69. data/examples/lrn-sdk-rails/lib/assets/.keep +0 -0
  70. data/examples/lrn-sdk-rails/lib/tasks/.keep +0 -0
  71. data/examples/lrn-sdk-rails/log/.keep +0 -0
  72. data/examples/lrn-sdk-rails/public/404.html +67 -0
  73. data/examples/lrn-sdk-rails/public/422.html +67 -0
  74. data/examples/lrn-sdk-rails/public/500.html +66 -0
  75. data/examples/lrn-sdk-rails/public/apple-touch-icon-precomposed.png +0 -0
  76. data/examples/lrn-sdk-rails/public/apple-touch-icon.png +0 -0
  77. data/examples/lrn-sdk-rails/public/favicon.ico +0 -0
  78. data/examples/lrn-sdk-rails/public/robots.txt +5 -0
  79. data/examples/lrn-sdk-rails/test/controllers/.keep +0 -0
  80. data/examples/lrn-sdk-rails/test/controllers/index_controller_test.rb +9 -0
  81. data/examples/lrn-sdk-rails/test/fixtures/.keep +0 -0
  82. data/examples/lrn-sdk-rails/test/fixtures/files/.keep +0 -0
  83. data/examples/lrn-sdk-rails/test/helpers/.keep +0 -0
  84. data/examples/lrn-sdk-rails/test/integration/.keep +0 -0
  85. data/examples/lrn-sdk-rails/test/mailers/.keep +0 -0
  86. data/examples/lrn-sdk-rails/test/models/.keep +0 -0
  87. data/examples/lrn-sdk-rails/test/test_helper.rb +10 -0
  88. data/examples/lrn-sdk-rails/tmp/.keep +0 -0
  89. data/examples/lrn-sdk-rails/vendor/assets/javascripts/.keep +0 -0
  90. data/examples/lrn-sdk-rails/vendor/assets/stylesheets/.keep +0 -0
  91. data/examples/simple/init_data.rb +34 -0
  92. data/examples/simple/init_items.rb +19 -0
  93. data/learnosity-sdk.gemspec +38 -0
  94. data/lib/learnosity/sdk.rb +9 -0
  95. data/lib/learnosity/sdk/exceptions.rb +10 -0
  96. data/lib/learnosity/sdk/request.rb +9 -0
  97. data/lib/learnosity/sdk/request/init.rb +232 -0
  98. data/lib/learnosity/sdk/utils.rb +4 -0
  99. data/lib/learnosity/sdk/version.rb +5 -0
  100. metadata +187 -0
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,47 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum, this matches the default thread size of Active Record.
6
+ #
7
+ threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
8
+ threads threads_count, threads_count
9
+
10
+ # Specifies the `port` that Puma will listen on to receive requests, default is 3000.
11
+ #
12
+ port ENV.fetch("PORT") { 3000 }
13
+
14
+ # Specifies the `environment` that Puma will run in.
15
+ #
16
+ environment ENV.fetch("RAILS_ENV") { "development" }
17
+
18
+ # Specifies the number of `workers` to boot in clustered mode.
19
+ # Workers are forked webserver processes. If using threads and workers together
20
+ # the concurrency of the application would be max `threads` * `workers`.
21
+ # Workers do not work on JRuby or Windows (both of which do not support
22
+ # processes).
23
+ #
24
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
25
+
26
+ # Use the `preload_app!` method when specifying a `workers` number.
27
+ # This directive tells Puma to first boot the application and load code
28
+ # before forking the application. This takes advantage of Copy On Write
29
+ # process behavior so workers use less memory. If you use this option
30
+ # you need to make sure to reconnect any threads in the `on_worker_boot`
31
+ # block.
32
+ #
33
+ # preload_app!
34
+
35
+ # The code in the `on_worker_boot` will be called if you are using
36
+ # clustered mode by specifying a number of `workers`. After each worker
37
+ # process is booted this block will be run, if you are using `preload_app!`
38
+ # option you will want to use this block to reconnect to any threads
39
+ # or connections that may have been created at application boot, Ruby
40
+ # cannot share connections between processes.
41
+ #
42
+ # on_worker_boot do
43
+ # ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
44
+ # end
45
+
46
+ # Allow puma to be restarted by `rails restart` command.
47
+ plugin :tmp_restart
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+ get 'index/index'
3
+
4
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
5
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rails secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: e481eaa475ed612aa761e790b6cd8b8c44e23098ed9304571af275fecb51df8bfdf93105f7d84bd1f6f207de52cdc7da58ff26a8b461e4f16ea19de8cb31bcb4
15
+
16
+ test:
17
+ secret_key_base: 581315f94c44611ae7892ce9c93d92fe7a4add60944fc02b869436a0d5a308fb53422bfcad0aa056be94a57cae1baba2ee638ae560b30279664c47ec71ef9847
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,6 @@
1
+ %w(
2
+ .ruby-version
3
+ .rbenv-vars
4
+ tmp/restart.txt
5
+ tmp/caching-dev.txt
6
+ ).each { |path| Spring.watch(path) }
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class IndexControllerTest < ActionDispatch::IntegrationTest
4
+ test "should get index" do
5
+ get index_index_url
6
+ assert_response :success
7
+ end
8
+
9
+ end
@@ -0,0 +1,10 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
+ fixtures :all
8
+
9
+ # Add more helper methods to be used by all tests here...
10
+ end
File without changes
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env ruby
2
+ require 'net/http'
3
+ require 'json'
4
+
5
+ require 'learnosity/sdk/request/init'
6
+
7
+ security_packet = {
8
+ 'consumer_key' => 'yis0TYCu7U9V4o7M',
9
+ 'domain' => 'localhost'
10
+ }
11
+ # XXX: The consumer secret should be in a properly secured credential store, and *NEVER* checked in in revision control
12
+ consumer_secret = '74c5fd430cf1242a527f6223aebd42d30464be22'
13
+ data_request = { 'limit' => 1 }
14
+
15
+ # Do 5 subsequent requests using the `next` pointer
16
+ [1,2,3,4,5].each do |reqno|
17
+ init = Learnosity::Sdk::Request::Init.new(
18
+ 'data',
19
+ security_packet,
20
+ consumer_secret,
21
+ data_request
22
+ )
23
+
24
+ request = init.generate
25
+
26
+ itembankUri = URI('https://data.learnosity.com/v1/itembank/items')
27
+ puts ">>> [#{itembankUri} (#{reqno})] #{JSON.generate(request)}"
28
+
29
+ res = Net::HTTP.post_form(itembankUri, request)
30
+
31
+ puts "<<< [#{res.code}] #{res.body}"
32
+
33
+ data_request['next'] = JSON.parse(res.body)['meta']['next']
34
+ end
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+ require 'learnosity/sdk/request/init'
3
+
4
+ security_packet = {
5
+ 'consumer_key' => 'yis0TYCu7U9V4o7M',
6
+ 'domain' => 'localhost'
7
+ }
8
+ # XXX: The consumer secret should be in a properly secured credential store, and *NEVER* checked in in revision control
9
+ consumer_secret = '74c5fd430cf1242a527f6223aebd42d30464be22'
10
+ items_request = { 'limit' => 50 }
11
+
12
+ init = Learnosity::Sdk::Request::Init.new(
13
+ 'items',
14
+ security_packet,
15
+ consumer_secret,
16
+ items_request
17
+ )
18
+
19
+ puts init.generate
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'learnosity/sdk/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "learnosity-sdk"
8
+ spec.version = Learnosity::Sdk::VERSION
9
+ spec.authors = [ "Olivier Mehani", "learnosity" ]
10
+ spec.email = [ "olivier.mehani@learnosity.com", "licenses@learnosity.com" ]
11
+
12
+ spec.summary = "SDK to interact with Learnosity APIs"
13
+ spec.homepage = "https://github.com/Learnosity/learnosity-sdk-ruby/"
14
+
15
+ spec.license = "Apache-2.0"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.14"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ end
37
+
38
+ # vim: sw=2