jupyter_to_scrapbox 0.1.0 → 0.1.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: 948f3717903d4013141c5be1b2775e25c61283f5
4
- data.tar.gz: b38321b0604369962ae00b5774db3d3d26f944d7
3
+ metadata.gz: 17127ea6d3d0623076b3f3ca74150165652bbe01
4
+ data.tar.gz: de436c33d0ceff0c1010ea7a7755ab8f908887d2
5
5
  SHA512:
6
- metadata.gz: 116639cb1609d2183b8fa756cb0a1d2097edc01a50b6e52a2dd7563d615c105c552691df6ae852a591c2fb52127a17a5743dd4b8a26b5bfb46aa90bd6fd7d283
7
- data.tar.gz: 24f3aba9628ddddcd216cebdc344608535758ac894a1485693e9eca47167ce1000729e991d6f0d24f6998cb9ba32a1bb6a3912e31ff237330d650dccb535eab3
6
+ metadata.gz: fff8f35f29cdedb070eb05dbfa756583a0bc42132b42c5d3cd9448f01a64f38b29d1c262556535b619c59eef4740d017ed18feec9c6d28dd1712075b98c64d64
7
+ data.tar.gz: db5d4c8ecf55d2bf5881834d12771af275b21479ddcf8711f9994100ff0ae2ebfe70638175e52b320944fd5b4e7a6859a25f52da4a07f0661937487a06d93ca6
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # JupyterToScrapbox
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jupyter_to_scrapbox`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ The Jupyter Notebook http://jupyter.org is an open-source web application that allows you to create and share documents that contain live code and explanatory text.
4
+
5
+ Scrapbox http://scrapbox.io is a novel note-taking service for teams.
6
+
7
+ This tool converts jupyter notebook file to json file suitable for import to scrapbox.
4
8
 
5
9
  TODO: Delete this and the text above, and describe your gem
6
10
 
@@ -11,22 +15,18 @@ Warning : do not believe the instruction below.
11
15
  Add this line to your application's Gemfile:
12
16
 
13
17
  ```ruby
14
- gem 'jupyter_to_scrapbox'
18
+ gem install jupyter_to_scrapbox
15
19
  ```
16
20
 
17
- And then execute:
18
-
19
- $ bundle
20
-
21
- Or install it yourself as:
22
-
23
- $ gem install jupyter_to_scrapbox
24
-
25
21
  ## Usage
26
22
 
27
23
 
28
- $ bundle exec bin/jupyter_to_scrapbox FILE > scrapbox.json
24
+ $ bundle exec bin/jupyter_to_scrapbox convert FILE > scrapbox.json
25
+
26
+ Follow the instruction of scrapbox's "import pages" tool at the url:
27
+ https://scrapbox.io/help/インポート・エクスポートする#585904d1af5c5b000065ceb3
29
28
 
29
+ Specify scrapbox.json file.
30
30
 
31
31
  ## Development
32
32
 
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.15"
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_dependency "bundler", "~> 1.15"
25
+ spec.add_dependency "rake", "~> 10.0"
26
26
  spec.add_dependency "thor"
27
27
 
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module JupyterToScrapbox
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jupyter_to_scrapbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroharu Sugawara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.15'
20
- type: :development
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
- type: :development
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements: