ruboty-mo 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/dictionaries/usr0600259.xml +3 -0
- data/.idea/misc.xml +49 -0
- data/.idea/modules.xml +8 -0
- data/.idea/ruboty-mo.iml +34 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +426 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/README.md +39 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/ruboty/actions/mo.rb +30 -0
- data/lib/ruboty/mo/version.rb +5 -0
- data/lib/ruboty/mo.rb +14 -0
- data/ruboty-mo.gemspec +24 -0
- metadata +134 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9695e82581ba55c7a5b99aa1c88567bcfccb16b0
|
4
|
+
data.tar.gz: db7161a4119cb92bd29b33b9290c3bfa28daa23c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 068606f65bf1fb16784187b517db21feb15bb8e48d4dce64fa99a56753d0ca8c1c92663202d445f75c1dbaa654f804cffe46469da61daf511c156b75a5f5fb13
|
7
|
+
data.tar.gz: 4cec85acc84ef28f90bf188631afa3c82b123121cbd3979bf29b175f435dd527c2cd251ce1633831a61c94f8967b32545ac672e4ed86a579b5b33422b4645431
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruboty-mo
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ruboty-mo-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ruboty-mo-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install ruboty-mo-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push ruboty-mo-0.1.0.gem to Rubygems" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/misc.xml
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectInspectionProfilesVisibleTreeState">
|
4
|
+
<entry key="Project Default">
|
5
|
+
<profile-state>
|
6
|
+
<expanded-state>
|
7
|
+
<State>
|
8
|
+
<id />
|
9
|
+
</State>
|
10
|
+
</expanded-state>
|
11
|
+
<selected-state>
|
12
|
+
<State>
|
13
|
+
<id>CoffeeScript</id>
|
14
|
+
</State>
|
15
|
+
</selected-state>
|
16
|
+
</profile-state>
|
17
|
+
</entry>
|
18
|
+
</component>
|
19
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
20
|
+
<OptionsSetting value="true" id="Add" />
|
21
|
+
<OptionsSetting value="true" id="Remove" />
|
22
|
+
<OptionsSetting value="true" id="Checkout" />
|
23
|
+
<OptionsSetting value="true" id="Update" />
|
24
|
+
<OptionsSetting value="true" id="Status" />
|
25
|
+
<OptionsSetting value="true" id="Edit" />
|
26
|
+
<ConfirmationsSetting value="0" id="Add" />
|
27
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
28
|
+
</component>
|
29
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 2.1.6" project-jdk-type="RUBY_SDK" />
|
30
|
+
<component name="VagrantProjectSettings">
|
31
|
+
<option name="instanceFolder" value="" />
|
32
|
+
<option name="provider" value="" />
|
33
|
+
</component>
|
34
|
+
<component name="masterDetails">
|
35
|
+
<states>
|
36
|
+
<state key="ScopeChooserConfigurable.UI">
|
37
|
+
<settings>
|
38
|
+
<splitter-proportions>
|
39
|
+
<option name="proportions">
|
40
|
+
<list>
|
41
|
+
<option value="0.2" />
|
42
|
+
</list>
|
43
|
+
</option>
|
44
|
+
</splitter-proportions>
|
45
|
+
</settings>
|
46
|
+
</state>
|
47
|
+
</states>
|
48
|
+
</component>
|
49
|
+
</project>
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/ruboty-mo.iml" filepath="$PROJECT_DIR$/.idea/ruboty-mo.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.idea/ruboty-mo.iml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="Ruby Gem">
|
5
|
+
<configuration>
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
12
|
+
<component name="NewModuleRootManager">
|
13
|
+
<content url="file://$MODULE_DIR$" />
|
14
|
+
<orderEntry type="inheritedJdk" />
|
15
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.4, rbenv: 2.1.6) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.9.4, rbenv: 2.1.6) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="dotenv (v2.0.2, rbenv: 2.1.6) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.9.2, rbenv: 2.1.6) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday_middleware (v0.9.2, rbenv: 2.1.6) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday_middleware-parse_oj (v0.3.0, rbenv: 2.1.6) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, rbenv: 2.1.6) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, rbenv: 2.1.6) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="mem (v0.1.5, rbenv: 2.1.6) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.0, rbenv: 2.1.6) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.0.0, rbenv: 2.1.6) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="oj (v2.12.14, rbenv: 2.1.6) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.1.6) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="ruboty (v1.2.2, rbenv: 2.1.6) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, rbenv: 2.1.6) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, rbenv: 2.1.6) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, rbenv: 2.1.6) [gem]" level="application" />
|
33
|
+
</component>
|
34
|
+
</module>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,426 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="1dce663a-f368-4e05-a134-8368bfea83a3" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/ruboty-mo.gemspec" afterPath="$PROJECT_DIR$/ruboty-mo.gemspec" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
7
|
+
</list>
|
8
|
+
<ignored path="ruboty-mo.iws" />
|
9
|
+
<ignored path=".idea/workspace.xml" />
|
10
|
+
<ignored path=".idea/dataSources.local.xml" />
|
11
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
12
|
+
<option name="TRACKING_ENABLED" value="true" />
|
13
|
+
<option name="SHOW_DIALOG" value="false" />
|
14
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
15
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
16
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
17
|
+
</component>
|
18
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
19
|
+
<component name="CreatePatchCommitExecutor">
|
20
|
+
<option name="PATCH_PATH" value="" />
|
21
|
+
</component>
|
22
|
+
<component name="FavoritesManager">
|
23
|
+
<favorites_list name="ruboty-mo" />
|
24
|
+
</component>
|
25
|
+
<component name="FileEditorManager">
|
26
|
+
<leaf>
|
27
|
+
<file leaf-file-name="mo.rb" pinned="false" current-in-tab="false">
|
28
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/mo.rb">
|
29
|
+
<provider selected="true" editor-type-id="text-editor">
|
30
|
+
<state vertical-scroll-proportion="0.0">
|
31
|
+
<caret line="6" column="62" selection-start-line="6" selection-start-column="54" selection-end-line="6" selection-end-column="62" />
|
32
|
+
<folding />
|
33
|
+
</state>
|
34
|
+
</provider>
|
35
|
+
</entry>
|
36
|
+
</file>
|
37
|
+
<file leaf-file-name="mo.rb" pinned="false" current-in-tab="false">
|
38
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/actions/mo.rb">
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
40
|
+
<state vertical-scroll-proportion="0.0">
|
41
|
+
<caret line="26" column="9" selection-start-line="26" selection-start-column="9" selection-end-line="26" selection-end-column="9" />
|
42
|
+
<folding />
|
43
|
+
</state>
|
44
|
+
</provider>
|
45
|
+
</entry>
|
46
|
+
</file>
|
47
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
48
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
50
|
+
<state vertical-scroll-proportion="0.0">
|
51
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
52
|
+
<folding />
|
53
|
+
</state>
|
54
|
+
</provider>
|
55
|
+
</entry>
|
56
|
+
</file>
|
57
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
58
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/mo/version.rb">
|
59
|
+
<provider selected="true" editor-type-id="text-editor">
|
60
|
+
<state vertical-scroll-proportion="0.0">
|
61
|
+
<caret line="2" column="18" selection-start-line="2" selection-start-column="18" selection-end-line="2" selection-end-column="18" />
|
62
|
+
<folding />
|
63
|
+
</state>
|
64
|
+
</provider>
|
65
|
+
</entry>
|
66
|
+
</file>
|
67
|
+
<file leaf-file-name="ruboty-mo.gemspec" pinned="false" current-in-tab="true">
|
68
|
+
<entry file="file://$PROJECT_DIR$/ruboty-mo.gemspec">
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
70
|
+
<state vertical-scroll-proportion="0.24291497">
|
71
|
+
<caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
|
72
|
+
<folding />
|
73
|
+
</state>
|
74
|
+
</provider>
|
75
|
+
</entry>
|
76
|
+
</file>
|
77
|
+
</leaf>
|
78
|
+
</component>
|
79
|
+
<component name="Git.Settings">
|
80
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
81
|
+
</component>
|
82
|
+
<component name="IdeDocumentHistory">
|
83
|
+
<option name="CHANGED_PATHS">
|
84
|
+
<list>
|
85
|
+
<option value="$PROJECT_DIR$/lib/ruboty/mo/version.rb" />
|
86
|
+
<option value="$PROJECT_DIR$/lib/ruboty/actions/mo.rb" />
|
87
|
+
<option value="$PROJECT_DIR$/lib/ruboty/mo.rb" />
|
88
|
+
<option value="$PROJECT_DIR$/ruboty-mo.gemspec" />
|
89
|
+
</list>
|
90
|
+
</option>
|
91
|
+
</component>
|
92
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
93
|
+
<component name="JsGulpfileManager">
|
94
|
+
<detection-done>true</detection-done>
|
95
|
+
</component>
|
96
|
+
<component name="NamedScopeManager">
|
97
|
+
<order />
|
98
|
+
</component>
|
99
|
+
<component name="ProjectFrameBounds">
|
100
|
+
<option name="x" value="124" />
|
101
|
+
<option name="y" value="23" />
|
102
|
+
<option name="width" value="1440" />
|
103
|
+
<option name="height" value="812" />
|
104
|
+
</component>
|
105
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
106
|
+
<OptionsSetting value="true" id="Add" />
|
107
|
+
<OptionsSetting value="true" id="Remove" />
|
108
|
+
<OptionsSetting value="true" id="Checkout" />
|
109
|
+
<OptionsSetting value="true" id="Update" />
|
110
|
+
<OptionsSetting value="true" id="Status" />
|
111
|
+
<OptionsSetting value="true" id="Edit" />
|
112
|
+
<ConfirmationsSetting value="0" id="Add" />
|
113
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
114
|
+
</component>
|
115
|
+
<component name="ProjectView">
|
116
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
117
|
+
<flattenPackages />
|
118
|
+
<showMembers />
|
119
|
+
<showModules />
|
120
|
+
<showLibraryContents />
|
121
|
+
<hideEmptyPackages />
|
122
|
+
<abbreviatePackageNames />
|
123
|
+
<autoscrollToSource />
|
124
|
+
<autoscrollFromSource />
|
125
|
+
<sortByType />
|
126
|
+
</navigator>
|
127
|
+
<panes>
|
128
|
+
<pane id="Scratches" />
|
129
|
+
<pane id="Scope" />
|
130
|
+
<pane id="ProjectPane">
|
131
|
+
<subPane>
|
132
|
+
<PATH>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="ruboty-mo" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
</PATH>
|
138
|
+
<PATH>
|
139
|
+
<PATH_ELEMENT>
|
140
|
+
<option name="myItemId" value="ruboty-mo" />
|
141
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
142
|
+
</PATH_ELEMENT>
|
143
|
+
<PATH_ELEMENT>
|
144
|
+
<option name="myItemId" value="ruboty-mo" />
|
145
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
146
|
+
</PATH_ELEMENT>
|
147
|
+
</PATH>
|
148
|
+
<PATH>
|
149
|
+
<PATH_ELEMENT>
|
150
|
+
<option name="myItemId" value="ruboty-mo" />
|
151
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
152
|
+
</PATH_ELEMENT>
|
153
|
+
<PATH_ELEMENT>
|
154
|
+
<option name="myItemId" value="ruboty-mo" />
|
155
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
156
|
+
</PATH_ELEMENT>
|
157
|
+
<PATH_ELEMENT>
|
158
|
+
<option name="myItemId" value="lib" />
|
159
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
160
|
+
</PATH_ELEMENT>
|
161
|
+
<PATH_ELEMENT>
|
162
|
+
<option name="myItemId" value="ruboty" />
|
163
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
164
|
+
</PATH_ELEMENT>
|
165
|
+
</PATH>
|
166
|
+
<PATH>
|
167
|
+
<PATH_ELEMENT>
|
168
|
+
<option name="myItemId" value="ruboty-mo" />
|
169
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
170
|
+
</PATH_ELEMENT>
|
171
|
+
<PATH_ELEMENT>
|
172
|
+
<option name="myItemId" value="ruboty-mo" />
|
173
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
174
|
+
</PATH_ELEMENT>
|
175
|
+
<PATH_ELEMENT>
|
176
|
+
<option name="myItemId" value="lib" />
|
177
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
178
|
+
</PATH_ELEMENT>
|
179
|
+
<PATH_ELEMENT>
|
180
|
+
<option name="myItemId" value="ruboty" />
|
181
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
182
|
+
</PATH_ELEMENT>
|
183
|
+
<PATH_ELEMENT>
|
184
|
+
<option name="myItemId" value="mo" />
|
185
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
186
|
+
</PATH_ELEMENT>
|
187
|
+
</PATH>
|
188
|
+
<PATH>
|
189
|
+
<PATH_ELEMENT>
|
190
|
+
<option name="myItemId" value="ruboty-mo" />
|
191
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
192
|
+
</PATH_ELEMENT>
|
193
|
+
<PATH_ELEMENT>
|
194
|
+
<option name="myItemId" value="ruboty-mo" />
|
195
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
196
|
+
</PATH_ELEMENT>
|
197
|
+
<PATH_ELEMENT>
|
198
|
+
<option name="myItemId" value="lib" />
|
199
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
200
|
+
</PATH_ELEMENT>
|
201
|
+
<PATH_ELEMENT>
|
202
|
+
<option name="myItemId" value="ruboty" />
|
203
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
204
|
+
</PATH_ELEMENT>
|
205
|
+
<PATH_ELEMENT>
|
206
|
+
<option name="myItemId" value="actions" />
|
207
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
208
|
+
</PATH_ELEMENT>
|
209
|
+
</PATH>
|
210
|
+
</subPane>
|
211
|
+
</pane>
|
212
|
+
</panes>
|
213
|
+
</component>
|
214
|
+
<component name="PropertiesComponent">
|
215
|
+
<property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
216
|
+
<property name="settings.editor.splitter.proportion" value="0.2" />
|
217
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
218
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
219
|
+
<property name="FullScreen" value="false" />
|
220
|
+
</component>
|
221
|
+
<component name="RunManager">
|
222
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
223
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
224
|
+
<module name="" />
|
225
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
226
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
227
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
228
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
229
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
230
|
+
<envs />
|
231
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
232
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
233
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
234
|
+
<COVERAGE_PATTERN ENABLED="true">
|
235
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
236
|
+
</COVERAGE_PATTERN>
|
237
|
+
</EXTENSION>
|
238
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
239
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
240
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
241
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
242
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
243
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
244
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
245
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
246
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
247
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
248
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
249
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
250
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
251
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
252
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
253
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
254
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
255
|
+
<method />
|
256
|
+
</configuration>
|
257
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
258
|
+
<method />
|
259
|
+
</configuration>
|
260
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
261
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
262
|
+
<module name="" />
|
263
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
264
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
265
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
266
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
267
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
268
|
+
<envs />
|
269
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
270
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
271
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
272
|
+
<COVERAGE_PATTERN ENABLED="true">
|
273
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
274
|
+
</COVERAGE_PATTERN>
|
275
|
+
</EXTENSION>
|
276
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
277
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
278
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
279
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
280
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
281
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
287
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
288
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
289
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
290
|
+
<method />
|
291
|
+
</configuration>
|
292
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
293
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
294
|
+
<module name="" />
|
295
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
296
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
297
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
298
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
299
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
300
|
+
<envs />
|
301
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
302
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
303
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
304
|
+
<COVERAGE_PATTERN ENABLED="true">
|
305
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
306
|
+
</COVERAGE_PATTERN>
|
307
|
+
</EXTENSION>
|
308
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
309
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
310
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
311
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
312
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
313
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
314
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
315
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
316
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
317
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
318
|
+
<method />
|
319
|
+
</configuration>
|
320
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
321
|
+
<method />
|
322
|
+
</configuration>
|
323
|
+
</component>
|
324
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
325
|
+
<component name="SvnConfiguration">
|
326
|
+
<configuration />
|
327
|
+
</component>
|
328
|
+
<component name="TaskManager">
|
329
|
+
<task active="true" id="Default" summary="Default task">
|
330
|
+
<changelist id="1dce663a-f368-4e05-a134-8368bfea83a3" name="Default" comment="" />
|
331
|
+
<created>1444891119273</created>
|
332
|
+
<option name="number" value="Default" />
|
333
|
+
<updated>1444891119273</updated>
|
334
|
+
</task>
|
335
|
+
<servers />
|
336
|
+
</component>
|
337
|
+
<component name="ToolWindowManager">
|
338
|
+
<frame x="124" y="23" width="1440" height="812" extended-state="0" />
|
339
|
+
<editor active="true" />
|
340
|
+
<layout>
|
341
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
342
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
343
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
344
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
345
|
+
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
346
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
347
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
348
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
349
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
350
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
351
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
352
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
353
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
354
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
355
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
356
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
357
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
358
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
359
|
+
</layout>
|
360
|
+
</component>
|
361
|
+
<component name="Vcs.Log.UiProperties">
|
362
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
363
|
+
<collection />
|
364
|
+
</option>
|
365
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
366
|
+
<collection />
|
367
|
+
</option>
|
368
|
+
</component>
|
369
|
+
<component name="VcsContentAnnotationSettings">
|
370
|
+
<option name="myLimit" value="2678400000" />
|
371
|
+
</component>
|
372
|
+
<component name="XDebuggerManager">
|
373
|
+
<breakpoint-manager />
|
374
|
+
<watches-manager />
|
375
|
+
</component>
|
376
|
+
<component name="editorHistoryManager">
|
377
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/mo.rb">
|
378
|
+
<provider selected="true" editor-type-id="text-editor">
|
379
|
+
<state vertical-scroll-proportion="0.0">
|
380
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
381
|
+
<folding />
|
382
|
+
</state>
|
383
|
+
</provider>
|
384
|
+
</entry>
|
385
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/mo/version.rb">
|
386
|
+
<provider selected="true" editor-type-id="text-editor">
|
387
|
+
<state vertical-scroll-proportion="0.0">
|
388
|
+
<caret line="2" column="18" selection-start-line="2" selection-start-column="18" selection-end-line="2" selection-end-column="18" />
|
389
|
+
<folding />
|
390
|
+
</state>
|
391
|
+
</provider>
|
392
|
+
</entry>
|
393
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/actions/mo.rb">
|
394
|
+
<provider selected="true" editor-type-id="text-editor">
|
395
|
+
<state vertical-scroll-proportion="0.0">
|
396
|
+
<caret line="26" column="9" selection-start-line="26" selection-start-column="9" selection-end-line="26" selection-end-column="9" />
|
397
|
+
<folding />
|
398
|
+
</state>
|
399
|
+
</provider>
|
400
|
+
</entry>
|
401
|
+
<entry file="file://$PROJECT_DIR$/lib/ruboty/mo.rb">
|
402
|
+
<provider selected="true" editor-type-id="text-editor">
|
403
|
+
<state vertical-scroll-proportion="0.0">
|
404
|
+
<caret line="6" column="62" selection-start-line="6" selection-start-column="54" selection-end-line="6" selection-end-column="62" />
|
405
|
+
<folding />
|
406
|
+
</state>
|
407
|
+
</provider>
|
408
|
+
</entry>
|
409
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
410
|
+
<provider selected="true" editor-type-id="text-editor">
|
411
|
+
<state vertical-scroll-proportion="0.0">
|
412
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
413
|
+
<folding />
|
414
|
+
</state>
|
415
|
+
</provider>
|
416
|
+
</entry>
|
417
|
+
<entry file="file://$PROJECT_DIR$/ruboty-mo.gemspec">
|
418
|
+
<provider selected="true" editor-type-id="text-editor">
|
419
|
+
<state vertical-scroll-proportion="0.24291497">
|
420
|
+
<caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
|
421
|
+
<folding />
|
422
|
+
</state>
|
423
|
+
</provider>
|
424
|
+
</entry>
|
425
|
+
</component>
|
426
|
+
</project>
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Ruboty::Mo
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ruboty/mo`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'ruboty-mo'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install ruboty-mo
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
1. Fork it ( https://github.com/[my-github-username]/ruboty-mo/fork )
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "ruboty/mo"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require "ruboty/mo/version"
|
2
|
+
require "faraday"
|
3
|
+
require 'faraday_middleware/parse_oj'
|
4
|
+
|
5
|
+
module Ruboty
|
6
|
+
module Mo
|
7
|
+
module Actions
|
8
|
+
class Mo < Ruboty::Actions::Base
|
9
|
+
def call
|
10
|
+
message.reply(mo)
|
11
|
+
end
|
12
|
+
|
13
|
+
def mo
|
14
|
+
last_price = fetch_rate_of_yen_against_mona
|
15
|
+
"現在のレートは1モナ#{last_price}円です"
|
16
|
+
end
|
17
|
+
|
18
|
+
def fetch_rate_of_yen_against_mona
|
19
|
+
conn = Faraday.new(:url => 'https://exchange.etwings.com') do |builder|
|
20
|
+
builder.response :oj
|
21
|
+
builder.adapter Faraday.default_adapter
|
22
|
+
end
|
23
|
+
res = conn.get '/api/1/last_price/mona_jpy'
|
24
|
+
raise "etwings API error" if res.status != 200
|
25
|
+
last_price = res.body['last_price']
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/ruboty/mo.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require "ruboty/mo/version"
|
2
|
+
require "ruboty/actions/mo"
|
3
|
+
|
4
|
+
module Ruboty
|
5
|
+
module Handlers
|
6
|
+
class Mo < Base
|
7
|
+
on /mo?/m,name:'mo',description: 'command for mona_jpy'
|
8
|
+
|
9
|
+
def mo(message)
|
10
|
+
Ruboty::Mo::Actions::Mo.new(message).call
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/ruboty-mo.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ruboty/mo/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ruboty-mo"
|
8
|
+
spec.version = Ruboty::Mo::VERSION
|
9
|
+
spec.authors = ["misyobun"]
|
10
|
+
spec.email = ["naoto0101@gmail.com"]
|
11
|
+
spec.summary = "ruboty tells you mona_jpy"
|
12
|
+
spec.homepage = "http://www.vagrantup.jp"
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
15
|
+
spec.bindir = "exe"
|
16
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_runtime_dependency "faraday"
|
20
|
+
spec.add_runtime_dependency "faraday_middleware-parse_oj"
|
21
|
+
spec.add_runtime_dependency "ruboty"
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruboty-mo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- misyobun
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday_middleware-parse_oj
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ruboty
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.9'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.9'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
description:
|
84
|
+
email:
|
85
|
+
- naoto0101@gmail.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".idea/.name"
|
92
|
+
- ".idea/.rakeTasks"
|
93
|
+
- ".idea/dictionaries/usr0600259.xml"
|
94
|
+
- ".idea/misc.xml"
|
95
|
+
- ".idea/modules.xml"
|
96
|
+
- ".idea/ruboty-mo.iml"
|
97
|
+
- ".idea/vcs.xml"
|
98
|
+
- ".idea/workspace.xml"
|
99
|
+
- ".rspec"
|
100
|
+
- ".travis.yml"
|
101
|
+
- Gemfile
|
102
|
+
- README.md
|
103
|
+
- Rakefile
|
104
|
+
- bin/console
|
105
|
+
- bin/setup
|
106
|
+
- lib/ruboty/actions/mo.rb
|
107
|
+
- lib/ruboty/mo.rb
|
108
|
+
- lib/ruboty/mo/version.rb
|
109
|
+
- ruboty-mo.gemspec
|
110
|
+
homepage: http://www.vagrantup.jp
|
111
|
+
licenses: []
|
112
|
+
metadata: {}
|
113
|
+
post_install_message:
|
114
|
+
rdoc_options: []
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
requirements: []
|
128
|
+
rubyforge_project:
|
129
|
+
rubygems_version: 2.4.8
|
130
|
+
signing_key:
|
131
|
+
specification_version: 4
|
132
|
+
summary: ruboty tells you mona_jpy
|
133
|
+
test_files: []
|
134
|
+
has_rdoc:
|