makeprintable 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a7c8ca6e2caf206ee7ed9d70d7743c43a3704e9
4
- data.tar.gz: 28c4969e50512fde4a63f45a3aa3db4f06c11c19
3
+ metadata.gz: 0edb4ffa7d7878660aaac9e4ed579af0807dca34
4
+ data.tar.gz: 07aeecde2fb4b11b07e3693feb8c9627d7a100ff
5
5
  SHA512:
6
- metadata.gz: 93e6e8ac440228ad805b87407aa27063795b8c5b7e881c15fc735da48b114471307c9b8d54d12d37b93c59628d84479cc6645b940ec1b62d39e1a3ad2cfd2504
7
- data.tar.gz: ab80f2222a57ffe48fa25e7d2a96e110ce0bcd40f5addad37f9170a668ee3e3c1428b284f624bd0405d0b2c496b1729e993ae46efa7f553683298a4b752871af
6
+ metadata.gz: 5ba5b2c0e0c073939c1f869871d8926c416c600e944a93eb7e17a61431787d9fd7a40b062186e0fa411632ed7503ebc36576083448297c6a2cc311328d2d5f61
7
+ data.tar.gz: 72affd6df0f3fa7b92a9ba43b7adf17cbfc3f2d79f8fd40ace94609c2d1d550abd8c38b82f90e8ab707a054f1b6c03b8a008ebe434fe8b581b2f0179f67f9a58
data/README.md CHANGED
@@ -7,7 +7,7 @@ Sign up for your api credentials at: https://makeprintable.com/site/login
7
7
 
8
8
  Add this line to your application's Gemfile:
9
9
 
10
- gem ‘makeprintable
10
+ gem ‘makeprintable’, '~> 1.0.1'
11
11
 
12
12
  And then execute:
13
13
 
@@ -22,7 +22,6 @@ Create a new initializer: (config/initializers/makeprintable.rb)
22
22
 
23
23
  MakePrintable.configure do |config|
24
24
  config.api_key = ENV[‘makeprintable_api_key’]
25
- config.api_secret = ENV[‘makeprintable_api_secret’]
26
25
  end
27
26
 
28
27
 
@@ -46,13 +45,9 @@ For the official documentation please refer to: https://makeprintable.com/page/3
46
45
  client = MakePrintable::Client.new
47
46
  client.delete_item(item_id)
48
47
 
49
- # Delete a specific item from server.
50
- client = MakePrintable::Client.new
51
- client.delete_item(item_id)
52
-
53
48
  # Repair an uploaded item
54
49
  client = MakePrintable::Client.new
55
- client.repair(item_id: item_id, callback_url: ‘optional_url’, name: ‘model_name’, wall_thickness: 1, print_quality: [‘standard’, ‘prototype’, ‘high’], pre_optimize: [0,99], post_optimize: [0,99])
50
+ client.repair(item_id: item_id, callback_url: ‘optional_url’, name: ‘model_name’, wall_thickness: 1, print_quality: [‘standard’, ‘prototype’, ‘high’], pre_optimize: [0,99], post_optimize: [0,99], secure: [0|1])
56
51
 
57
52
  # Returns repair information for a specific repair request, including status, progress and download links.
58
53
  client = MakePrintable::Client.new
@@ -23,7 +23,7 @@ module MakePrintable
23
23
 
24
24
  # Repairs an uploaded item
25
25
  def repair(opts={})
26
- opts.assert_valid_keys(:item_id, :callback_url, :name, :wall_thickness, :print_quality, :pre_optimize, :post_optimize)
26
+ opts.assert_valid_keys(:item_id, :callback_url, :name, :wall_thickness, :print_quality, :pre_optimize, :post_optimize, :secure)
27
27
  post_request '/fixes', opts
28
28
  end
29
29
 
@@ -1,3 +1,3 @@
1
1
  module MakePrintable
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makeprintable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis de Vulder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake