forklift_etl 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +8 -8
  2. data/forklift.jpg +0 -0
  3. data/lib/forklift/transports/mysql.rb +3 -2
  4. data/lib/forklift/version.rb +1 -1
  5. metadata +1 -58
  6. data/doc/EmailSuffix.html +0 -228
  7. data/doc/Forklift/Base/Connection.html +0 -590
  8. data/doc/Forklift/Base/Logger.html +0 -453
  9. data/doc/Forklift/Base/Mailer/ERBBinding.html +0 -256
  10. data/doc/Forklift/Base/Mailer.html +0 -399
  11. data/doc/Forklift/Base/Pid.html +0 -489
  12. data/doc/Forklift/Base/Utils.html +0 -252
  13. data/doc/Forklift/Base.html +0 -167
  14. data/doc/Forklift/Connection/Elasticsearch.html +0 -419
  15. data/doc/Forklift/Connection/Mysql.html +0 -939
  16. data/doc/Forklift/Connection.html +0 -164
  17. data/doc/Forklift/Patterns/Elasticsearch.html +0 -169
  18. data/doc/Forklift/Patterns/Mysql.html +0 -402
  19. data/doc/Forklift/Patterns.html +0 -164
  20. data/doc/Forklift/Plan.html +0 -704
  21. data/doc/Forklift.html +0 -187
  22. data/doc/Gemfile.html +0 -132
  23. data/doc/Object.html +0 -326
  24. data/doc/Rakefile.html +0 -138
  25. data/doc/SpecClient.html +0 -291
  26. data/doc/SpecPlan.html +0 -253
  27. data/doc/SpecSeeds.html +0 -303
  28. data/doc/created.rid +0 -35
  29. data/doc/example/Gemfile.html +0 -129
  30. data/doc/images/add.png +0 -0
  31. data/doc/images/brick.png +0 -0
  32. data/doc/images/brick_link.png +0 -0
  33. data/doc/images/bug.png +0 -0
  34. data/doc/images/bullet_black.png +0 -0
  35. data/doc/images/bullet_toggle_minus.png +0 -0
  36. data/doc/images/bullet_toggle_plus.png +0 -0
  37. data/doc/images/date.png +0 -0
  38. data/doc/images/delete.png +0 -0
  39. data/doc/images/find.png +0 -0
  40. data/doc/images/loadingAnimation.gif +0 -0
  41. data/doc/images/macFFBgHack.png +0 -0
  42. data/doc/images/package.png +0 -0
  43. data/doc/images/page_green.png +0 -0
  44. data/doc/images/page_white_text.png +0 -0
  45. data/doc/images/page_white_width.png +0 -0
  46. data/doc/images/plugin.png +0 -0
  47. data/doc/images/ruby.png +0 -0
  48. data/doc/images/tag_blue.png +0 -0
  49. data/doc/images/tag_green.png +0 -0
  50. data/doc/images/transparent.png +0 -0
  51. data/doc/images/wrench.png +0 -0
  52. data/doc/images/wrench_orange.png +0 -0
  53. data/doc/images/zoom.png +0 -0
  54. data/doc/index.html +0 -122
  55. data/doc/js/darkfish.js +0 -155
  56. data/doc/js/jquery.js +0 -18
  57. data/doc/js/navigation.js +0 -142
  58. data/doc/js/search.js +0 -94
  59. data/doc/js/search_index.js +0 -1
  60. data/doc/js/searcher.js +0 -228
  61. data/doc/rdoc.css +0 -543
  62. data/doc/table_of_contents.html +0 -309
