notion-sdk-ruby 0.5.0 → 0.6.0

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: b40512cee112cf660970e4dc0f41d9b2396435c0d0af1b4d360ab17d643fcce6
4
- data.tar.gz: 05d7805fdafc25fc3537a4853e61f136c9fbcc49a404559c55288b157c989b0c
3
+ metadata.gz: 481e5f2cb1fb1e06b040669772b571350568fdc1575b7720de83776cfd965b2b
4
+ data.tar.gz: b20483bc14df3da9a1323189c798b84f230d9998b6f6891ec6ba0eea00d6ee22
5
5
  SHA512:
6
- metadata.gz: '08740b69d9ecdcba0c13e0401095cff74fdfa0be56993061bce45b89b9f8b5d42bbbe1d02dc04e5554b021b1b27b0bc8c183a9c425fb00ed9be6bcc4d84cc184'
7
- data.tar.gz: 327b799e2eeb70ed8b1a48296853972579749baeba824f05f10ba506388b1527f1eecb6ad7f774918259bd4bf673748525bfdc56ae7da08787aa266d5b9344bf
6
+ metadata.gz: 32298bebc868742363f23d46ad0ed35a7a357342de1aace3ac04c6fa78e56e9bc81d21dc7b91eb6079759c1d465309df284918877655c92b2282ef22231abe50
7
+ data.tar.gz: 5ce80f427551c8841e1410183854cac0c10d49de8cdbdfcc73057b745953c360b4c602e2c014d44c4d29279a75969a04f42b784a9304ba5b3508fcf83b216c16
@@ -1,34 +1,43 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
- name: ci
9
-
10
- on:
11
- push:
12
- branches: [main]
13
- pull_request:
14
- branches: [main]
15
-
16
- jobs:
17
- test:
18
- runs-on: ubuntu-latest
19
- strategy:
20
- matrix:
21
- ruby-version: ["2.6", "2.7", "3.0"]
22
-
23
- steps:
24
- - uses: actions/checkout@v2
25
- - name: Set up Ruby
26
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
27
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
28
- # uses: ruby/setup-ruby@v1
29
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
30
- with:
31
- ruby-version: ${{ matrix.ruby-version }}
32
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
33
- - name: Run tests
34
- run: bundle exec rake
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: ci
9
+
10
+ on:
11
+ push:
12
+ branches: [main]
13
+ pull_request:
14
+ branches: [main]
15
+
16
+ jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ ruby-version: ["2.7"]
22
+
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Set up Ruby
26
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
27
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
28
+ # uses: ruby/setup-ruby@v1
29
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
30
+ with:
31
+ ruby-version: ${{ matrix.ruby-version }}
32
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
33
+ - name: Run tests
34
+ run: bundle exec rake
35
+ - name: Build docs
36
+ run: bundle exec rake yard
37
+ - name: Deploy docs
38
+ if: ${{ github.ref == 'refs/heads/main' }}
39
+ uses: peaceiris/actions-gh-pages@v3
40
+ with:
41
+ github_token: ${{ secrets.GITHUB_TOKEN }}
42
+ publish_dir: ./doc
43
+ publish_branch: gh-pages
data/.gitignore CHANGED
@@ -1,13 +1,13 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
12
-
13
- .env
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ .env
data/.rspec CHANGED
@@ -1,3 +1,3 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.6.5
6
- before_install: gem install bundler -v 2.1.4
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.6.5
6
+ before_install: gem install bundler -v 2.1.4
@@ -1,4 +1,4 @@
1
- {
2
- "editor.formatOnSave": true,
3
- "editor.tabSize": 2
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "editor.tabSize": 2
4
4
  }
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in notion-sdk-ruby.gemspec
4
- gemspec
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in notion-sdk-ruby.gemspec
4
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- notion-sdk-ruby (0.5.0)
4
+ notion-sdk-ruby (0.6.0)
5
5
  faraday (~> 1.8)
6
6
  faraday_middleware (~> 1.1)
7
7
 
@@ -23,33 +23,37 @@ GEM
23
23
  rexml
24
24
  diff-lcs (1.4.4)
25
25
  dotenv (2.7.6)
26
- faraday (1.8.0)
26
+ faraday (1.10.0)
27
27
  faraday-em_http (~> 1.0)
28
28
  faraday-em_synchrony (~> 1.0)
29
29
  faraday-excon (~> 1.1)
30
- faraday-httpclient (~> 1.0.1)
30
+ faraday-httpclient (~> 1.0)
31
+ faraday-multipart (~> 1.0)
31
32
  faraday-net_http (~> 1.0)
