wolfram_databin 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: f128c53975ace10091ddacc9458cde74ce0b1eba
4
- data.tar.gz: f56b8912200278cb18ed8fd11b75d57ead71a65d
3
+ metadata.gz: 6a53fddbfa8fd43701c31f12b8153b7b4581c70f
4
+ data.tar.gz: 9798b61595879cfb9a19591438aa86099109596c
5
5
  SHA512:
6
- metadata.gz: de5b0e5e06f253d49704cc5d935f4b2e187e78d0fef4b975896462a1157e5bf87e2b61bd463359165c2a3f621c357c4a6f6890ecf5a23430b04c2447c37a30d4
7
- data.tar.gz: e6609f0d26ba94aed61f99803f7f428de24edf5d2abda00d7052fb23c2dacad81fc49dfff1bbdd05ae32be6f9a459a384fb7289c989e724c1959437e37024f7f
6
+ metadata.gz: 3d6a761cfe39399d28f68f601775f7f7ec62d12ee700bde305f15e1d9a10809177c9e93beca9df4b7fa9a2c67bbd53cd5c56488f0026c1b3186df55be2227b7b
7
+ data.tar.gz: bdf1624ad32b7eabc01ae22f3f8d5913d8d1ee901de69dfc79b50a3c3e09a9098ba7626378062cab1ef0b3ea829a7d1749e0e542e5baa0fe48020f2af1215939
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wolfram_databin (0.1.0)
4
+ wolfram_databin (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -13,7 +13,9 @@ module WolframDatabin
13
13
  def debug
14
14
  self.debug_flag=true
15
15
  end
16
-
16
+ def datadrop_url
17
+ "http://wolfr.am/#{self.shortid}"
18
+ end
17
19
  def get_url
18
20
  url="https://datadrop.wolframcloud.com/api/v1.0/Add?"
19
21
  url
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.10.0/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" style="display:none;">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2015-05-15T22:20:04+08:00">2015-05-15T22:20:04+08:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2015-05-15T22:39:06+08:00">2015-05-15T22:39:06+08:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
data/test/test_wolfram.rb CHANGED
@@ -19,6 +19,9 @@ class WolframDatabinTest < Minitest::Test
19
19
  def test_creation
20
20
  assert @dbin!=nil, "should be created"
21
21
  end
22
+ def test_datadrop_url
23
+ assert @dbin.datadrop_url=="http://wolfr.am/4PZWVcDT", "should have short id #{@dbin.datadrop_url}"
24
+ end
22
25
 
23
26
  def test_postdatabin
24
27
  time=Time.now
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolfram_databin
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
  - Scott Sproule