metric_tools 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/doc/Object.html CHANGED
@@ -43,12 +43,12 @@
43
43
  </nav>
44
44
 
45
45
 
46
+
47
+
46
48
  <div id="file-metadata">
47
49
  <nav id="file-list-section" class="section">
48
50
  <h3 class="section-header">Defined In</h3>
49
51
  <ul>
50
- <li>lib/metric_tools.rb
51
- <li>spec/skype_spec.rb
52
52
  <li>spec/spread_sheet_spec.rb
53
53
  </ul>
54
54
  </nav>
@@ -79,6 +79,7 @@
79
79
  </nav>
80
80
 
81
81
 
82
+
82
83
  </div>
83
84
 
84
85
  <div id="project-metadata">
@@ -89,8 +90,14 @@
89
90
 
90
91
  <li class="file"><a href="./Gemfile.html">Gemfile</a>
91
92
 
93
+ <li class="file"><a href="./README_md.html">README</a>
94
+
92
95
  <li class="file"><a href="./config/my_pref.html">my_pref</a>
93
96
 
97
+ <li class="file"><a href="./doc/created_rid.html">created.rid</a>
98
+
99
+ <li class="file"><a href="./metric_tools_gemspec.html">metric_tools.gemspec</a>
100
+
94
101
  </ul>
95
102
  </nav>
96
103
 
@@ -99,28 +106,28 @@
99
106
 
100
107
  <ul class="link-list">
101
108
 
109
+ <li><a href="./AWS.html">AWS</a>
110
+
111
+ <li><a href="./AWS/S3.html">AWS::S3</a>
112
+
102
113
  <li><a href="./MetricTools.html">MetricTools</a>
103
114
 
104
115
  <li><a href="./MetricTools/IndexTree.html">MetricTools::IndexTree</a>
105
116
 
106
117
  <li><a href="./MetricTools/S3.html">MetricTools::S3</a>
107
118
 
108
- <li><a href="./MetricTools/Skype.html">MetricTools::Skype</a>
109
-
110
119
  <li><a href="./MetricTools/SpreadSheet.html">MetricTools::SpreadSheet</a>
111
120
 
112
121
  <li><a href="./MetricTools/Table.html">MetricTools::Table</a>
113
122
 
123
+ <li><a href="./Object.html">Object</a>
124
+
114
125
  <li><a href="./Pref.html">Pref</a>
115
126
 
116
127
  <li><a href="./Pref/GoogleDocs.html">Pref::GoogleDocs</a>
117
128
 
118
129
  <li><a href="./Pref/S3.html">Pref::S3</a>
119
130
 
120
- <li><a href="./Pref/Skype.html">Pref::Skype</a>
121
-
122
- <li><a href="./Object.html">Object</a>
123
-
124
131
  </ul>
125
132
  </nav>
126
133
 
@@ -143,24 +150,6 @@
143
150
 
144
151
 
145
152
 
146
- <!-- Constants -->
147
- <section id="constants-list" class="section">
148
- <h3 class="section-header">Constants</h3>
149
- <dl>
150
-
151
- <dt id="LIB_PATH">LIB_PATH
152
-
153
- <dd class="description">
154
-
155
-
156
- <dt id="ROOT_PATH">ROOT_PATH
157
-
158
- <dd class="description">
159
-
160
-
161
- </dl>
162
- </section>
163
-
164
153
 
165
154
 
166
155
 
@@ -173,7 +162,7 @@
173
162
 
174
163
  <footer id="validator-badges">
175
164
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
176
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
165
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
177
166
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
178
167
  </footer>
179
168
 
data/doc/Pref.html CHANGED
@@ -43,11 +43,15 @@
43
43
  </nav>
44
44
 
45
45
 
46
+
47
+
46
48
  <div id="file-metadata">
47
49
  <nav id="file-list-section" class="section">
48
50
  <h3 class="section-header">Defined In</h3>
49
51
  <ul>
50
52
  <li>config/pref.rb
53
+ <li>spec/s3_spec.rb
54
+ <li>spec/spread_sheet_spec.rb
51
55
  </ul>
52
56
  </nav>
53
57
 
@@ -59,6 +63,7 @@
59
63
 
60
64
 
61
65
 
66
+
62
67
  </div>
63
68
 
64
69
  <div id="project-metadata">
@@ -69,8 +74,14 @@
69
74
 
70
75
  <li class="file"><a href="./Gemfile.html">Gemfile</a>
71
76
 
77
+ <li class="file"><a href="./README_md.html">README</a>
78
+
72
79
  <li class="file"><a href="./config/my_pref.html">my_pref</a>
73
80
 
