blade-setting 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +9 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/blade-translate.iml +45 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +476 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/bs +33 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/blade-setting.gemspec +33 -0
- data/lib/blade/setting/version.rb +5 -0
- data/lib/blade/setting/yml_template.rb +225 -0
- data/lib/blade/setting.rb +58 -0
- data/thc-translate.png +0 -0
- metadata +167 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b233ded8cca1a62a11593ebb5ea340719cdf760d33c4281eda78bbfd2d1ed3a6
|
|
4
|
+
data.tar.gz: ed72ffc3458db8099d5ad143dcf7a7f74bd2274d5444a964702c19d25d923eee
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 481a74b9817eb468d0152c3537bac9b3f753c36201eb71250867a28a138088eef9782f2abe11dda90e48654c28f3f293d9aeea1e33670b3f4211486cea12fead
|
|
7
|
+
data.tar.gz: a3e6799321f04a7811893fa609b752905064cd48b24cc1eb03339ae244108af337167710426ff3cbae84ca92aea13b894a04d8936819bc7009cb8dfcc3abc4a3
|
data/.DS_Store
ADDED
|
Binary file
|
data/.gitignore
ADDED
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 blade-translate-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install blade-translate-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install blade-translate-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 blade-translate-0.1.0.gem to Rubygems" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" 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>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="New Gem">
|
|
5
|
+
<configuration />
|
|
6
|
+
</facet>
|
|
7
|
+
</component>
|
|
8
|
+
<component name="ModuleRunConfigurationManager">
|
|
9
|
+
<shared />
|
|
10
|
+
</component>
|
|
11
|
+
<component name="NewModuleRootManager">
|
|
12
|
+
<content url="file://$MODULE_DIR$">
|
|
13
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
|
14
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
|
15
|
+
</content>
|
|
16
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.6.1" jdkType="RUBY_SDK" />
|
|
17
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v5.2.2, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.17.2, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.4, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="equatable (v0.5.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="fileutils (v0.7.2, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.5.3, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="necromancer (v0.4.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="pastel (v0.7.2, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v2.1.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.2, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="timers (v4.3.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-color (v0.4.3, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-cursor (v0.6.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-prompt (v0.18.1, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-reader (v0.5.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-screen (v0.6.5, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="wisper (v2.0.0, RVM: ruby-2.6.1) [gem]" level="application" />
|
|
44
|
+
</component>
|
|
45
|
+
</module>
|
data/.idea/misc.xml
ADDED
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/blade-translate.iml" filepath="$PROJECT_DIR$/.idea/blade-translate.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="5e8bc335-8301-412e-9672-5d35dfc99f81" name="Default" comment="">
|
|
5
|
+
<change afterPath="$PROJECT_DIR$/lib/blade/setting.rb" afterDir="false" />
|
|
6
|
+
<change afterPath="$PROJECT_DIR$/lib/blade/setting/yml_template.rb" afterDir="false" />
|
|
7
|
+
<change beforePath="$PROJECT_DIR$/.idea/blade-translate.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/blade-translate.iml" afterDir="false" />
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/Gemfile" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/bin/bt" beforeDir="false" afterPath="$PROJECT_DIR$/bin/bs" afterDir="false" />
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/bin/console" beforeDir="false" afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/blade-translate.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/blade-setting.gemspec" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/lib/blade/translate.rb" beforeDir="false" />
|
|
16
|
+
<change beforePath="$PROJECT_DIR$/lib/blade/translate/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/blade/setting/version.rb" afterDir="false" />
|
|
17
|
+
<change beforePath="$PROJECT_DIR$/spec/blade/translate_spec.rb" beforeDir="false" />
|
|
18
|
+
<change beforePath="$PROJECT_DIR$/spec/spec_helper.rb" beforeDir="false" />
|
|
19
|
+
</list>
|
|
20
|
+
<ignored path="blade-translate.iws" />
|
|
21
|
+
<ignored path=".idea/workspace.xml" />
|
|
22
|
+
<ignored path="$PROJECT_DIR$/.bundle/" />
|
|
23
|
+
<ignored path="$PROJECT_DIR$/vendor/bundle/" />
|
|
24
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
25
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
26
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
27
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
28
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
29
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
30
|
+
</component>
|
|
31
|
+
<component name="CreatePatchCommitExecutor">
|
|
32
|
+
<option name="PATCH_PATH" value="" />
|
|
33
|
+
</component>
|
|
34
|
+
<component name="FUSProjectUsageTrigger">
|
|
35
|
+
<session id="1842486502">
|
|
36
|
+
<usages-collector id="statistics.lifecycle.project">
|
|
37
|
+
<counts>
|
|
38
|
+
<entry key="project.open.time.0" value="1" />
|
|
39
|
+
<entry key="project.opened" value="1" />
|
|
40
|
+
</counts>
|
|
41
|
+
</usages-collector>
|
|
42
|
+
<usages-collector id="statistics.file.extensions.edit">
|
|
43
|
+
<counts>
|
|
44
|
+
<entry key="bs" value="813" />
|
|
45
|
+
<entry key="gemspec" value="83" />
|
|
46
|
+
<entry key="rb" value="1294" />
|
|
47
|
+
</counts>
|
|
48
|
+
</usages-collector>
|
|
49
|
+
<usages-collector id="statistics.file.types.edit">
|
|
50
|
+
<counts>
|
|
51
|
+
<entry key="Ruby" value="2190" />
|
|
52
|
+
</counts>
|
|
53
|
+
</usages-collector>
|
|
54
|
+
<usages-collector id="statistics.file.extensions.open">
|
|
55
|
+
<counts>
|
|
56
|
+
<entry key="Gemfile" value="1" />
|
|
57
|
+
<entry key="console" value="1" />
|
|
58
|
+
<entry key="rb" value="9" />
|
|
59
|
+
<entry key="rspec" value="1" />
|
|
60
|
+
<entry key="yml" value="2" />
|
|
61
|
+
</counts>
|
|
62
|
+
</usages-collector>
|
|
63
|
+
<usages-collector id="statistics.file.types.open">
|
|
64
|
+
<counts>
|
|
65
|
+
<entry key="PLAIN_TEXT" value="1" />
|
|
66
|
+
<entry key="Ruby" value="11" />
|
|
67
|
+
<entry key="YAML" value="2" />
|
|
68
|
+
</counts>
|
|
69
|
+
</usages-collector>
|
|
70
|
+
</session>
|
|
71
|
+
</component>
|
|
72
|
+
<component name="FavoritesManager">
|
|
73
|
+
<favorites_list name="blade-translate" />
|
|
74
|
+
</component>
|
|
75
|
+
<component name="FileEditorManager">
|
|
76
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
|
77
|
+
<file pinned="false" current-in-tab="true">
|
|
78
|
+
<entry file="file://$PROJECT_DIR$/bin/bs">
|
|
79
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
80
|
+
<state relative-caret-position="495">
|
|
81
|
+
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
|
|
82
|
+
</state>
|
|
83
|
+
</provider>
|
|
84
|
+
</entry>
|
|
85
|
+
</file>
|
|
86
|
+
<file pinned="false" current-in-tab="false">
|
|
87
|
+
<entry file="file://$PROJECT_DIR$/lib/blade/setting/yml_template.rb">
|
|
88
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
89
|
+
<state relative-caret-position="15">
|
|
90
|
+
<caret line="1" column="9" selection-start-line="1" selection-start-column="9" selection-end-line="1" selection-end-column="16" />
|
|
91
|
+
</state>
|
|
92
|
+
</provider>
|
|
93
|
+
</entry>
|
|
94
|
+
</file>
|
|
95
|
+
<file pinned="false" current-in-tab="false">
|
|
96
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
|
97
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
98
|
+
<state relative-caret-position="120">
|
|
99
|
+
<caret line="8" column="5" selection-start-line="8" selection-start-column="5" selection-end-line="8" selection-end-column="5" />
|
|
100
|
+
</state>
|
|
101
|
+
</provider>
|
|
102
|
+
</entry>
|
|
103
|
+
</file>
|
|
104
|
+
<file pinned="false" current-in-tab="false">
|
|
105
|
+
<entry file="file://$PROJECT_DIR$/lib/blade/setting.rb">
|
|
106
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
107
|
+
<state relative-caret-position="135">
|
|
108
|
+
<caret line="9" column="8" selection-start-line="9" selection-start-column="8" selection-end-line="9" selection-end-column="20" />
|
|
109
|
+
</state>
|
|
110
|
+
</provider>
|
|
111
|
+
</entry>
|
|
112
|
+
</file>
|
|
113
|
+
<file pinned="false" current-in-tab="false">
|
|
114
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
115
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
116
|
+
<state split_layout="SPLIT">
|
|
117
|
+
<first_editor relative-caret-position="345">
|
|
118
|
+
<caret line="23" column="13" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" />
|
|
119
|
+
</first_editor>
|
|
120
|
+
<second_editor />
|
|
121
|
+
</state>
|
|
122
|
+
</provider>
|
|
123
|
+
</entry>
|
|
124
|
+
</file>
|
|
125
|
+
<file pinned="false" current-in-tab="false">
|
|
126
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
|
127
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
128
|
+
<state relative-caret-position="210">
|
|
129
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
|
130
|
+
</state>
|
|
131
|
+
</provider>
|
|
132
|
+
</entry>
|
|
133
|
+
</file>
|
|
134
|
+
</leaf>
|
|
135
|
+
</component>
|
|
136
|
+
<component name="FileTemplateManagerImpl">
|
|
137
|
+
<option name="RECENT_TEMPLATES">
|
|
138
|
+
<list>
|
|
139
|
+
<option value="Ruby Module Template" />
|
|
140
|
+
</list>
|
|
141
|
+
</option>
|
|
142
|
+
</component>
|
|
143
|
+
<component name="FindInProjectRecents">
|
|
144
|
+
<findStrings>
|
|
145
|
+
<find>blade/translate</find>
|
|
146
|
+
<find>translate</find>
|
|
147
|
+
<find>send_cloud</find>
|
|
148
|
+
<find>influxdb</find>
|
|
149
|
+
<find>elastic_search</find>
|
|
150
|
+
<find>carrierwave</find>
|
|
151
|
+
</findStrings>
|
|
152
|
+
<replaceStrings>
|
|
153
|
+
<replace>blade/setting</replace>
|
|
154
|
+
</replaceStrings>
|
|
155
|
+
</component>
|
|
156
|
+
<component name="Git.Settings">
|
|
157
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
158
|
+
</component>
|
|
159
|
+
<component name="IdeDocumentHistory">
|
|
160
|
+
<option name="CHANGED_PATHS">
|
|
161
|
+
<list>
|
|
162
|
+
<option value="$PROJECT_DIR$/bin/thc.rb" />
|
|
163
|
+
<option value="$PROJECT_DIR$/bin/thc" />
|
|
164
|
+
<option value="$PROJECT_DIR$/spec/blade/translate_spec.rb" />
|
|
165
|
+
<option value="$PROJECT_DIR$/lib/blade/translate/version.rb" />
|
|
166
|
+
<option value="$PROJECT_DIR$/bin/bt" />
|
|
167
|
+
<option value="$PROJECT_DIR$/README.md" />
|
|
168
|
+
<option value="$PROJECT_DIR$/blade-translate.gemspec" />
|
|
169
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
|
170
|
+
<option value="$PROJECT_DIR$/lib/blade/setting/version.rb" />
|
|
171
|
+
<option value="$PROJECT_DIR$/lib/blade/translate.rb" />
|
|
172
|
+
<option value="$PROJECT_DIR$/blade-setting.gemspec" />
|
|
173
|
+
<option value="$PROJECT_DIR$/app/settings/database.rb" />
|
|
174
|
+
<option value="$PROJECT_DIR$/lib/blade/setting/yml_template.rb" />
|
|
175
|
+
<option value="$PROJECT_DIR$/lib/blade/setting.rb" />
|
|
176
|
+
<option value="$PROJECT_DIR$/bin/bs" />
|
|
177
|
+
</list>
|
|
178
|
+
</option>
|
|
179
|
+
</component>
|
|
180
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
181
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
182
|
+
<component name="JsGulpfileManager">
|
|
183
|
+
<detection-done>true</detection-done>
|
|
184
|
+
<sorting>DEFINITION_ORDER</sorting>
|
|
185
|
+
</component>
|
|
186
|
+
<component name="ProjectFrameBounds">
|
|
187
|
+
<option name="y" value="23" />
|
|
188
|
+
<option name="width" value="1440" />
|
|
189
|
+
<option name="height" value="810" />
|
|
190
|
+
</component>
|
|
191
|
+
<component name="ProjectView">
|
|
192
|
+
<navigator proportions="" version="1">
|
|
193
|
+
<foldersAlwaysOnTop value="true" />
|
|
194
|
+
</navigator>
|
|
195
|
+
<panes>
|
|
196
|
+
<pane id="ProjectPane">
|
|
197
|
+
<subPane>
|
|
198
|
+
<expand>
|
|
199
|
+
<path>
|
|
200
|
+
<item name="blade-translate" type="b2602c69:ProjectViewProjectNode" />
|
|
201
|
+
<item name="blade-translate" type="462c0819:PsiDirectoryNode" />
|
|
202
|
+
</path>
|
|
203
|
+
<path>
|
|
204
|
+
<item name="blade-translate" type="b2602c69:ProjectViewProjectNode" />
|
|
205
|
+
<item name="blade-translate" type="462c0819:PsiDirectoryNode" />
|
|
206
|
+
<item name="app" type="462c0819:PsiDirectoryNode" />
|
|
207
|
+
</path>
|
|
208
|
+
<path>
|
|
209
|
+
<item name="blade-translate" type="b2602c69:ProjectViewProjectNode" />
|
|
210
|
+
<item name="blade-translate" type="462c0819:PsiDirectoryNode" />
|
|
211
|
+
<item name="app" type="462c0819:PsiDirectoryNode" />
|
|
212
|
+
<item name="settings" type="462c0819:PsiDirectoryNode" />
|
|
213
|
+
</path>
|
|
214
|
+
<path>
|
|
215
|
+
<item name="blade-translate" type="b2602c69:ProjectViewProjectNode" />
|
|
216
|
+
<item name="blade-translate" type="462c0819:PsiDirectoryNode" />
|
|
217
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
|
218
|
+
</path>
|
|
219
|
+
<path>
|
|
220
|
+
<item name="blade-translate" type="b2602c69:ProjectViewProjectNode" />
|
|
221
|
+
<item name="blade-translate" type="462c0819:PsiDirectoryNode" />
|
|
222
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
|
223
|
+
<item name="blade" type="462c0819:PsiDirectoryNode" />
|
|
224
|
+
</path>
|
|
225
|
+
</expand>
|
|
226
|
+
<select />
|
|
227
|
+
</subPane>
|
|
228
|
+
</pane>
|
|
229
|
+
<pane id="Scope" />
|
|
230
|
+
</panes>
|
|
231
|
+
</component>
|
|
232
|
+
<component name="PropertiesComponent">
|
|
233
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
234
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
|
|
235
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
236
|
+
<property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
|
237
|
+
</component>
|
|
238
|
+
<component name="RecentsManager">
|
|
239
|
+
<key name="CopyFile.RECENT_KEYS">
|
|
240
|
+
<recent name="$PROJECT_DIR$" />
|
|
241
|
+
<recent name="$PROJECT_DIR$/bin" />
|
|
242
|
+
</key>
|
|
243
|
+
</component>
|
|
244
|
+
<component name="RunDashboard">
|
|
245
|
+
<option name="ruleStates">
|
|
246
|
+
<list>
|
|
247
|
+
<RuleState>
|
|
248
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
|
249
|
+
</RuleState>
|
|
250
|
+
<RuleState>
|
|
251
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
|
252
|
+
</RuleState>
|
|
253
|
+
</list>
|
|
254
|
+
</option>
|
|
255
|
+
</component>
|
|
256
|
+
<component name="RunManager">
|
|
257
|
+
<configuration name="setting" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
|
258
|
+
<module name="blade-translate" />
|
|
259
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="" />
|
|
260
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/blade" />
|
|
261
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
262
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
263
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
264
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
|
265
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
266
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
|
|
267
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
268
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
269
|
+
</COVERAGE_PATTERN>
|
|
270
|
+
</EXTENSION>
|
|
271
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/blade/setting.rb" />
|
|
272
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
273
|
+
<method v="2" />
|
|
274
|
+
</configuration>
|
|
275
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
276
|
+
<node-interpreter>project</node-interpreter>
|
|
277
|
+
<node-options />
|
|
278
|
+
<gulpfile />
|
|
279
|
+
<tasks />
|
|
280
|
+
<arguments />
|
|
281
|
+
<envs />
|
|
282
|
+
<method v="2" />
|
|
283
|
+
</configuration>
|
|
284
|
+
<recent_temporary>
|
|
285
|
+
<list>
|
|
286
|
+
<item itemvalue="Ruby.setting" />
|
|
287
|
+
</list>
|
|
288
|
+
</recent_temporary>
|
|
289
|
+
</component>
|
|
290
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
|
291
|
+
<component name="SvnConfiguration">
|
|
292
|
+
<configuration />
|
|
293
|
+
</component>
|
|
294
|
+
<component name="TaskManager">
|
|
295
|
+
<task active="true" id="Default" summary="Default task">
|
|
296
|
+
<changelist id="5e8bc335-8301-412e-9672-5d35dfc99f81" name="Default" comment="" />
|
|
297
|
+
<created>1477113393537</created>
|
|
298
|
+
<option name="number" value="Default" />
|
|
299
|
+
<option name="presentableId" value="Default" />
|
|
300
|
+
<updated>1477113393537</updated>
|
|
301
|
+
<workItem from="1477113394791" duration="4158000" />
|
|
302
|
+
<workItem from="1477310795750" duration="50000" />
|
|
303
|
+
<workItem from="1516678356632" duration="151000" />
|
|
304
|
+
<workItem from="1550567927497" duration="11844000" />
|
|
305
|
+
</task>
|
|
306
|
+
<servers />
|
|
307
|
+
</component>
|
|
308
|
+
<component name="TimeTrackingManager">
|
|
309
|
+
<option name="totallyTimeSpent" value="16203000" />
|
|
310
|
+
</component>
|
|
311
|
+
<component name="ToolWindowManager">
|
|
312
|
+
<frame x="0" y="23" width="1440" height="810" extended-state="0" />
|
|
313
|
+
<layout>
|
|
314
|
+
<window_info active="true" id="Project" order="0" visible="true" weight="0.2639485" />
|
|
315
|
+
<window_info id="Structure" order="1" weight="0.25" />
|
|
316
|
+
<window_info id="Favorites" order="2" side_tool="true" />
|
|
317
|
+
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
|
|
318
|
+
<window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
|
|
319
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
|
320
|
+
<window_info anchor="bottom" id="Find" order="1" weight="0.32914925" />
|
|
321
|
+
<window_info anchor="bottom" id="Run" order="2" />
|
|
322
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
|
323
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
|
324
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
|
325
|
+
<window_info anchor="bottom" id="TODO" order="6" />
|
|
326
|
+
<window_info anchor="bottom" id="Version Control" order="7" />
|
|
327
|
+
<window_info anchor="bottom" id="Terminal" order="8" />
|
|
328
|
+
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
|
|
329
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
|
330
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
|
331
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
|
332
|
+
<window_info anchor="right" id="Database" order="3" />
|
|
333
|
+
</layout>
|
|
334
|
+
</component>
|
|
335
|
+
<component name="TypeScriptGeneratedFilesManager">
|
|
336
|
+
<option name="version" value="1" />
|
|
337
|
+
</component>
|
|
338
|
+
<component name="Vcs.Log.UiProperties">
|
|
339
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
|
340
|
+
<collection />
|
|
341
|
+
</option>
|
|
342
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
|
343
|
+
<collection />
|
|
344
|
+
</option>
|
|
345
|
+
</component>
|
|
346
|
+
<component name="VcsContentAnnotationSettings">
|
|
347
|
+
<option name="myLimit" value="2678400000" />
|
|
348
|
+
</component>
|
|
349
|
+
<component name="editorHistoryManager">
|
|
350
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
351
|
+
<provider selected="true" editor-type-id="text-editor" />
|
|
352
|
+
</entry>
|
|
353
|
+
<entry file="file://$PROJECT_DIR$/spec/blade/translate_spec.rb">
|
|
354
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
355
|
+
<state relative-caret-position="135">
|
|
356
|
+
<caret line="9" selection-start-line="9" selection-end-line="9" />
|
|
357
|
+
</state>
|
|
358
|
+
</provider>
|
|
359
|
+
</entry>
|
|
360
|
+
<entry file="file://$PROJECT_DIR$/.rspec">
|
|
361
|
+
<provider selected="true" editor-type-id="text-editor" />
|
|
362
|
+
</entry>
|
|
363
|
+
<entry file="file://$APPLICATION_HOME_DIR$/rubystubs26/file.rb">
|
|
364
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
365
|
+
<state relative-caret-position="26">
|
|
366
|
+
<caret line="534" column="13" selection-start-line="534" selection-start-column="13" selection-end-line="534" selection-end-column="13" />
|
|
367
|
+
</state>
|
|
368
|
+
</provider>
|
|
369
|
+
</entry>
|
|
370
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
371
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
372
|
+
<state>
|
|
373
|
+
<caret column="36" selection-start-column="36" selection-end-column="36" />
|
|
374
|
+
</state>
|
|
375
|
+
</provider>
|
|
376
|
+
</entry>
|
|
377
|
+
<entry file="file://$PROJECT_DIR$/app/settings/database.rb">
|
|
378
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
379
|
+
<state relative-caret-position="75">
|
|
380
|
+
<caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" />
|
|
381
|
+
</state>
|
|
382
|
+
</provider>
|
|
383
|
+
</entry>
|
|
384
|
+
<entry file="file://$PROJECT_DIR$/app/settings/influxdb.rb">
|
|
385
|
+
<provider selected="true" editor-type-id="text-editor" />
|
|
386
|
+
</entry>
|
|
387
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
|
388
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
389
|
+
<state relative-caret-position="105">
|
|
390
|
+
<caret line="7" column="33" selection-start-line="7" selection-start-column="31" selection-end-line="7" selection-end-column="33" />
|
|
391
|
+
</state>
|
|
392
|
+
</provider>
|
|
393
|
+
</entry>
|
|
394
|
+
<entry file="file://$PROJECT_DIR$/blade-setting.gemspec">
|
|
395
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
396
|
+
<state relative-caret-position="465">
|
|
397
|
+
<caret line="31" column="43" selection-start-line="31" selection-start-column="43" selection-end-line="31" selection-end-column="43" />
|
|
398
|
+
</state>
|
|
399
|
+
</provider>
|
|
400
|
+
</entry>
|
|
401
|
+
<entry file="file://$PROJECT_DIR$/app/settings/elastic_search.rb">
|
|
402
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
403
|
+
<state relative-caret-position="60">
|
|
404
|
+
<caret line="4" column="3" lean-forward="true" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
|
|
405
|
+
</state>
|
|
406
|
+
</provider>
|
|
407
|
+
</entry>
|
|
408
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
409
|
+
<provider editor-type-id="text-editor">
|
|
410
|
+
<state relative-caret-position="360">
|
|
411
|
+
<caret line="24" selection-start-line="24" selection-end-line="24" selection-end-column="14" />
|
|
412
|
+
</state>
|
|
413
|
+
</provider>
|
|
414
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
415
|
+
<state split_layout="SPLIT">
|
|
416
|
+
<first_editor relative-caret-position="345">
|
|
417
|
+
<caret line="23" column="13" selection-start-line="23" selection-start-column="13" selection-end-line="23" selection-end-column="13" />
|
|
418
|
+
</first_editor>
|
|
419
|
+
<second_editor />
|
|
420
|
+
</state>
|
|
421
|
+
</provider>
|
|
422
|
+
</entry>
|
|
423
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
|
424
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
425
|
+
<state relative-caret-position="120">
|
|
426
|
+
<caret line="8" column="5" selection-start-line="8" selection-start-column="5" selection-end-line="8" selection-end-column="5" />
|
|
427
|
+
</state>
|
|
428
|
+
</provider>
|
|
429
|
+
</entry>
|
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/blade/setting/yml_template.rb">
|
|
431
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
432
|
+
<state relative-caret-position="15">
|
|
433
|
+
<caret line="1" column="9" selection-start-line="1" selection-start-column="9" selection-end-line="1" selection-end-column="16" />
|
|
434
|
+
</state>
|
|
435
|
+
</provider>
|
|
436
|
+
</entry>
|
|
437
|
+
<entry file="file://$PROJECT_DIR$/lib/blade/setting/version.rb">
|
|
438
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
439
|
+
<state relative-caret-position="75">
|
|
440
|
+
<caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" />
|
|
441
|
+
</state>
|
|
442
|
+
</provider>
|
|
443
|
+
</entry>
|
|
444
|
+
<entry file="file://$PROJECT_DIR$/lib/blade/setting.rb">
|
|
445
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
446
|
+
<state relative-caret-position="135">
|
|
447
|
+
<caret line="9" column="8" selection-start-line="9" selection-start-column="8" selection-end-line="9" selection-end-column="20" />
|
|
448
|
+
</state>
|
|
449
|
+
</provider>
|
|
450
|
+
</entry>
|
|
451
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
|
452
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
453
|
+
<state relative-caret-position="210">
|
|
454
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
|
455
|
+
</state>
|
|
456
|
+
</provider>
|
|
457
|
+
</entry>
|
|
458
|
+
<entry file="file://$PROJECT_DIR$/environments/dev/config/sentry.yml">
|
|
459
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
460
|
+
<state relative-caret-position="210">
|
|
461
|
+
<caret line="14" column="21" lean-forward="true" selection-start-line="14" selection-start-column="21" selection-end-line="14" selection-end-column="21" />
|
|
462
|
+
</state>
|
|
463
|
+
</provider>
|
|
464
|
+
</entry>
|
|
465
|
+
<entry file="file://$PROJECT_DIR$/environments/dev/config/redis.yml">
|
|
466
|
+
<provider selected="true" editor-type-id="text-editor" />
|
|
467
|
+
</entry>
|
|
468
|
+
<entry file="file://$PROJECT_DIR$/bin/bs">
|
|
469
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
470
|
+
<state relative-caret-position="495">
|
|
471
|
+
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
|
|
472
|
+
</state>
|
|
473
|
+
</provider>
|
|
474
|
+
</entry>
|
|
475
|
+
</component>
|
|
476
|
+
</project>
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Contributor Code of Conduct
|
|
2
|
+
|
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
|
7
|
+
|
|
8
|
+
We are committed to making participation in this project a harassment-free
|
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
|
12
|
+
|
|
13
|
+
Examples of unacceptable behavior by participants include:
|
|
14
|
+
|
|
15
|
+
* The use of sexualized language or imagery
|
|
16
|
+
* Personal attacks
|
|
17
|
+
* Trolling or insulting/derogatory comments
|
|
18
|
+
* Public or private harassment
|
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
|
20
|
+
addresses, without explicit permission
|
|
21
|
+
* Other unethical or unprofessional conduct
|
|
22
|
+
|
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
27
|
+
threatening, offensive, or harmful.
|
|
28
|
+
|
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
|
32
|
+
Conduct may be permanently removed from the project team.
|
|
33
|
+
|
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
|
35
|
+
when an individual is representing the project or its community.
|
|
36
|
+
|
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
38
|
+
reported by contacting a project maintainer at 351711778@qq.com. All
|
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
|
42
|
+
incident.
|
|
43
|
+
|
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
45
|
+
version 1.3.0, available at
|
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
|
47
|
+
|
|
48
|
+
[homepage]: http://contributor-covenant.org
|
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 icepoint0
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Blade::Translate
|
|
2
|
+
|
|
3
|
+
command line translate
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'setting'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install blade-translate
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
bt your_world
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Development
|
|
28
|
+
|
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also 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`, which will 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
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/icepoint0/blade-translate. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
41
|
+
|
data/Rakefile
ADDED
data/bin/bs
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require_relative '../lib/blade/setting'
|
|
4
|
+
|
|
5
|
+
require 'tty-prompt'
|
|
6
|
+
prompt = TTY::Prompt.new
|
|
7
|
+
result = prompt.collect do
|
|
8
|
+
key(:setting_path).ask('The generated config file path', default: '/app/settings')
|
|
9
|
+
|
|
10
|
+
setting_choices = %w(redis sentry influxdb scout_apm send_cloud elastic_search wechat carrierwave)
|
|
11
|
+
|
|
12
|
+
prompt.say('Please select the config file you want to generate,
|
|
13
|
+
(Use arrow keys, press Space to select and Enter to finish, and letter keys to filter)')
|
|
14
|
+
key(:configs).multi_select('check configs',
|
|
15
|
+
setting_choices, filter: true)
|
|
16
|
+
|
|
17
|
+
key(:yml_path).ask('The generated yml path', default: '/environments')
|
|
18
|
+
|
|
19
|
+
key(:extra_yml_path).ask('Other environment? (Input words like sit,dit,prod)', default: 'dev,sit,dit,prod') do |q|
|
|
20
|
+
q.convert -> (input) {input.split(/,\s*/)}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
prompt.ok('config complete')
|
|
25
|
+
prompt.warn("generating files ...plz don't quit")
|
|
26
|
+
#生成setting logic
|
|
27
|
+
Blade::BladeSetting.generate_setting_logic(result[:setting_path], result[:configs])
|
|
28
|
+
|
|
29
|
+
prompt.warn('generating yml files ...')
|
|
30
|
+
Blade::BladeSetting.generate_setting_yml(result[:yml_path],result[:extra_yml_path], result[:configs])
|
|
31
|
+
|
|
32
|
+
prompt.ok("generate complete ! check files now")
|
|
33
|
+
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "blade/setting"
|
|
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,33 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'blade/setting/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "blade-setting"
|
|
8
|
+
spec.version = Blade::Setting::VERSION
|
|
9
|
+
spec.authors = ["icepoint0"]
|
|
10
|
+
spec.email = ["351711778@qq.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = "blade setting"
|
|
13
|
+
spec.description = "blade setting"
|
|
14
|
+
spec.homepage = "http://thunderjava.com"
|
|
15
|
+
spec.license = "MIT"
|
|
16
|
+
|
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
22
|
+
spec.bindir = "bin"
|
|
23
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
24
|
+
spec.require_paths = ["lib"]
|
|
25
|
+
|
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
29
|
+
spec.add_dependency "rainbow" ,"~>2.1.0"
|
|
30
|
+
spec.add_dependency "tty-prompt", "~>0"
|
|
31
|
+
spec.add_dependency "activesupport", '~> 5.0'
|
|
32
|
+
spec.add_dependency "fileutils","~> 0.7.2"
|
|
33
|
+
end
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
module Blade
|
|
2
|
+
module Setting
|
|
3
|
+
|
|
4
|
+
module YmlTemplate
|
|
5
|
+
|
|
6
|
+
REDIS_YML = <<-File
|
|
7
|
+
# encoding: UTF-8
|
|
8
|
+
|
|
9
|
+
defaults: &defaults
|
|
10
|
+
status: open
|
|
11
|
+
host: localhost
|
|
12
|
+
port: 6379
|
|
13
|
+
db: 0
|
|
14
|
+
username: username
|
|
15
|
+
password: Fy958e5mmyb7Ta4H
|
|
16
|
+
name_space: redis
|
|
17
|
+
|
|
18
|
+
development: &development
|
|
19
|
+
<<: *defaults
|
|
20
|
+
host: localhost
|
|
21
|
+
password: Fy958e5mmyb7Ta4H
|
|
22
|
+
|
|
23
|
+
test:
|
|
24
|
+
<<: *defaults
|
|
25
|
+
|
|
26
|
+
production:
|
|
27
|
+
<<: *defaults
|
|
28
|
+
File
|
|
29
|
+
|
|
30
|
+
INFLUXDB_YML = <<-FILE
|
|
31
|
+
# encoding: UTF-8
|
|
32
|
+
|
|
33
|
+
defaults: &defaults
|
|
34
|
+
status: open
|
|
35
|
+
database: database
|
|
36
|
+
host: host
|
|
37
|
+
port: 80
|
|
38
|
+
username: username
|
|
39
|
+
password: password
|
|
40
|
+
async: true
|
|
41
|
+
|
|
42
|
+
development: &development
|
|
43
|
+
<<: *defaults
|
|
44
|
+
status: close
|
|
45
|
+
|
|
46
|
+
test:
|
|
47
|
+
<<: *defaults
|
|
48
|
+
|
|
49
|
+
production:
|
|
50
|
+
<<: *defaults
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
FILE
|
|
54
|
+
|
|
55
|
+
SEND_CLOUD_YML = <<-FILE
|
|
56
|
+
defaults: &defaults
|
|
57
|
+
status: close # open | close
|
|
58
|
+
|
|
59
|
+
storage: storage
|
|
60
|
+
|
|
61
|
+
your_scope:
|
|
62
|
+
status: open
|
|
63
|
+
api_user: user
|
|
64
|
+
api_key: key
|
|
65
|
+
url: url
|
|
66
|
+
# 邮件发送者
|
|
67
|
+
form: from
|
|
68
|
+
# 有效调用过期时间
|
|
69
|
+
expired_time: 24
|
|
70
|
+
|
|
71
|
+
development: &development
|
|
72
|
+
<<: *defaults
|
|
73
|
+
|
|
74
|
+
test: &test
|
|
75
|
+
<<: *defaults
|
|
76
|
+
|
|
77
|
+
status: close # open | close
|
|
78
|
+
|
|
79
|
+
production: &production
|
|
80
|
+
<<: *defaults
|
|
81
|
+
|
|
82
|
+
status: open # open | close
|
|
83
|
+
FILE
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
SENTRY_YML = <<-File
|
|
87
|
+
#encoding: utf-8
|
|
88
|
+
|
|
89
|
+
default: &default
|
|
90
|
+
status: open # open | close
|
|
91
|
+
|
|
92
|
+
scheme: 'https'
|
|
93
|
+
host: host
|
|
94
|
+
|
|
95
|
+
async: sidekiq # sidekiq or true
|
|
96
|
+
|
|
97
|
+
sample_rate: 1.0
|
|
98
|
+
|
|
99
|
+
development:
|
|
100
|
+
<<: *default
|
|
101
|
+
access_token: token
|
|
102
|
+
app_id: app_id
|
|
103
|
+
|
|
104
|
+
production:
|
|
105
|
+
<<: *default
|
|
106
|
+
access_token: token
|
|
107
|
+
app_id: prod_app_id
|
|
108
|
+
|
|
109
|
+
File
|
|
110
|
+
|
|
111
|
+
SCOUT_APM_YML = <<-File
|
|
112
|
+
# This configuration file is used for Scout APM.
|
|
113
|
+
# Environment variables can also be used to configure Scout. See our help docs at http://help.apm.scoutapp.com#environment-variables for more information.
|
|
114
|
+
common: &defaults
|
|
115
|
+
|
|
116
|
+
# key: Your Organization key for Scout APM. Found on the settings screen.
|
|
117
|
+
# - Default: none
|
|
118
|
+
key: key
|
|
119
|
+
|
|
120
|
+
# log_level: Verboseness of logs.
|
|
121
|
+
# - Default: 'info'
|
|
122
|
+
# - Valid Options: debug, info, warn, error
|
|
123
|
+
# log_level: debug
|
|
124
|
+
|
|
125
|
+
name: name
|
|
126
|
+
# - Default: the application names comes from the Rails or Sinatra class name
|
|
127
|
+
# name:
|
|
128
|
+
|
|
129
|
+
# monitor: Enable Scout APM or not
|
|
130
|
+
# - Default: none
|
|
131
|
+
# - Valid Options: true, false
|
|
132
|
+
monitor: true
|
|
133
|
+
|
|
134
|
+
production:
|
|
135
|
+
<<: *defaults
|
|
136
|
+
|
|
137
|
+
development:
|
|
138
|
+
<<: *defaults
|
|
139
|
+
monitor: false
|
|
140
|
+
|
|
141
|
+
test:
|
|
142
|
+
<<: *defaults
|
|
143
|
+
monitor: false
|
|
144
|
+
|
|
145
|
+
staging:
|
|
146
|
+
<<: *defaults
|
|
147
|
+
File
|
|
148
|
+
|
|
149
|
+
ElASTIC_SEARCH_YML = <<-File
|
|
150
|
+
default: &default
|
|
151
|
+
host: host
|
|
152
|
+
port: 9200
|
|
153
|
+
prefix: prefix
|
|
154
|
+
|
|
155
|
+
development: &development
|
|
156
|
+
<<: *default
|
|
157
|
+
# status: 'close' # open | close
|
|
158
|
+
|
|
159
|
+
test: &test
|
|
160
|
+
<<: *default
|
|
161
|
+
# status: 'close' # open | close
|
|
162
|
+
|
|
163
|
+
production: &production
|
|
164
|
+
<<: *default
|
|
165
|
+
host: 127.0.0.1
|
|
166
|
+
|
|
167
|
+
File
|
|
168
|
+
|
|
169
|
+
WECHAT_YML = <<-File
|
|
170
|
+
|
|
171
|
+
defaults: &default
|
|
172
|
+
appid: appid
|
|
173
|
+
appsecret: appsecret
|
|
174
|
+
|
|
175
|
+
development:
|
|
176
|
+
<<: *default
|
|
177
|
+
|
|
178
|
+
test:
|
|
179
|
+
<<: *default
|
|
180
|
+
|
|
181
|
+
production:
|
|
182
|
+
<<: *default
|
|
183
|
+
|
|
184
|
+
File
|
|
185
|
+
|
|
186
|
+
CARRIERWAVE_YAML = <<-File
|
|
187
|
+
# encoding: UTF-8
|
|
188
|
+
|
|
189
|
+
defaults: &defaults
|
|
190
|
+
status: open # open | close
|
|
191
|
+
|
|
192
|
+
storage: aliyun
|
|
193
|
+
|
|
194
|
+
aliyun:
|
|
195
|
+
status: open # open | close
|
|
196
|
+
access_id: id
|
|
197
|
+
access_key: key
|
|
198
|
+
bucket: jk-sit
|
|
199
|
+
host: http://wtf.aliyuncs.com
|
|
200
|
+
|
|
201
|
+
qiniu:
|
|
202
|
+
status: open # open | close
|
|
203
|
+
access_key: access_key
|
|
204
|
+
secret_key: sk
|
|
205
|
+
bucket: bucket
|
|
206
|
+
bucket_domain: wtf.qnssl.com
|
|
207
|
+
|
|
208
|
+
development: &development
|
|
209
|
+
<<: *defaults
|
|
210
|
+
|
|
211
|
+
test: &test
|
|
212
|
+
<<: *defaults
|
|
213
|
+
|
|
214
|
+
status: close # open | close
|
|
215
|
+
|
|
216
|
+
production: &production
|
|
217
|
+
<<: *defaults
|
|
218
|
+
|
|
219
|
+
status: open # open | close
|
|
220
|
+
|
|
221
|
+
File
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
end
|
|
225
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
require "uri"
|
|
2
|
+
require "net/http"
|
|
3
|
+
require "json"
|
|
4
|
+
require "rainbow/ext/string"
|
|
5
|
+
require "active_support/all"
|
|
6
|
+
require 'fileutils'
|
|
7
|
+
require 'blade/setting/yml_template'
|
|
8
|
+
module Blade
|
|
9
|
+
|
|
10
|
+
class BladeSetting
|
|
11
|
+
|
|
12
|
+
class << self
|
|
13
|
+
|
|
14
|
+
def generate_setting_logic(setting_path, configs = [])
|
|
15
|
+
|
|
16
|
+
configs.each do |config|
|
|
17
|
+
|
|
18
|
+
path = Dir.pwd
|
|
19
|
+
p path + setting_path
|
|
20
|
+
|
|
21
|
+
unless Dir.exist?(path + setting_path)
|
|
22
|
+
FileUtils.mkdir_p path + setting_path
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
file = File.new(path + setting_path + '/' + config + '_setting.rb', 'w')
|
|
26
|
+
file.write <<-File
|
|
27
|
+
# frozen_string_literal: true
|
|
28
|
+
class #{config.camelize.singularize}Setting < Settingslogic
|
|
29
|
+
source "#{'#{Rails.root}'}/config/#{config}.yml"
|
|
30
|
+
namespace Rails.env
|
|
31
|
+
end
|
|
32
|
+
File
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def generate_setting_yml(yml_base_path, extra_path, configs = [])
|
|
37
|
+
|
|
38
|
+
all_environment_paths = extra_path
|
|
39
|
+
|
|
40
|
+
all_environment_paths.each do |env_path|
|
|
41
|
+
|
|
42
|
+
path = Dir.pwd
|
|
43
|
+
unless Dir.exist?(path + yml_base_path + '/' + env_path)
|
|
44
|
+
FileUtils.mkdir_p path + yml_base_path + '/' + env_path + '/' + 'config'
|
|
45
|
+
end
|
|
46
|
+
configs.each do |config|
|
|
47
|
+
yml_file = "Blade::Setting::YmlTemplate::#{config.upcase}_YML".constantize
|
|
48
|
+
file = File.new(path + yml_base_path + '/' + env_path + '/' + 'config' '/' + config + '.yml', 'w')
|
|
49
|
+
file.write yml_file
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
58
|
+
end
|
data/thc-translate.png
ADDED
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: blade-setting
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.8
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- icepoint0
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2019-02-20 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.11'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.11'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rspec
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rainbow
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 2.1.0
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 2.1.0
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: tty-prompt
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: activesupport
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '5.0'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '5.0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: fileutils
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: 0.7.2
|
|
104
|
+
type: :runtime
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: 0.7.2
|
|
111
|
+
description: blade setting
|
|
112
|
+
email:
|
|
113
|
+
- 351711778@qq.com
|
|
114
|
+
executables:
|
|
115
|
+
- bs
|
|
116
|
+
- console
|
|
117
|
+
- setup
|
|
118
|
+
extensions: []
|
|
119
|
+
extra_rdoc_files: []
|
|
120
|
+
files:
|
|
121
|
+
- ".DS_Store"
|
|
122
|
+
- ".gitignore"
|
|
123
|
+
- ".idea/.rakeTasks"
|
|
124
|
+
- ".idea/blade-translate.iml"
|
|
125
|
+
- ".idea/misc.xml"
|
|
126
|
+
- ".idea/modules.xml"
|
|
127
|
+
- ".idea/vcs.xml"
|
|
128
|
+
- ".idea/workspace.xml"
|
|
129
|
+
- ".rspec"
|
|
130
|
+
- ".travis.yml"
|
|
131
|
+
- CODE_OF_CONDUCT.md
|
|
132
|
+
- Gemfile
|
|
133
|
+
- LICENSE.txt
|
|
134
|
+
- README.md
|
|
135
|
+
- Rakefile
|
|
136
|
+
- bin/bs
|
|
137
|
+
- bin/console
|
|
138
|
+
- bin/setup
|
|
139
|
+
- blade-setting.gemspec
|
|
140
|
+
- lib/blade/setting.rb
|
|
141
|
+
- lib/blade/setting/version.rb
|
|
142
|
+
- lib/blade/setting/yml_template.rb
|
|
143
|
+
- thc-translate.png
|
|
144
|
+
homepage: http://thunderjava.com
|
|
145
|
+
licenses:
|
|
146
|
+
- MIT
|
|
147
|
+
metadata: {}
|
|
148
|
+
post_install_message:
|
|
149
|
+
rdoc_options: []
|
|
150
|
+
require_paths:
|
|
151
|
+
- lib
|
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
|
+
requirements:
|
|
154
|
+
- - ">="
|
|
155
|
+
- !ruby/object:Gem::Version
|
|
156
|
+
version: '0'
|
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
|
+
requirements:
|
|
159
|
+
- - ">="
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: '0'
|
|
162
|
+
requirements: []
|
|
163
|
+
rubygems_version: 3.0.1
|
|
164
|
+
signing_key:
|
|
165
|
+
specification_version: 4
|
|
166
|
+
summary: blade setting
|
|
167
|
+
test_files: []
|