notion-ruby-client 0.0.6 → 0.0.7

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
  SHA256:
3
- metadata.gz: bd3cbaed3ecdcad5d726f9632b32e3fb6d5001b2d8b930ad2043fd9c93127679
4
- data.tar.gz: 92d5c3d2c7bf7fb3d14e4a9bd67342fddc53f96bb0d577c64b71fb77d92fc1f7
3
+ metadata.gz: 54a7b7076dce99aa2eec8b0ba041d2f1bfbdd1558a2ee94f76fe27112a726405
4
+ data.tar.gz: 11b710cf49ae369d53b023278ddfe6fe54f9c5eb4cc0d74922966f0d97f45b7f
5
5
  SHA512:
6
- metadata.gz: 375bf7dc3cc88cf1778b9cfd66482dc9626701d4a56475d12c4e7e252093fec9b613e53f8e53f0a4b2d170df8b3d5b81bf73fc46a49629753ccdf32f563b8170
7
- data.tar.gz: 342f1801e73fcd0d043cdaadf77aaebe88ed5ebfd4d3612a5e4df5118850cfe552463db3e162a53d599236c4f161f7a1ed26f7035fbd85847a200333b052c574
6
+ metadata.gz: 415e4801fd99af01efe431edd03cef55b27a1436a089a69a3bf3cbb986109a810223736e8cb415dd8e60a4066e476af3e7d5736a5ffeb96002fd599e3bd24e0f
7
+ data.tar.gz: a26e034921948f495a28362f4ce392601f02e795ee1eac93fa41100df0781522b6a7488e2957b7b80e1fcaaa629433ba9f95aee7121d8a15abb20596a17e16ff
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.0.7 (2021-06-17)
2
+
3
+ - Fixes the query parameter for fetching a page resource
4
+
1
5
  ### 0.0.6 (2021-06-09)
2
6
 
3
7
  - Added `Notion-Version` required header to all requests
@@ -16,7 +16,7 @@ module Notion
16
16
  # retrieve a page that has not been archived. Defaults to false.
17
17
  def page(options = {})
18
18
  throw ArgumentError.new('Required arguments :id missing') if options[:id].nil?
19
- get("pages/#{options[:id]}?archived=#{options[:archived]}")
19
+ get("pages/#{options[:id]}")
20
20
  end
21
21
 
22
22
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Notion
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  NOTION_REQUEST_VERSION = '2021-05-11'
5
5
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.notion.com/v1/pages/723578f1-6e51-450c-8ee1-09158c19fd4c?archived=
5
+ uri: https://api.notion.com/v1/pages/723578f1-6e51-450c-8ee1-09158c19fd4c
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notion-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Goutay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-10 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday