zillabyte-cli 0.9.30 → 0.9.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/zillabyte-cli/version.rb +1 -1
- data/lib/zillabyte/cli/rpc.rb +0 -1
- data/lib/zillabyte/cli/templates/apps/js/simple_function.js +1 -1
- data/lib/zillabyte/cli/templates/apps/python/app.py +1 -1
- data/lib/zillabyte/cli/templates/apps/ruby/README.md +3 -3
- data/lib/zillabyte/cli/templates/apps/ruby/app.rb.erb +1 -1
- data/lib/zillabyte/cli/templates/components/js/simple_function.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZWFmNWQ5M2M0MWUwMWNlYjIzNjJkZjRhZjEzODdlZTBhZWY5MjFjZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDUxNzRjZGZmMGY2ZWViZTVmYTQxZGExZDE3MGNiOTVkZWYwOTljNQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NDIzZTQ2NmIxZWE5OTUyZmJlYmZiY2Q0ZDM4M2MyNTRlYTcxNjg3YTk4NmZj
|
|
10
|
+
YjM1ZDNiMjI1ZTViNmZkZmQzMmVkOTBhYmEwY2I1ZTQ2ZjhjZmFlNWIwMTYz
|
|
11
|
+
M2VhY2JiMTA2NWJiMGRkMjkyMzQ3NGNiZmZjMzgyMWY2NWU3ODY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MGM2Y2IzNGM1MTJmZjU3MDhiYTg2NWUzMmZiNDM0NmU1MGQwMWJlOTVmZjA0
|
|
14
|
+
ZWVlNWRlZDk5MTJmYWZmNzQzZDY5YThiNzY0NTllZjc2YTNmMGVkZjU2MDc2
|
|
15
|
+
NWE2YzFlNTkzNDE3M2RkYjdkMTkyMDQyZWNmMzI0M2M0Mjc1OGQ=
|
data/lib/zillabyte/cli/rpc.rb
CHANGED
|
@@ -25,7 +25,7 @@ zillabyte.simple_function({
|
|
|
25
25
|
* web page in our known universe. Your function will have access
|
|
26
26
|
* to two fields: URL and HTML
|
|
27
27
|
*/
|
|
28
|
-
matches: "
|
|
28
|
+
matches: "homepages",
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* This directive tells Zillabyte what kind of data your function
|
|
@@ -12,6 +12,6 @@ def execute(controller, tup):
|
|
|
12
12
|
return
|
|
13
13
|
|
|
14
14
|
app = zillabyte.app(name = "hello_world")
|
|
15
|
-
app.source(matches = "
|
|
15
|
+
app.source(matches = "homepages")\
|
|
16
16
|
.each(execute = execute)\
|
|
17
17
|
.sink(name = "has_hello_world", columns = [{"url":"string"}])
|
|
@@ -20,13 +20,13 @@ require "zillabyte"
|
|
|
20
20
|
# Create an app
|
|
21
21
|
app = Zillabyte.app("hello_world")
|
|
22
22
|
|
|
23
|
-
# Source from the '
|
|
24
|
-
stream = app.source("
|
|
23
|
+
# Source from the 'homepages' dataset
|
|
24
|
+
stream = app.source("homepages")
|
|
25
25
|
|
|
26
26
|
# ...
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
The above [example](http://docs.zillabyte.com/quickstart/hello_world/) will source data from the '
|
|
29
|
+
The above [example](http://docs.zillabyte.com/quickstart/hello_world/) will source data from the 'homepages' dataset. This particular dataset happens to be an [Open Dataset](http://zillabyte.com/data) and is open to all users.
|
|
30
30
|
|
|
31
31
|
You are of course free to create private datasets that will not be accessible to the public. To do so, use the `zillabyte data` commands.
|
|
32
32
|
|
|
@@ -25,7 +25,7 @@ zillabyte.simple_function({
|
|
|
25
25
|
* web page in our known universe. Your function will have access
|
|
26
26
|
* to two fields: URL and HTML
|
|
27
27
|
*/
|
|
28
|
-
matches: "
|
|
28
|
+
matches: "homepages",
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* This directive tells Zillabyte what kind of data your function
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zillabyte-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- zillabyte
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|