elastics-client 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/elastics-client.gemspec +1 -1
- data/lib/elastics/api_stubs.rb +588 -229
- data/lib/elastics/class_proxy/templates/doc.rb +6 -5
- metadata +3 -3
@@ -49,7 +49,11 @@ module Elastics
|
|
49
49
|
formatted = lines.map{ |line| "%-#{max[0]}s %-#{max[1]}s => %-#{max[2]}s %s" % line }
|
50
50
|
indented = formatted.shift
|
51
51
|
indented = [indented] + formatted.map{ |line| indent + line }
|
52
|
-
indented.join("\n") + "\n "
|
52
|
+
indented = indented.join("\n") + "\n "
|
53
|
+
notice = if @template.is_a?(Elastics::Template::Api) && @template.references['notice']
|
54
|
+
"\nNotice: #{@template.references['notice']}\n "
|
55
|
+
end
|
56
|
+
indented + notice
|
53
57
|
end
|
54
58
|
|
55
59
|
|
@@ -81,9 +85,6 @@ module Elastics
|
|
81
85
|
|
82
86
|
|
83
87
|
def render_api
|
84
|
-
notice = if @template.is_a?(Elastics::Template::Api) && @template.references['notice']
|
85
|
-
"\nNotice: #{@template.references['notice']}\n "
|
86
|
-
end
|
87
88
|
<<-output.gsub(/^ {12}/m,'')
|
88
89
|
########## #{@method_call} ##########
|
89
90
|
|
@@ -92,7 +93,7 @@ module Elastics
|
|
92
93
|
|
93
94
|
#{render_sources}
|
94
95
|
Usage:
|
95
|
-
#{render_usage(' ' * 12)}
|
96
|
+
#{render_usage(' ' * 12)}
|
96
97
|
output
|
97
98
|
end
|
98
99
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastics-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Domizio Demichelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -137,7 +137,7 @@ post_install_message: |
|
|
137
137
|
|
138
138
|
New Documentation: http://elastics.github.io/elastics
|
139
139
|
|
140
|
-
Upgrading Tutorial: http://elastics.github.io/elastics/doc/7-
|
140
|
+
Upgrading Tutorial: http://elastics.github.io/elastics/doc/7-tutorials/2-Migrate-from-0.x.html
|
141
141
|
|
142
142
|
________________________________________________________________________________
|
143
143
|
rdoc_options:
|