alvarodelatorre_view_tool 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bab6db6e3adcee4fc1caa7f3abbb28dd8d4e2cbc
4
+ data.tar.gz: 98164fabdcf9d9b4275c56940c4fb6edc2d590b3
5
+ SHA512:
6
+ metadata.gz: 99003b6bb9340404c634cb3decfbd5df4f7161cff16507539b78a6c72e62c63596e3d55c57e1754bf77c46cf75562701aaacea48c72ce9bfd638c66d5cc4ddf2
7
+ data.tar.gz: 56984f94a4c43bf9ff18545050941d0068df1c2cbf183aebde484d218aa4cf15ad56f3ff66ef79abac6ebbeed5106bc3a2e9107b7d4dbb6b3eae9d0ea8c9310c
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ *.gem
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 alvarodelatorre_view_tool-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 alvarodelatorre_view_tool-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install alvarodelatorre_view_tool-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 alvarodelatorre_view_tool-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" 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,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.0, RVM: ruby-2.3.3) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.3.3) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.3.3) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.6.0, RVM: ruby-2.3.3) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.6.0, RVM: ruby-2.3.3) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.6.0, RVM: ruby-2.3.3) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.6.0, RVM: ruby-2.3.3) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.6.0, RVM: ruby-2.3.3) [gem]" level="application" />
18
+ </component>
19
+ </module>
data/.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.3" project-jdk-type="RUBY_SDK" />
4
+ </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/alvarodelatorre_view_tool.iml" filepath="$PROJECT_DIR$/.idea/alvarodelatorre_view_tool.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,285 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="cc82cd11-2b79-4a7c-a094-e067a0549009" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
+ </list>
7
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+ <option name="TRACKING_ENABLED" value="true" />
9
+ <option name="SHOW_DIALOG" value="false" />
10
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+ <option name="LAST_RESOLUTION" value="IGNORE" />
13
+ </component>
14
+ <component name="FileEditorManager">
15
+ <leaf>
16
+ <file leaf-file-name="renderer.rb" pinned="false" current-in-tab="false">
17
+ <entry file="file://$PROJECT_DIR$/lib/alvarodelatorre_view_tool/renderer.rb">
18
+ <provider selected="true" editor-type-id="text-editor">
19
+ <state relative-caret-position="90">
20
+ <caret line="6" column="3" lean-forward="false" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
21
+ <folding />
22
+ </state>
23
+ </provider>
24
+ </entry>
25
+ </file>
26
+ <file leaf-file-name="alvarodelatorre_view_tool.rb" pinned="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/lib/alvarodelatorre_view_tool.rb">
28
+ <provider selected="true" editor-type-id="text-editor">
29
+ <state relative-caret-position="90">
30
+ <caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
31
+ <folding />
32
+ </state>
33
+ </provider>
34
+ </entry>
35
+ </file>
36
+ <file leaf-file-name="alvarodelatorre_view_tool_spec.rb" pinned="false" current-in-tab="false">
37
+ <entry file="file://$PROJECT_DIR$/spec/alvarodelatorre_view_tool_spec.rb">
38
+ <provider selected="true" editor-type-id="text-editor">
39
+ <state relative-caret-position="0">
40
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
41
+ <folding />
42
+ </state>
43
+ </provider>
44
+ </entry>
45
+ </file>
46
+ <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
47
+ <entry file="file://$PROJECT_DIR$/README.md">
48
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
49
+ <state split_layout="SPLIT">
50
+ <first_editor relative-caret-position="255">
51
+ <caret line="17" column="0" lean-forward="true" selection-start-line="17" selection-start-column="0" selection-end-line="17" selection-end-column="0" />
52
+ <folding>
53
+ <marker date="1517518242000" expanded="true" signature="562:1668" ph="for ... end" />
54
+ <marker date="1517518242000" expanded="true" signature="839:1668" ph="for ... end" />
55
+ <marker date="1517518242000" expanded="true" signature="1134:1668" ph="for ... end" />
56
+ </folding>
57
+ </first_editor>
58
+ <second_editor />
59
+ </state>
60
+ </provider>
61
+ </entry>
62
+ </file>
63
+ <file leaf-file-name=".gitignore" pinned="false" current-in-tab="true">
64
+ <entry file="file://$PROJECT_DIR$/.gitignore">
65
+ <provider selected="true" editor-type-id="text-editor">
66
+ <state relative-caret-position="165">
67
+ <caret line="11" column="5" lean-forward="false" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
68
+ <folding />
69
+ </state>
70
+ </provider>
71
+ </entry>
72
+ </file>
73
+ </leaf>
74
+ </component>
75
+ <component name="Git.Settings">
76
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
77
+ </component>
78
+ <component name="IdeDocumentHistory">
79
+ <option name="CHANGED_PATHS">
80
+ <list>
81
+ <option value="$PROJECT_DIR$/lib/alvarodelatorre_view_tool/renderer.rb" />
82
+ <option value="$PROJECT_DIR$/README.md" />
83
+ <option value="$PROJECT_DIR$/alvarodelatorre_view_tool.gemspec" />
84
+ <option value="$PROJECT_DIR$/lib/alvarodelatorre_view_tool.rb" />
85
+ <option value="$PROJECT_DIR$/.gitignore" />
86
+ </list>
87
+ </option>
88
+ </component>
89
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
90
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
91
+ <component name="JsGulpfileManager">
92
+ <detection-done>true</detection-done>
93
+ <sorting>DEFINITION_ORDER</sorting>
94
+ </component>
95
+ <component name="ProjectFrameBounds">
96
+ <option name="y" value="23" />
97
+ <option name="width" value="1261" />
98
+ <option name="height" value="714" />
99
+ </component>
100
+ <component name="ProjectView">
101
+ <navigator currentView="ProjectPane" proportions="" version="1">
102
+ <flattenPackages />
103
+ <showMembers />
104
+ <showModules />
105
+ <showLibraryContents />
106
+ <hideEmptyPackages />
107
+ <abbreviatePackageNames />
108
+ <autoscrollToSource />
109
+ <autoscrollFromSource />
110
+ <sortByType />
111
+ <manualOrder />
112
+ <foldersAlwaysOnTop value="true" />
113
+ </navigator>
114
+ <panes>
115
+ <pane id="Scratches" />
116
+ <pane id="ProjectPane">
117
+ <subPane>
118
+ <expand>
119
+ <path>
120
+ <item name="alvarodelatorre_view_tool" type="b2602c69:ProjectViewProjectNode" />
121
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
122
+ </path>
123
+ <path>
124
+ <item name="alvarodelatorre_view_tool" type="b2602c69:ProjectViewProjectNode" />
125
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
126
+ <item name="bin" type="462c0819:PsiDirectoryNode" />
127
+ </path>
128
+ <path>
129
+ <item name="alvarodelatorre_view_tool" type="b2602c69:ProjectViewProjectNode" />
130
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
131
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
132
+ </path>
133
+ <path>
134
+ <item name="alvarodelatorre_view_tool" type="b2602c69:ProjectViewProjectNode" />
135
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
136
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
137
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
138
+ </path>
139
+ <path>
140
+ <item name="alvarodelatorre_view_tool" type="b2602c69:ProjectViewProjectNode" />
141
+ <item name="alvarodelatorre_view_tool" type="462c0819:PsiDirectoryNode" />
142
+ <item name="spec" type="462c0819:PsiDirectoryNode" />
143
+ </path>
144
+ </expand>
145
+ <select />
146
+ </subPane>
147
+ </pane>
148
+ <pane id="Scope" />
149
+ </panes>
150
+ </component>
151
+ <component name="PropertiesComponent">
152
+ <property name="WebServerToolWindowFactoryState" value="false" />
153
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
154
+ </component>
155
+ <component name="RunDashboard">
156
+ <option name="ruleStates">
157
+ <list>
158
+ <RuleState>
159
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
160
+ </RuleState>
161
+ <RuleState>
162
+ <option name="name" value="StatusDashboardGroupingRule" />
163
+ </RuleState>
164
+ </list>
165
+ </option>
166
+ </component>
167
+ <component name="ShelveChangesManager" show_recycled="false">
168
+ <option name="remove_strategy" value="false" />
169
+ </component>
170
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
171
+ <component name="SvnConfiguration">
172
+ <configuration />
173
+ </component>
174
+ <component name="TaskManager">
175
+ <task active="true" id="Default" summary="Default task">
176
+ <changelist id="cc82cd11-2b79-4a7c-a094-e067a0549009" name="Default" comment="" />
177
+ <created>1517516886942</created>
178
+ <option name="number" value="Default" />
179
+ <option name="presentableId" value="Default" />
180
+ <updated>1517516886942</updated>
181
+ <workItem from="1517516888253" duration="2921000" />
182
+ </task>
183
+ <servers />
184
+ </component>
185
+ <component name="TimeTrackingManager">
186
+ <option name="totallyTimeSpent" value="2921000" />
187
+ </component>
188
+ <component name="ToolWindowManager">
189
+ <frame x="0" y="23" width="1261" height="714" extended-state="0" />
190
+ <layout>
191
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24938475" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
192
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
193
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33796296" sideWeight="0.5028712" order="-1" side_tool="true" content_ui="tabs" />
194
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
195
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
196
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
197
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
198
+ <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.33796296" sideWeight="0.49712878" order="-1" side_tool="false" content_ui="tabs" />
199
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
200
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
201
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
202
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
203
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
204
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
205
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
206
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
207
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
208
+ </layout>
209
+ </component>
210
+ <component name="TypeScriptGeneratedFilesManager">
211
+ <option name="version" value="1" />
212
+ </component>
213
+ <component name="VcsContentAnnotationSettings">
214
+ <option name="myLimit" value="2678400000" />
215
+ </component>
216
+ <component name="XDebuggerManager">
217
+ <breakpoint-manager />
218
+ <watches-manager />
219
+ </component>
220
+ <component name="editorHistoryManager">
221
+ <entry file="file://$PROJECT_DIR$/alvarodelatorre_view_tool.gemspec">
222
+ <provider selected="true" editor-type-id="text-editor">
223
+ <state relative-caret-position="90">
224
+ <caret line="13" column="31" lean-forward="false" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
225
+ <folding />
226
+ </state>
227
+ </provider>
228
+ </entry>
229
+ <entry file="file://$PROJECT_DIR$/lib/alvarodelatorre_view_tool/version.rb">
230
+ <provider selected="true" editor-type-id="text-editor">
231
+ <state relative-caret-position="0">
232
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
233
+ <folding />
234
+ </state>
235
+ </provider>
236
+ </entry>
237
+ <entry file="file://$PROJECT_DIR$/spec/alvarodelatorre_view_tool_spec.rb">
238
+ <provider selected="true" editor-type-id="text-editor">
239
+ <state relative-caret-position="0">
240
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
241
+ <folding />
242
+ </state>
243
+ </provider>
244
+ </entry>
245
+ <entry file="file://$PROJECT_DIR$/lib/alvarodelatorre_view_tool/renderer.rb">
246
+ <provider selected="true" editor-type-id="text-editor">
247
+ <state relative-caret-position="90">
248
+ <caret line="6" column="3" lean-forward="false" selection-start-line="6" selection-start-column="3" selection-end-line="6" selection-end-column="3" />
249
+ <folding />
250
+ </state>
251
+ </provider>
252
+ </entry>
253
+ <entry file="file://$PROJECT_DIR$/lib/alvarodelatorre_view_tool.rb">
254
+ <provider selected="true" editor-type-id="text-editor">
255
+ <state relative-caret-position="90">
256
+ <caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
257
+ <folding />
258
+ </state>
259
+ </provider>
260
+ </entry>
261
+ <entry file="file://$PROJECT_DIR$/README.md">
262
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
263
+ <state split_layout="SPLIT">
264
+ <first_editor relative-caret-position="255">
265
+ <caret line="17" column="0" lean-forward="true" selection-start-line="17" selection-start-column="0" selection-end-line="17" selection-end-column="0" />
266
+ <folding>
267
+ <marker date="1517518242000" expanded="true" signature="562:1668" ph="for ... end" />
268
+ <marker date="1517518242000" expanded="true" signature="839:1668" ph="for ... end" />
269
+ <marker date="1517518242000" expanded="true" signature="1134:1668" ph="for ... end" />
270
+ </folding>
271
+ </first_editor>
272
+ <second_editor />
273
+ </state>
274
+ </provider>
275
+ </entry>
276
+ <entry file="file://$PROJECT_DIR$/.gitignore">
277
+ <provider selected="true" editor-type-id="text-editor">
278
+ <state relative-caret-position="165">
279
+ <caret line="11" column="5" lean-forward="false" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
280
+ <folding />
281
+ </state>
282
+ </provider>
283
+ </entry>
284
+ </component>
285
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.16.0
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at alvarodltp@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in alvarodelatorre_view_tool.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ alvarodelatorre_view_tool (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.4.2)
11
+ rspec (3.6.0)
12
+ rspec-core (~> 3.6.0)
13
+ rspec-expectations (~> 3.6.0)
14
+ rspec-mocks (~> 3.6.0)
15
+ rspec-core (3.6.0)
16
+ rspec-support (~> 3.6.0)
17
+ rspec-expectations (3.6.0)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.6.0)
20
+ rspec-mocks (3.6.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.6.0)
23
+ rspec-support (3.6.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ alvarodelatorre_view_tool!
30
+ bundler (~> 1.16)
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 1.16.0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Alvaro De La Torre
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
+ # AlvarodelatorreViewTool
2
+
3
+ Various view specific methods for applications I use.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'alvarodelatorre_view_tool'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install alvarodelatorre_view_tool
20
+
21
+ ## Usage
22
+ ```ruby
23
+ AlvaroDeLaTorreViewTool::Renderer.copyright 'Alvaro De La Torre', 'All rights reserved'
24
+ ```
25
+ ## Development
26
+
27
+ 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.
28
+
29
+ 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).
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/alvarodelatorre_view_tool. 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.
34
+
35
+ ## License
36
+
37
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
38
+
39
+ ## Code of Conduct
40
+
41
+ Everyone interacting in the AlvarodelatorreViewTool project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/alvarodelatorre_view_tool/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,28 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "alvarodelatorre_view_tool/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "alvarodelatorre_view_tool"
8
+ spec.version = AlvarodelatorreViewTool::VERSION
9
+ spec.authors = ["Alvaro De La Torre"]
10
+ spec.email = ["alvarodltp@gmail.com"]
11
+
12
+ spec.summary = %q{Various view specific methods for applications I use.}
13
+ spec.description = %q{Provides HTML data for rails applications.}
14
+ spec.homepage = "http://www.alvarodelatorreparodi.com"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.16"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.0"
28
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "alvarodelatorre_view_tool"
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(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,6 @@
1
+ require "alvarodelatorre_view_tool/version"
2
+ require "alvarodelatorre_view_tool/renderer"
3
+
4
+ module AlvarodelatorreViewTool
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,7 @@
1
+ module AlvaroDeLaTorreViewTool
2
+ class Renderer
3
+ def self.copyright name, msg
4
+ "&copy; #{Time.now.year} | <b>#{name}<b> #{msg}".html_safe
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ module AlvarodelatorreViewTool
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alvarodelatorre_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alvaro De La Torre
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-02-01 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.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
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
+ description: Provides HTML data for rails applications.
56
+ email:
57
+ - alvarodltp@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.rakeTasks"
64
+ - ".idea/alvarodelatorre_view_tool.iml"
65
+ - ".idea/misc.xml"
66
+ - ".idea/modules.xml"
67
+ - ".idea/vcs.xml"
68
+ - ".idea/workspace.xml"
69
+ - ".rspec"
70
+ - ".travis.yml"
71
+ - CODE_OF_CONDUCT.md
72
+ - Gemfile
73
+ - Gemfile.lock
74
+ - LICENSE.txt
75
+ - README.md
76
+ - Rakefile
77
+ - alvarodelatorre_view_tool.gemspec
78
+ - bin/console
79
+ - bin/setup
80
+ - lib/alvarodelatorre_view_tool.rb
81
+ - lib/alvarodelatorre_view_tool/renderer.rb
82
+ - lib/alvarodelatorre_view_tool/version.rb
83
+ homepage: http://www.alvarodelatorreparodi.com
84
+ licenses:
85
+ - MIT
86
+ metadata: {}
87
+ post_install_message:
88
+ rdoc_options: []
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubyforge_project:
103
+ rubygems_version: 2.6.12
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Various view specific methods for applications I use.
107
+ test_files: []