32
- faraday-net_http_persistent (~> 1.1)
33
+ faraday-net_http_persistent (~> 1.0)
33
34
  faraday-patron (~> 1.0)
34
35
  faraday-rack (~> 1.0)
35
- multipart-post (>= 1.2, < 3)
36
+ faraday-retry (~> 1.0)
36
37
  ruby2_keywords (>= 0.0.4)
37
38
  faraday-em_http (1.0.0)
38
39
  faraday-em_synchrony (1.0.0)
39
40
  faraday-excon (1.1.0)
40
41
  faraday-httpclient (1.0.1)
42
+ faraday-multipart (1.0.4)
43
+ multipart-post (~> 2)
41
44
  faraday-net_http (1.0.1)
42
45
  faraday-net_http_persistent (1.2.0)
43
46
  faraday-patron (1.0.0)
44
47
  faraday-rack (1.0.0)
45
- faraday_middleware (1.1.0)
48
+ faraday-retry (1.0.3)
49
+ faraday_middleware (1.2.0)
46
50
  faraday (~> 1.0)
47
51
  hashdiff (1.0.1)
48
52
  i18n (1.8.10)
49
53
  concurrent-ruby (~> 1.0)
50
54
  method_source (1.0.0)
51
55
  minitest (5.14.4)
52
- multipart-post (2.1.1)
56
+ multipart-post (2.2.3)
53
57
  parallel (1.20.1)
54
58
  parser (3.0.1.1)
55
59
  ast (~> 2.4.1)
@@ -98,10 +102,12 @@ GEM
98
102
  tzinfo (2.0.4)
99
103
  concurrent-ruby (~> 1.0)
100
104
  unicode-display_width (2.0.0)
105
+ vcr (6.1.0)
101
106
  webmock (3.12.2)
102
107
  addressable (>= 2.3.6)
103
108
  crack (>= 0.3.2)
104
109
  hashdiff (>= 0.4.0, < 2.0.0)
110
+ yard (0.9.26)
105
111
  zeitwerk (2.4.2)
106
112
 
107
113
  PLATFORMS
@@ -116,7 +122,9 @@ DEPENDENCIES
116
122
  rake (~> 12.0)
117
123
  rspec (~> 3.0)
118
124
  standardrb (~> 1.0)
125
+ vcr (~> 6.0)
119
126
  webmock (~> 3.12)
127
+ yard (~> 0.9.26)
120
128
 
121
129
  BUNDLED WITH