81
+ <li class="file"><a href="./doc/created_rid.html">created.rid</a>
82
+
83
+ <li class="file"><a href="./metric_tools_gemspec.html">metric_tools.gemspec</a>
84
+
74
85
  </ul>
75
86
  </nav>
76
87
 
@@ -79,28 +90,28 @@
79
90
 
80
91
  <ul class="link-list">
81
92
 
93
+ <li><a href="./AWS.html">AWS</a>
94
+
95
+ <li><a href="./AWS/S3.html">AWS::S3</a>
96
+
82
97
  <li><a href="./MetricTools.html">MetricTools</a>
83
98
 
84
99
  <li><a href="./MetricTools/IndexTree.html">MetricTools::IndexTree</a>
85
100
 
86
101
  <li><a href="./MetricTools/S3.html">MetricTools::S3</a>
87
102
 
88
- <li><a href="./MetricTools/Skype.html">MetricTools::Skype</a>
89
-
90
103
  <li><a href="./MetricTools/SpreadSheet.html">MetricTools::SpreadSheet</a>
91
104
 
92
105
  <li><a href="./MetricTools/Table.html">MetricTools::Table</a>
93
106
 
107
+ <li><a href="./Object.html">Object</a>
108
+
94
109
  <li><a href="./Pref.html">Pref</a>
95
110
 
96
111
  <li><a href="./Pref/GoogleDocs.html">Pref::GoogleDocs</a>
97
112
 
98
113
  <li><a href="./Pref/S3.html">Pref::S3</a>
99
114
 
100
- <li><a href="./Pref/Skype.html">Pref::Skype</a>
101
-
102
- <li><a href="./Object.html">Object</a>
103
-
104
115
  </ul>
105
116
  </nav>
106
117
 
@@ -135,7 +146,7 @@
135
146
 
136
147
  <footer id="validator-badges">
137
148
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
138
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
149
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
139
150
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
140
151
  </footer>
141
152
 
@@ -43,11 +43,14 @@
43
43
  </nav>
44
44
 
45
45
 
46
+
47
+
46
48
  <div id="file-metadata">
47
49
  <nav id="file-list-section" class="section">
48
50
  <h3 class="section-header">Defined In</h3>
49
51
  <ul>
50
52
  <li>config/pref.rb
53
+ <li>spec/spread_sheet_spec.rb
51
54
  </ul>
52
55
  </nav>
53
56
 
@@ -59,6 +62,7 @@
59
62
 
60
63
 
61
64
 
65
+
62
66
  </div>
63
67
 
64
68
  <div id="project-metadata">
@@ -69,8 +73,14 @@
69
73
 
70
74
  <li class="file"><a href="../Gemfile.html">Gemfile</a>
71
75
 
76
+ <li class="file"><a href="../README_md.html">README</a>
77
+
72
78
  <li class="file"><a href="../config/my_pref.html">my_pref</a>
73
79
 
80
+ <li class="file"><a href="../doc/created_rid.html">created.rid</a>
81
+
82
+ <li class="file"><a href="../metric_tools_gemspec.html">metric_tools.gemspec</a>
83
+
74
84
  </ul>
75
85
  </nav>
76
86
 
@@ -79,28 +89,28 @@
79
89
 
80
90
  <ul class="link-list">
81
91
 
92
+ <li><a href="../AWS.html">AWS</a>
93
+
94
+ <li><a href="../AWS/S3.html">AWS::S3</a>
95
+
82
96
  <li><a href="../MetricTools.html">MetricTools</a>
83
97
 
84
98
  <li><a href="../MetricTools/IndexTree.html">MetricTools::IndexTree</a>
85
99
 
86
100
  <li><a href="../MetricTools/S3.html">MetricTools::S3</a>
87
101
 
88
- <li><a href="../MetricTools/Skype.html">MetricTools::Skype</a>
89
-
90
102
  <li><a href="../MetricTools/SpreadSheet.html">MetricTools::SpreadSheet</a>
91
103
 
92
104
  <li><a href="../MetricTools/Table.html">MetricTools::Table</a>
93
105
 
106
+ <li><a href="../Object.html">Object</a>
107
+
94
108
  <li><a href="../Pref.html">Pref</a>
95
109
 
96
110
  <li><a href="../Pref/GoogleDocs.html">Pref::GoogleDocs</a>
97
111
 
98
112
  <li><a href="../Pref/S3.html">Pref::S3</a>
99
113
 
100
- <li><a href="../Pref/Skype.html">Pref::Skype</a>
101
-
102
- <li><a href="../Object.html">Object</a>
103
-
104
114
  </ul>
105
115
  </nav>
106
116
 