data/doc/Forklift.html DELETED
@@ -1,187 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>module Forklift - 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 id="top" class="module">
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
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/forklift/base/connection.rb
51
- <li>lib/forklift/base/logger.rb
52
- <li>lib/forklift/base/mailer.rb
53
- <li>lib/forklift/base/pid.rb
54
- <li>lib/forklift/base/utils.rb
55
- <li>lib/forklift/forklift.rb
56
- <li>lib/forklift/patterns/elasticsearch_patterns.rb
57
- <li>lib/forklift/patterns/mysql_patterns.rb
58
- <li>lib/forklift/plan.rb
59
- <li>lib/forklift/transports/elasticsearch.rb
60
- <li>lib/forklift/transports/mysql.rb
61
- <li>lib/forklift/version.rb
62
- </ul>
63
- </nav>
64
-
65
-
66
- </div>
67
-
68
- <div id="class-metadata">
69
-
70
-
71
-
72
-
73
- </div>
74
-
75
- <div id="project-metadata">
76
- <nav id="fileindex-section" class="section project-section">
77
- <h3 class="section-header">Pages</h3>
78
-
79
- <ul>
80
-
81
- <li class="file"><a href="./Gemfile.html">Gemfile</a>
82
-
83
- <li class="file"><a href="./Rakefile.html">Rakefile</a>
84
-
85
- <li class="file"><a href="./example/Gemfile.html">Gemfile</a>
86
-
87
- <li class="file"><a href="./spec/pid/pidfile.html">pidfile</a>
88
-
89
- </ul>
90
- </nav>
91
-
92
- <nav id="classindex-section" class="section project-section">
93
- <h3 class="section-header">Class and Module Index</h3>
94
-
95
- <ul class="link-list">
96
-
97
- <li><a href="./Forklift.html">Forklift</a>
98
-
99
- <li><a href="./Forklift/Base.html">Forklift::Base</a>
100
-
101
- <li><a href="./Forklift/Base/Connection.html">Forklift::Base::Connection</a>
102
-
103
- <li><a href="./Forklift/Base/Logger.html">Forklift::Base::Logger</a>
104
-
105
- <li><a href="./Forklift/Base/Mailer.html">Forklift::Base::Mailer</a>
106
-
107
- <li><a href="./Forklift/Base/Mailer/ERBBinding.html">Forklift::Base::Mailer::ERBBinding</a>
108
-
109
- <li><a href="./Forklift/Base/Pid.html">Forklift::Base::Pid</a>
110
-
111
- <li><a href="./Forklift/Base/Utils.html">Forklift::Base::Utils</a>
112
-
113
- <li><a href="./Forklift/Connection.html">Forklift::Connection</a>
114
-
115
- <li><a href="./Forklift/Connection/Elasticsearch.html">Forklift::Connection::Elasticsearch</a>
116
-
117
- <li><a href="./Forklift/Connection/Mysql.html">Forklift::Connection::Mysql</a>
118
-
119
- <li><a href="./Forklift/Patterns.html">Forklift::Patterns</a>
120
-
121
- <li><a href="./Forklift/Patterns/Elasticsearch.html">Forklift::Patterns::Elasticsearch</a>
122
-
123
- <li><a href="./Forklift/Patterns/Mysql.html">Forklift::Patterns::Mysql</a>
124
-
125
- <li><a href="./Forklift/Plan.html">Forklift::Plan</a>
126
-
127
- <li><a href="./EmailSuffix.html">EmailSuffix</a>
128
-
129
- <li><a href="./Object.html">Object</a>
130
-
131
- <li><a href="./SpecClient.html">SpecClient</a>
132
-
133
- <li><a href="./SpecPlan.html">SpecPlan</a>
134
-
135
- <li><a href="./SpecSeeds.html">SpecSeeds</a>
136
-
137
- </ul>
138
- </nav>
139
-
140
- </div>
141
- </nav>
142
-
143
- <div id="documentation">
144
- <h1 class="module">module Forklift</h1>
145
-
146
- <div id="description" class="description">
147
-
148
- </div><!-- description -->
149
-
150
-
151
-
152
-
153
- <section id="5Buntitled-5D" class="documentation-section">
154
-
155
-
156
-
157
-
158
-
159
- <!-- Constants -->
160
- <section id="constants-list" class="section">
161
- <h3 class="section-header">Constants</h3>
162
- <dl>
163
-
164
- <dt id="VERSION">VERSION
165
-
166
- <dd class="description">
167
-
168
-
169
- </dl>
170
- </section>
171
-
172
-
173
-
174
-
175
- <!-- Methods -->
176
-
177
- </section><!-- 5Buntitled-5D -->
178
-
179
- </div><!-- documentation -->
180
-
181
-
182
- <footer id="validator-badges">
183
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
184
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
185
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
186
- </footer>
187
-
data/doc/Gemfile.html DELETED
@@ -1,132 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>Gemfile - 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
- <div id="project-metadata">
47
- <nav id="fileindex-section" class="section project-section">
48
- <h3 class="section-header">Pages</h3>
49
-
50
- <ul>
51
-
52
- <li class="file"><a href="./Gemfile.html">Gemfile</a>
53
-
54
- <li class="file"><a href="./Rakefile.html">Rakefile</a>
55
-
56
- <li class="file"><a href="./example/Gemfile.html">Gemfile</a>
57
-
58
- <li class="file"><a href="./spec/pid/pidfile.html">pidfile</a>
59
-
60
- </ul>
61
- </nav>
62
-
63
- <nav id="classindex-section" class="section project-section">
64
- <h3 class="section-header">Class and Module Index</h3>
65
-
66
- <ul class="link-list">
67
-
68
- <li><a href="./Forklift.html">Forklift</a>
69
-
70
- <li><a href="./Forklift/Base.html">Forklift::Base</a>
71
-
72
- <li><a href="./Forklift/Base/Connection.html">Forklift::Base::Connection</a>
73
-
74
- <li><a href="./Forklift/Base/Logger.html">Forklift::Base::Logger</a>
75
-
76
- <li><a href="./Forklift/Base/Mailer.html">Forklift::Base::Mailer</a>
77
-
78
- <li><a href="./Forklift/Base/Mailer/ERBBinding.html">Forklift::Base::Mailer::ERBBinding</a>
79
-
80
- <li><a href="./Forklift/Base/Pid.html">Forklift::Base::Pid</a>
81
-
82
- <li><a href="./Forklift/Base/Utils.html">Forklift::Base::Utils</a>
83
-
84
- <li><a href="./Forklift/Connection.html">Forklift::Connection</a>
85
-
86
- <li><a href="./Forklift/Connection/Elasticsearch.html">Forklift::Connection::Elasticsearch</a>
87
-
88
- <li><a href="./Forklift/Connection/Mysql.html">Forklift::Connection::Mysql</a>
89
-
90
- <li><a href="./Forklift/Patterns.html">Forklift::Patterns</a>
91
-
92
- <li><a href="./Forklift/Patterns/Elasticsearch.html">Forklift::Patterns::Elasticsearch</a>
93
-
94
- <li><a href="./Forklift/Patterns/Mysql.html">Forklift::Patterns::Mysql</a>
95
-
96
- <li><a href="./Forklift/Plan.html">Forklift::Plan</a>
97
-
98
- <li><a href="./EmailSuffix.html">EmailSuffix</a>
99
-
100
- <li><a href="./Object.html">Object</a>
101
-
102
- <li><a href="./SpecClient.html">SpecClient</a>
103
-
104
- <li><a href="./SpecPlan.html">SpecPlan</a>
105
-
106
- <li><a href="./SpecSeeds.html">SpecSeeds</a>
107
-
108
- </ul>
109
- </nav>
110
-
111
- </div>
112
- </nav>
113
-
114
- <div id="documentation" class="description">
115
-
116
- <p>source ‘<a href="https://rubygems.org">rubygems.org</a>’</p>
117
-
118
- <p># Specify your gem’s dependencies in gemspec gemspec</p>
119
-
120
- <p>gem ‘rake’ gem ‘rspec’ gem ‘awesome_print’ gem ‘email_spec’ # gem
121
- ‘debugger’</p>
122
-
123
- </div>
124
-
125
-
126
-
127
- <footer id="validator-badges">
128
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
129
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
130
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
131
- </footer>
132
-
data/doc/Object.html DELETED
@@ -1,326 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class Object - 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 id="top" class="class">
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
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>bin/forklift
51
- <li>spec/unit/misc/email_spec.rb
52
- </ul>
53
- </nav>
54
-
55
-
56
- </div>
57
-
58
- <div id="class-metadata">
59
-
60
- <nav id="parent-class-section" class="section">
61
- <h3 class="section-header">Parent</h3>
62
-
63
- <p class="link">BasicObject
64
-
65
- </nav>
66
-
67
- <!-- Included Modules -->
68
- <nav id="includes-section" class="section">
69
- <h3 class="section-header">Included Modules</h3>
70
-
71
- <ul class="link-list">
72
-
73
-
74
- <li><span class="include">EmailSpec::Helpers</span>
75
-
76
-
77
-
78
- <li><span class="include">EmailSpec::Matchers</span>
79
-
80
-
81
- </ul>
82
- </nav>
83
-
84
- <!-- Method Quickref -->
85
- <nav id="method-list-section" class="section">
86
- <h3 class="section-header">Methods</h3>
87
-
88
- <ul class="link-list">
89
-
90
- <li><a href="#method-i-generate">#generate</a>
91
-
92
- <li><a href="#method-i-run_plan">#run_plan</a>
93
-
94
- <li><a href="#method-i-template">#template</a>
95
-
96
- </ul>
97
- </nav>
98
-
99
- </div>
100
-
101
- <div id="project-metadata">
102
- <nav id="fileindex-section" class="section project-section">
103
- <h3 class="section-header">Pages</h3>
104
-
105
- <ul>
106
-
107
- <li class="file"><a href="./Gemfile.html">Gemfile</a>
108
-
109
- <li class="file"><a href="./Rakefile.html">Rakefile</a>
110
-
111
- <li class="file"><a href="./example/Gemfile.html">Gemfile</a>
112
-
113
- <li class="file"><a href="./spec/pid/pidfile.html">pidfile</a>
114
-
115
- </ul>
116
- </nav>
117
-
118
- <nav id="classindex-section" class="section project-section">
119
- <h3 class="section-header">Class and Module Index</h3>
120
-
121
- <ul class="link-list">
122
-
123
- <li><a href="./Forklift.html">Forklift</a>
124
-
125
- <li><a href="./Forklift/Base.html">Forklift::Base</a>
126
-
127
- <li><a href="./Forklift/Base/Connection.html">Forklift::Base::Connection</a>
128
-
129
- <li><a href="./Forklift/Base/Logger.html">Forklift::Base::Logger</a>
130
-
131
- <li><a href="./Forklift/Base/Mailer.html">Forklift::Base::Mailer</a>
132
-
133
- <li><a href="./Forklift/Base/Mailer/ERBBinding.html">Forklift::Base::Mailer::ERBBinding</a>
134
-
135
- <li><a href="./Forklift/Base/Pid.html">Forklift::Base::Pid</a>
136
-
137
- <li><a href="./Forklift/Base/Utils.html">Forklift::Base::Utils</a>
138
-
139
- <li><a href="./Forklift/Connection.html">Forklift::Connection</a>
140
-
141
- <li><a href="./Forklift/Connection/Elasticsearch.html">Forklift::Connection::Elasticsearch</a>
142
-
143
- <li><a href="./Forklift/Connection/Mysql.html">Forklift::Connection::Mysql</a>
144
-
145
- <li><a href="./Forklift/Patterns.html">Forklift::Patterns</a>
146
-
147
- <li><a href="./Forklift/Patterns/Elasticsearch.html">Forklift::Patterns::Elasticsearch</a>
148
-
149
- <li><a href="./Forklift/Patterns/Mysql.html">Forklift::Patterns::Mysql</a>
150
-
151
- <li><a href="./Forklift/Plan.html">Forklift::Plan</a>
152
-
153
- <li><a href="./EmailSuffix.html">EmailSuffix</a>
154
-
155
- <li><a href="./Object.html">Object</a>
156
-
157
- <li><a href="./SpecClient.html">SpecClient</a>
158
-
159
- <li><a href="./SpecPlan.html">SpecPlan</a>
160
-
161
- <li><a href="./SpecSeeds.html">SpecSeeds</a>
162
-
163
- </ul>
164
- </nav>
165
-
166
- </div>
167
- </nav>
168
-
169
- <div id="documentation">
170
- <h1 class="class">class Object</h1>
171
-
172
- <div id="description" class="description">
173
-
174
- </div><!-- description -->
175
-
176
-
177
-
178
-
179
- <section id="5Buntitled-5D" class="documentation-section">
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
- <!-- Methods -->
189
-
190
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
191
- <h3 class="section-header">Public Instance Methods</h3>
192
-
193
-
194
- <div id="method-i-generate" class="method-detail ">
195
-
196
- <div class="method-heading">
197
- <span class="method-name">generate</span><span
198
- class="method-args">()</span>
199
- <span class="method-click-advice">click to toggle source</span>
200
- </div>
201
-
202
-
203
- <div class="method-description">
204
-
205
-
206
-
207
-
208
-
209
- <div class="method-source-code" id="generate-source">
210
- <pre><span class="ruby-comment"># File bin/forklift, line 12</span>
211
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">generate</span>
212
- <span class="ruby-identifier">p</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">pwd</span>
213
-
214
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/config&quot;</span>
215
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/config/connections&quot;</span>
216
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/config/connections/mysql&quot;</span>
217
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/log&quot;</span>
218
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/pid&quot;</span>
219
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/template&quot;</span>
220
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/transformations&quot;</span>
221
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/transports&quot;</span>
222
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span> <span class="ruby-node">&quot;#{p}/patterns&quot;</span>
223
-
224
- <span class="ruby-identifier">template</span>(<span class="ruby-string">'source.yml'</span>, <span class="ruby-node">&quot;#{p}/config/connections/mysql/source.yml&quot;</span>)
225
- <span class="ruby-identifier">template</span>(<span class="ruby-string">'destination.yml'</span>, <span class="ruby-node">&quot;#{p}/config/connections/mysql/destination.yml&quot;</span>)
226
- <span class="ruby-identifier">template</span>(<span class="ruby-string">'email.yml'</span>, <span class="ruby-node">&quot;#{p}/config/email.yml&quot;</span>)
227
- <span class="ruby-identifier">template</span>(<span class="ruby-string">'email.erb'</span>, <span class="ruby-node">&quot;#{p}/template/email.erb&quot;</span>)
228
- <span class="ruby-identifier">template</span>(<span class="ruby-string">'plan.rb'</span>, <span class="ruby-node">&quot;#{p}/plan.rb&quot;</span>)
229
- <span class="ruby-keyword">end</span></pre>
230
- </div><!-- generate-source -->
231
-
232
- </div>
233
-
234
-
235
-
236
-
237
- </div><!-- generate-method -->
238
-
239
-
240
- <div id="method-i-run_plan" class="method-detail ">
241
-
242
- <div class="method-heading">
243
- <span class="method-name">run_plan</span><span
244
- class="method-args">()</span>
245
- <span class="method-click-advice">click to toggle source</span>
246
- </div>
247
-
248
-
249
- <div class="method-description">
250
-
251
-
252
-
253
-
254
-
255
- <div class="method-source-code" id="run_plan-source">
256
- <pre><span class="ruby-comment"># File bin/forklift, line 39</span>
257
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">run_plan</span>
258
- <span class="ruby-identifier">file</span> = <span class="ruby-node">&quot;#{Dir.pwd}/#{ARGV[0]}&quot;</span>
259
- <span class="ruby-keyword">if</span> <span class="ruby-constant">ARGV</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">nil?</span>
260
- <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;[error] Please provide a plan.rb as the first argument&quot;</span>
261
- <span class="ruby-identifier">exit</span>(<span class="ruby-value">1</span>)
262
- <span class="ruby-keyword">end</span>
263
- <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-constant">ARGV</span>[<span class="ruby-value">0</span>]))
264
- <span class="ruby-keyword">begin</span>
265
- <span class="ruby-identifier">require</span> <span class="ruby-string">'bundler'</span>
266
- <span class="ruby-constant">Bundler</span>.<span class="ruby-identifier">require</span>(<span class="ruby-value">:default</span>)
267
- <span class="ruby-keyword">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
268
- <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;cannot load bundler: #{e}&quot;</span>
269
- <span class="ruby-keyword">end</span>
270
- <span class="ruby-identifier">require</span> <span class="ruby-identifier">file</span>
271
- <span class="ruby-keyword">end</span></pre>
272
- </div><!-- run_plan-source -->
273
-
274
- </div>
275
-
276
-
277
-
278
-
279
- </div><!-- run_plan-method -->
280
-
281
-
282
- <div id="method-i-template" class="method-detail ">
283
-
284
- <div class="method-heading">
285
- <span class="method-name">template</span><span
286
- class="method-args">(source, destination)</span>
287
- <span class="method-click-advice">click to toggle source</span>
288
- </div>
289
-
290
-
291
- <div class="method-description">
292
-
293
-
294
-
295
-
296
-
297
- <div class="method-source-code" id="template-source">
298
- <pre><span class="ruby-comment"># File bin/forklift, line 32</span>
299
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">template</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">destination</span>)
300
- <span class="ruby-identifier">t</span> = <span class="ruby-node">&quot;#{File.expand_path(File.dirname(__FILE__))}/../template&quot;</span>
301
- <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">copy</span>(<span class="ruby-node">&quot;#{t}/#{source}&quot;</span>, <span class="ruby-identifier">destination</span>)
302
- <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Example plan generated&quot;</span>
303
- <span class="ruby-keyword">end</span></pre>
304
- </div><!-- template-source -->
305
-
306
- </div>
307
-
308
-
309
-
310
-
311
- </div><!-- template-method -->
312
-
313
-
314
- </section><!-- public-instance-method-details -->
315
-
316
- </section><!-- 5Buntitled-5D -->
317
-
318
- </div><!-- documentation -->
319
-
320
-
321
- <footer id="validator-badges">
322
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
323
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
324
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
325
- </footer>
326
-