122
130
  2.2.3
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021 Graham Marlow
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Graham Marlow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,339 +1,55 @@
1
- # Notion Ruby SDK
2
-
3
- [![ci](https://github.com/mgmarlow/notion-sdk-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/mgmarlow/notion-sdk-ruby/actions/workflows/ci.yml)
4
- [![Gem Version](https://badge.fury.io/rb/notion-sdk-ruby.svg)](https://badge.fury.io/rb/notion-sdk-ruby)
5
-
6
- Unofficial Ruby client for the [Notion APIs](https://developers.notion.com/).
7
-
8
- - [Notion Ruby SDK](#notion-ruby-sdk)
9
- - [Installation](#installation)
10
- - [Usage](#usage)
11
- - [API reference](#api-reference)
12
- - [Databases](#databases)
13
- - [databases#retrieve](#databasesretrieve)
14
- - [databases#list](#databaseslist)
15
- - [databases#query](#databasesquery)
16
- - [databases#create](#databasescreate)
17
- - [databases#update](#databasesupdate)
18
- - [Pages](#pages)
19
- - [pages#retrieve](#pagesretrieve)
20
- - [pages#create](#pagescreate)
21
- - [pages#update](#pagesupdate)
22
- - [Blocks](#blocks)
23
- - [blocks#retrieve](#blocksretrieve)
24
- - [blocks#update](#blocksupdate)
25
- - [blocks#children#list](#blockschildrenlist)
26
- - [blocks#children#append](#blockschildrenappend)
27
- - [Users](#users)
28
- - [users#retrieve](#usersretrieve)
29
- - [users#list](#userslist)
30
- - [Search](#search)
31
- - [#search](#search-1)
32
- - [Development](#development)
33
- - [Contributing](#contributing)
34
- - [License](#license)
35
-
36
- ## Installation
37
-
38
- Add this line to your application's Gemfile:
39
-
40
- ```ruby
41
- gem 'notion-sdk-ruby'
42
- ```
43
-
44
- And then execute:
45
-
46
- $ bundle install
47
-
48
- ## Usage
49
-
50
- Initialize `Notion::Client` with your app's [integration secret](https://developers.notion.com/docs/getting-started#create-a-new-integration).
51
-
52
- ```rb
53
- require "notion-sdk-ruby"
54
- client = Notion::Client.new(token: ENV["NOTION_API_SECRET"])
55
- ```
56
-
57
- ## API reference
58
-
59
- ### Databases
60
-
61
- #### databases#retrieve
62
-
63
- [API reference](https://developers.notion.com/reference/get-database)
64
-
65
- ```rb
66
- client.databases.retrieve("668d797c-76fa-4934-9b05-ad288df2d136")
67
- ```
68
-
69
- #### databases#list
70
-
71
- [API reference](https://developers.notion.com/reference/get-databases)
72
-
73
- ```rb
74
- client.databases.list
75
- ```
76
-
77
- #### databases#query
78
-
79
- [API reference](https://developers.notion.com/reference/post-database-query)
80
-
81
- ```rb
82
- client.databases.query("668d797c-76fa-4934-9b05-ad288df2d136", {
83
- filter: {
84
- or: [
85
- {
86
- property: "In stock",
87
- checkbox: {
88
- equals: true
89
- }
90
- },
91
- {
92
- property: "Cost of next trip",
93
- number: {
94
- greater_than_or_equal_to: 2
95
- }
96
- }
97
- ]
98
- },
99
- sorts: [
100
- {
101
- property: "Last ordered",
102
- direction: "ascending"
103
- }
104
- ]
105
- })
106
- ```
107
-
108
- #### databases#create
109
-
110
- [API reference](https://developers.notion.com/reference/create-a-database)
111
-
112
- ```rb
113
- client.databases.create({
114
- parent: {
115
- type: "page_id",
116
- page_id: "98ad959b-2b6a-4774-80ee-00246fb0ea9b"
117
- },
118
- title: [
119
- {
120
- type: "text",
121
- text: {
122
- content: "Grocery List",
123
- link: null
124
- }
125
- }
126
- ],
127
- properties: {
128
- Name: {
129
- title: {}
130
- }
131
- }
132
- })
133
- ```
134
-
135
- #### databases#update
136
-
137
- [API reference](https://developers.notion.com/reference/update-a-database)
138
-
139
- ```rb
140
- client.databases.update("668d797c-76fa-4934-9b05-ad288df2d136", {
141
- title: [
142
- {
143
- type: "text",
144
- text: {
145
- content: "Grocery List",
146
- link: null
147
- }
148
- }
149
- ],
150
- properties: {
151
- Name: {
152
- title: {}
153
- }
154
- }
155
- })
156
- ```
157
-
158
- ### Pages
159
-
160
- #### pages#retrieve
161
-
162
- [API reference](https://developers.notion.com/reference/get-page)
163
-
164
- ```rb
165
- client.pages.retrieve("b55c9c91-384d-452b-81db-d1ef79372b75")
166
- ```
167
-
168
- #### pages#create
169
-
170
- [API reference](https://developers.notion.com/reference/post-page)
171
-
172
- ```rb
173
- client.pages.create({
174
- parent: { database_id: "48f8fee9cd794180bc2fec0398253067" },
175
- properties: {
176
- Name: {
177
- title: [
178
- {
179
- text: {
180
- content: "Tuscan Kale"
181
- }
182
- }
183
- ]
184
- },
185
- Description: {
186
- rich_text: [
187
- {
188
- text: {
189
- content: "A dark green leafy vegetable"
190
- }
191
- }
192
- ]
193
- },
194
- Food group: {
195
- select: {
196
- name: "Vegetable"
197
- }
198
- },
199
- Price: { number: 2.5 }
200
- },
201
- children: []
202
- })
203
- ```
204
-
205
- #### pages#update
206
-
207
- [API reference](https://developers.notion.com/reference/patch-page)
208
-
209
- ```rb
210
- client.pages.update("b55c9c91-384d-452b-81db-d1ef79372b75", {
211
- properties: {
212
- "In stock": { checkbox: true }
213
- }
214
- })
215
- ```
216
-
217
- ### Blocks
218
-
219
- #### blocks#retrieve
220
-
221
- [API reference](https://developers.notion.com/reference/retrieve-a-block)
222
-
223
- ```rb
224
- client.blocks.retrieve("b55c9c91-384d-452b-81db-d1ef79372b75")
225
- ```
226
-
227
- #### blocks#update
228
-
229
- [API reference](https://developers.notion.com/reference/update-a-block)
230
-
231
- ```rb
232
- client.blocks.update("b55c9c91-384d-452b-81db-d1ef79372b75", {
233
- to_do: {
234
- text: [{
235
- text: { content: "Lacinato kale" }
236
- }],
237
- checked: false
238
- }
239
- })
240
- ```
241
-
242
- #### blocks#children#list
243
-
244
- [API reference](https://developers.notion.com/reference/get-block-children)
245
-
246
- ```rb
247
- client.blocks.children.list("b55c9c91-384d-452b-81db-d1ef79372b75", {
248
- page_size: 100
249
- })
250
- ```
251
-
252
- #### blocks#children#append
253
-
254
- [API reference](https://developers.notion.com/reference/patch-block-children)
255
-
256
- ```rb
257
- client.blocks.children.append("b54c9c91-384d-452b-81db-d1ef79372b75", {
258
- children: [
259
- {
260
- object: "block",
261
- type: "heading_1",
262
- heading_1: {
263
- text: [{ type: "text", text: { content: "Lacinato kale" } }]
264
- }
265
- },
266
- {
267
- object: "block",
268
- type: "paragraph",
269
- paragraph: {
270
- text: [
271
- {
272
- type: "text",
273
- text: {
274
- content: "Lacinato kale is a variety of kale with a long tradition in Italian cuisine, especially that of Tuscany. It is also known as Tuscan kale, Italian kale, dinosaur kale, kale, flat back kale, palm tree kale, or black Tuscan palm.",
275
- link: { url: "https://en.wikipedia.org/wiki/Lacinato_kale" }
276
- }
277
- }
278
- ]
279
- }
280
- }
281
- ]
282
- })
283
- ```
284
-
285
- ### Users
286
-
287
- #### users#retrieve
288
-
289
- [API reference](https://developers.notion.com/reference/get-user)
290
-
291
- ```rb
292
- client.users.retrieve("d40e767c-d7af-4b18-a86d-55c61f1e39a4")
293
- ```
294
-
295
- #### users#list
296
-
297
- [API reference](https://developers.notion.com/reference/get-users)
298
-
299
- ```rb
300
- client.users.list
301
- ```
302
-
303
- ### Search
304
-
305
- [API reference](https://developers.notion.com/reference/post-search)
306
-
307
- #### #search
308
-
309
- ```rb
310
- client.search({
311
- query: "External tasks",
312
- sort: {
313
- direction: "ascending",
314
- timestamp: "last_edited_time"
315
- }
316
- })
317
- ```
318
-
319
- ## Development
320
-
321
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
322
-
323
- Before using `bin/console` you need to create a new file, `.env`, at the root project directory. This will enable you to run commands directly against your [Notion integration](https://developers.notion.com/docs/getting-started).
324
-
325
- ```
326
- cat > .env <<EOF
327
- API_SECRET=<YOUR NOTION API SECRET HERE>
328
- EOF
329
- ```
330
-
331
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
332
-
333
- ## Contributing
334
-
335
- Bug reports and pull requests are welcome on GitHub at https://github.com/mgmarlow/notion-sdk-ruby.
336
-
337
- ## License
338
-
339
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ # Notion Ruby SDK
2
+
3
+ [![ci](https://github.com/mgmarlow/notion-sdk-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/mgmarlow/notion-sdk-ruby/actions/workflows/ci.yml)
4
+ [![Gem Version](https://badge.fury.io/rb/notion-sdk-ruby.svg)](https://badge.fury.io/rb/notion-sdk-ruby)
5
+
6
+ Unofficial Ruby client for the [Notion APIs](https://developers.notion.com/).
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'notion-sdk-ruby'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ ```
19
+ $ bundle install
20
+ ```
21
+
22
+ ## Documentation
23
+
24
+ - [API documentation](https://mgmarlow.github.io/notion-sdk-ruby/Notion/Client.html)
25
+
26
+ ## Usage
27
+
28
+ Initialize `Notion::Client` with your app's [integration secret](https://developers.notion.com/docs/getting-started#create-a-new-integration).
29
+
30
+ ```rb
31
+ require "notion-sdk-ruby"
32
+ client = Notion::Client.new(token: ENV["NOTION_API_SECRET"])
33
+ ```
34
+
35
+ ## Development
36
+
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
38
+
39
+ Before using `bin/console` you need to create a new file, `.env`, at the root project directory. This will enable you to run commands directly against your [Notion integration](https://developers.notion.com/docs/getting-started).
40
+
41
+ ```
42
+ cat > .env <<EOF
43
+ NOTION_API_KEY=<YOUR NOTION API SECRET HERE>
44
+ EOF
45
+ ```
46
+
47
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
48
+
49
+ ## Contributing
50
+
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/mgmarlow/notion-sdk-ruby.
52
+
53
+ ## License
54
+
55
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).