@@ -170,7 +180,7 @@
170
180
 
171
181
  <footer id="validator-badges">
172
182
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
173
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
183
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
174
184
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
175
185
  </footer>
176
186
 
data/doc/Pref/S3.html CHANGED
@@ -43,11 +43,14 @@
43
43
  </nav>
44
44
 
45
45
 
46
+
47
+
46
48
  <div id="file-metadata">
47
49
  <nav id="file-list-section" class="section">
48
50
  <h3 class="section-header">Defined In</h3>
49
51
  <ul>
50
52
  <li>config/pref.rb
53
+ <li>spec/s3_spec.rb
51
54
  </ul>
52
55
  </nav>
53
56
 
@@ -59,6 +62,7 @@
59
62
 
60
63
 
61
64
 
65
+
62
66
  </div>
63
67
 
64
68
  <div id="project-metadata">
@@ -69,8 +73,14 @@
69
73
 
70
74
  <li class="file"><a href="../Gemfile.html">Gemfile</a>
71
75
 
76
+ <li class="file"><a href="../README_md.html">README</a>
77
+
72
78
  <li class="file"><a href="../config/my_pref.html">my_pref</a>
73
79
 
80
+ <li class="file"><a href="../doc/created_rid.html">created.rid</a>
81
+
82
+ <li class="file"><a href="../metric_tools_gemspec.html">metric_tools.gemspec</a>
83
+
74
84
  </ul>
75
85
  </nav>
76
86
 
@@ -79,28 +89,28 @@
79
89
 
80
90
  <ul class="link-list">
81
91
 
92
+ <li><a href="../AWS.html">AWS</a>
93
+
94
+ <li><a href="../AWS/S3.html">AWS::S3</a>
95
+
82
96
  <li><a href="../MetricTools.html">MetricTools</a>
83
97
 
84
98
  <li><a href="../MetricTools/IndexTree.html">MetricTools::IndexTree</a>
85
99
 
86
100
  <li><a href="../MetricTools/S3.html">MetricTools::S3</a>
87
101
 
88
- <li><a href="../MetricTools/Skype.html">MetricTools::Skype</a>
89
-
90
102
  <li><a href="../MetricTools/SpreadSheet.html">MetricTools::SpreadSheet</a>
91
103
 
92
104
  <li><a href="../MetricTools/Table.html">MetricTools::Table</a>
93
105
 
106
+ <li><a href="../Object.html">Object</a>
107
+
94
108
  <li><a href="../Pref.html">Pref</a>
95
109
 
96
110
  <li><a href="../Pref/GoogleDocs.html">Pref::GoogleDocs</a>
97
111
 
98
112
  <li><a href="../Pref/S3.html">Pref::S3</a>
99
113
 
100
- <li><a href="../Pref/Skype.html">Pref::Skype</a>
101
-
102
- <li><a href="../Object.html">Object</a>
103
-
104
114
  </ul>
105
115
  </nav>
106
116
 
@@ -175,7 +185,7 @@
175
185
 
176
186
  <footer id="validator-badges">
177
187
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
178
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
188
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
179
189
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
180
190
  </footer>
181
191
 
