norikra-client 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 +4 -4
- data/README.md +2 -2
- data/lib/norikra/client/version.rb +1 -1
- data/lib/norikra-client.rb +1 -0
- data/norikra-client.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c702b9133d4d234ed519cc5ed762c0415de724
|
4
|
+
data.tar.gz: d57144f0c8a2d77ba0d5a76615714d3d123ac8e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a722ec6eb9383caada7a769e17653535ceb9b1d472f99679c5dcb229aec7fc3fd02bc886973d3ead179f70a871e2db7d4362161cd545f40767cdd06559ad9db
|
7
|
+
data.tar.gz: 5f3d3b2c6bd454d4757e55fd7fb8a41362e6b8a5b7cf011dfffb0306558c36acbdeab8451e0c012c79891c564ef76dce9153461e651add3cdea77b3526aa97f0
|
data/README.md
CHANGED
@@ -75,7 +75,7 @@ Without fields, the specified target will be opend as 'lazy' mode, and actually
|
|
75
75
|
|
76
76
|
With field definitions, `#open()` creates the target and actually opens it immediately.
|
77
77
|
|
78
|
-
client.open('sample', {id:'
|
78
|
+
client.open('sample', {id:'integer', name:'string', age:'integer', email:'string'})
|
79
79
|
|
80
80
|
Fiels specified on `#open()` are configured as default field set.
|
81
81
|
|
@@ -124,7 +124,7 @@ Stop and remove specified query immediately.
|
|
124
124
|
|
125
125
|
Returns the list of fields definitions, which contains `name`(string), `type`(string) and `optional`(true/false).
|
126
126
|
|
127
|
-
client.fields('sample') #=> [{'name' => 'id', 'type' => '
|
127
|
+
client.fields('sample') #=> [{'name' => 'id', 'type' => 'integer', 'optional' => false}, ...]
|
128
128
|
|
129
129
|
NOTE: Hashes and arrays are just returned as 'hash' and 'array'. Nested fields and these types are not returned to client.
|
130
130
|
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'norikra/client'
|
data/norikra-client.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ["tagomoris@gmail.com"]
|
12
12
|
spec.description = %q{Client commands and libraries for Norikra}
|
13
13
|
spec.summary = %q{Client commands and libraries for Norikra}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/norikra/norikra-client-ruby"
|
15
15
|
spec.license = "APLv2"
|
16
16
|
|
17
17
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norikra-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack-rpc-over-http
|
@@ -94,13 +94,14 @@ files:
|
|
94
94
|
- README.md
|
95
95
|
- Rakefile
|
96
96
|
- bin/norikra-client
|
97
|
+
- lib/norikra-client.rb
|
97
98
|
- lib/norikra/client.rb
|
98
99
|
- lib/norikra/client/cli.rb
|
99
100
|
- lib/norikra/client/cli/formatter.rb
|
100
101
|
- lib/norikra/client/cli/parser.rb
|
101
102
|
- lib/norikra/client/version.rb
|
102
103
|
- norikra-client.gemspec
|
103
|
-
homepage: https://github.com/
|
104
|
+
homepage: https://github.com/norikra/norikra-client-ruby
|
104
105
|
licenses:
|
105
106
|
- APLv2
|
106
107
|
metadata: {}
|