@@ -0,0 +1,170 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body class="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+ <div id="table-of-contents">
48
+ <nav class="section">
49
+ <h3 class="section-header">Table of Contents</h3>
50
+ <ul>
51
+ <li><a href="#label-metric_tools">metric_tools</a>
52
+ <li><a href="#label-Install">Install</a>
53
+ <li><a href="#label-Usage">Usage</a>
54
+ <li><a href="#label-SpreadSheet">SpreadSheet</a>
55
+ <li><a href="#label-S3">S3</a>
56
+ <li><a href="#label-Skype">Skype</a>
57
+ <li><a href="#label-Version+Info">Version Info</a>
58
+ </ul>
59
+ </nav>
60
+ </div>
61
+
62
+
63
+ <div id="project-metadata">
64
+ <nav id="fileindex-section" class="section project-section">
65
+ <h3 class="section-header">Pages</h3>
66
+
67
+ <ul>
68
+
69
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
70
+
71
+ <li class="file"><a href="./README_md.html">README</a>
72
+
73
+ <li class="file"><a href="./config/my_pref.html">my_pref</a>
74
+
75
+ <li class="file"><a href="./doc/created_rid.html">created.rid</a>
76
+
77
+ <li class="file"><a href="./metric_tools_gemspec.html">metric_tools.gemspec</a>
78
+
79
+ </ul>
80
+ </nav>
81
+
82
+ <nav id="classindex-section" class="section project-section">
83
+ <h3 class="section-header">Class and Module Index</h3>
84
+
85
+ <ul class="link-list">
86
+
87
+ <li><a href="./AWS.html">AWS</a>
88
+
89
+ <li><a href="./AWS/S3.html">AWS::S3</a>
90
+
91
+ <li><a href="./MetricTools.html">MetricTools</a>
92
+
93
+ <li><a href="./MetricTools/IndexTree.html">MetricTools::IndexTree</a>
94
+
95
+ <li><a href="./MetricTools/S3.html">MetricTools::S3</a>
96
+
97
+ <li><a href="./MetricTools/SpreadSheet.html">MetricTools::SpreadSheet</a>
98
+
99
+ <li><a href="./MetricTools/Table.html">MetricTools::Table</a>
100
+
101
+ <li><a href="./Object.html">Object</a>
102
+
103
+ <li><a href="./Pref.html">Pref</a>
104
+
105
+ <li><a href="./Pref/GoogleDocs.html">Pref::GoogleDocs</a>
106
+
107
+ <li><a href="./Pref/S3.html">Pref::S3</a>
108
+
109
+ </ul>
110
+ </nav>
111
+
112
+ </div>
113
+ </nav>
114
+
115
+ <div id="documentation" class="description">
116
+
117
+ <h1 id="label-metric_tools">metric_tools<span><a href="#label-metric_tools">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
118
+
119
+ <p>各種指標を観察したり、データを先方に共有したりといった時によく使う便利なユーティリティをまとめました</p>
120
+ <hr style="height: 1px">
121
+
122
+ <h2 id="label-Install">Install<span><a href="#label-Install">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
123
+
124
+ <pre>gem install metric_tools</pre>
125
+
126
+ <h2 id="label-Usage">Usage<span><a href="#label-Usage">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
127
+
128
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'metric_tools'</span>
129
+ <span class="ruby-identifier">include</span> <span class="ruby-constant">MetricTools</span>
130
+ </pre>
131
+
132
+ <h3 id="label-SpreadSheet">SpreadSheet<span><a href="#label-SpreadSheet">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
133
+
134
+ <pre>SpreadSheet.login('masaori+test@pankaku.com', 'fugafuga', 'A6Dkfndoh9+jdnf29df016f') #login google docs spreadsheet
135
+ SpreadSheet.change_worksheet_by_title(sheet_title) #specify worksheet
136
+
137
+ SpreadSheet[0, 1] = 'HogeHoge'
138
+
139
+ SpreadSheet.save #call &quot;save&quot; lastly</pre>
140
+
141
+ <h3 id="label-S3">S3<span><a href="#label-S3">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
142
+
143
+ <pre class="ruby"><span class="ruby-constant">S3</span>.<span class="ruby-identifier">login</span>(<span class="ruby-string">'Access_Key'</span>, <span class="ruby-string">'secret_key~~'</span>, <span class="ruby-string">'bucket-name!'</span>)
144
+ <span class="ruby-constant">S3</span>.<span class="ruby-identifier">fetch_all</span>(<span class="ruby-string">'logs/retention_rate'</span>, <span class="ruby-string">'/User/masaori/Desktop/'</span>) <span class="ruby-comment">#fetch all files in specified s3 directory</span>
145
+
146
+ <span class="ruby-comment"># You can give a condition.</span>
147
+ <span class="ruby-constant">S3</span>.<span class="ruby-identifier">fetch_all</span>(<span class="ruby-string">'logs/retention_rate, '</span><span class="ruby-operator">/</span><span class="ruby-constant">User</span><span class="ruby-operator">/</span><span class="ruby-identifier">masaori</span><span class="ruby-operator">/</span><span class="ruby-constant">Desktop</span><span class="ruby-operator">/</span><span class="ruby-string">') {|f| f.name.include? &quot;.rb&quot; } #Download all &quot;.rb&quot; files
148
+ </span></pre>
149
+
150
+ <h3 id="label-Skype">Skype<span><a href="#label-Skype">&para;</a> <a href="#documentation">&uarr;</a></span></h3>
151
+
152
+ <pre>#! You need to launch Skype app on your OSX.
153
+ Skype.login_chat(&quot;[パンカク] DeluxeCafeの部屋&quot;)
154
+ Skype.post(&quot;テストです。&quot;)</pre>
155
+
156
+ <h2 id="label-Version+Info">Version Info<span><a href="#label-Version+Info">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
157
+ <ul><li>
158
+ <p>0.0.1 (2013/2/12 released)</p>
159
+ </li></ul>
160
+
161
+ </div>
162
+
163
+
164
+
165
+ <footer id="validator-badges">
166
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
167
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
168
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
169
+ </footer>
170
+