deepak_gem 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e6945d646dae36984358d0a5cd98d5f2a15f47bd
4
+ data.tar.gz: dba331bdb7a55fd5d7cdd12c5c2acf72b88fa48c
5
+ SHA512:
6
+ metadata.gz: 102fb87b02aa946e1b0dbb88b9bc13eb572a26aa0bd92a1adced618f1d4963bea0ac5486a837cb1257a7499e33ad8f2debf911700f966f0998ca05992cf9c306
7
+ data.tar.gz: 2875f0103f2cf6a3f9c003b53e01ca3b5395ce1a02c45b8623aa66ed22c330dacb2c98336aced960f6aaa17f7af9226f60620badd6fa00e08382e39ff819d42c
@@ -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
@@ -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 deepak_gem-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 deepak_gem-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install deepak_gem-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 deepak_gem-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,14 @@
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.1, rbenv: 2.3.1) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, rbenv: 2.3.1) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.3.1) [gem]" level="application" />
13
+ </component>
14
+ </module>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 2.3.1" project-jdk-type="RUBY_SDK" />
7
+ </project>
@@ -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/deepak_gem.iml" filepath="$PROJECT_DIR$/.idea/deepak_gem.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -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,255 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="f1ecb890-c58f-4b5c-a970-917191640e3c" name="Default Changelist" comment="">
5
+ <change beforePath="$PROJECT_DIR$/.idea/deepak_gem.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/deepak_gem.iml" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
+ <change beforePath="$PROJECT_DIR$/lib/deepak_gem/renderer.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/deepak_gem/renderer.rb" afterDir="false" />
8
+ </list>
9
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="FUSProjectUsageTrigger">
16
+ <session id="-1234197107">
17
+ <usages-collector id="statistics.lifecycle.project">
18
+ <counts>
19
+ <entry key="project.open.time.0" value="1" />
20
+ <entry key="project.opened" value="1" />
21
+ </counts>
22
+ </usages-collector>
23
+ <usages-collector id="statistics.file.extensions.open">
24
+ <counts>
25
+ <entry key="gemspec" value="1" />
26
+ <entry key="gitignore" value="1" />
27
+ <entry key="md" value="1" />
28
+ <entry key="rb" value="2" />
29
+ </counts>
30
+ </usages-collector>
31
+ <usages-collector id="statistics.file.types.open">
32
+ <counts>
33
+ <entry key="Markdown" value="1" />
34
+ <entry key="PLAIN_TEXT" value="1" />
35
+ <entry key="Ruby" value="3" />
36
+ </counts>
37
+ </usages-collector>
38
+ <usages-collector id="statistics.file.extensions.edit">
39
+ <counts>
40
+ <entry key="gemspec" value="183" />
41
+ <entry key="md" value="1" />
42
+ <entry key="rb" value="13" />
43
+ </counts>
44
+ </usages-collector>
45
+ <usages-collector id="statistics.file.types.edit">
46
+ <counts>
47
+ <entry key="Markdown" value="1" />
48
+ <entry key="Ruby" value="196" />
49
+ </counts>
50
+ </usages-collector>
51
+ </session>
52
+ </component>
53
+ <component name="FileEditorManager">
54
+ <leaf>
55
+ <file pinned="false" current-in-tab="true">
56
+ <entry file="file://$PROJECT_DIR$/lib/deepak_gem.rb">
57
+ <provider selected="true" editor-type-id="text-editor">
58
+ <state relative-caret-position="112">
59
+ <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
60
+ </state>
61
+ </provider>
62
+ </entry>
63
+ </file>
64
+ <file pinned="false" current-in-tab="false">
65
+ <entry file="file://$PROJECT_DIR$/lib/deepak_gem/renderer.rb">
66
+ <provider selected="true" editor-type-id="text-editor">
67
+ <state relative-caret-position="196">
68
+ <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
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$/deepak_gem.gemspec" />
82
+ <option value="$PROJECT_DIR$/lib/deepak_gem.rb" />
83
+ <option value="$PROJECT_DIR$/README.md" />
84
+ <option value="$PROJECT_DIR$/lib/deepak_gem/renderer.rb" />
85
+ </list>
86
+ </option>
87
+ </component>
88
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
89
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
90
+ <component name="JsGulpfileManager">
91
+ <detection-done>true</detection-done>
92
+ <sorting>DEFINITION_ORDER</sorting>
93
+ </component>
94
+ <component name="ProjectFrameBounds" extendedState="6">
95
+ <option name="x" value="65" />
96
+ <option name="y" value="27" />
97
+ <option name="width" value="1270" />
98
+ <option name="height" value="710" />
99
+ </component>
100
+ <component name="ProjectView">
101
+ <navigator proportions="" version="1">
102
+ <foldersAlwaysOnTop value="true" />
103
+ </navigator>
104
+ <panes>
105
+ <pane id="ProjectPane">
106
+ <subPane>
107
+ <expand>
108
+ <path>
109
+ <item name="deepak_gem" type="b2602c69:ProjectViewProjectNode" />
110
+ <item name="deepak_gem" type="462c0819:PsiDirectoryNode" />
111
+ </path>
112
+ <path>
113
+ <item name="deepak_gem" type="b2602c69:ProjectViewProjectNode" />
114
+ <item name="deepak_gem" type="462c0819:PsiDirectoryNode" />
115
+ <item name="bin" type="462c0819:PsiDirectoryNode" />
116
+ </path>
117
+ <path>
118
+ <item name="deepak_gem" type="b2602c69:ProjectViewProjectNode" />
119
+ <item name="deepak_gem" type="462c0819:PsiDirectoryNode" />
120
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
121
+ </path>
122
+ <path>
123
+ <item name="deepak_gem" type="b2602c69:ProjectViewProjectNode" />
124
+ <item name="deepak_gem" type="462c0819:PsiDirectoryNode" />
125
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
126
+ <item name="deepak_gem" type="462c0819:PsiDirectoryNode" />
127
+ </path>
128
+ </expand>
129
+ <select />
130
+ </subPane>
131
+ </pane>
132
+ <pane id="Scope" />
133
+ </panes>
134
+ </component>
135
+ <component name="PropertiesComponent">
136
+ <property name="WebServerToolWindowFactoryState" value="false" />
137
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
138
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
139
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
140
+ <property name="settings.editor.selected.configurable" value="configurable.group.editor" />
141
+ </component>
142
+ <component name="RunDashboard">
143
+ <option name="ruleStates">
144
+ <list>
145
+ <RuleState>
146
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
147
+ </RuleState>
148
+ <RuleState>
149
+ <option name="name" value="StatusDashboardGroupingRule" />
150
+ </RuleState>
151
+ </list>
152
+ </option>
153
+ </component>
154
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
155
+ <component name="SvnConfiguration">
156
+ <configuration />
157
+ </component>
158
+ <component name="TaskManager">
159
+ <task active="true" id="Default" summary="Default task">
160
+ <changelist id="f1ecb890-c58f-4b5c-a970-917191640e3c" name="Default Changelist" comment="" />
161
+ <created>1538167182701</created>
162
+ <option name="number" value="Default" />
163
+ <option name="presentableId" value="Default" />
164
+ <updated>1538167182701</updated>
165
+ <workItem from="1538167184204" duration="1551000" />
166
+ </task>
167
+ <servers />
168
+ </component>
169
+ <component name="TimeTrackingManager">
170
+ <option name="totallyTimeSpent" value="1551000" />
171
+ </component>
172
+ <component name="ToolWindowManager">
173
+ <frame x="0" y="25" width="1687" height="880" extended-state="6" />
174
+ <editor active="true" />
175
+ <layout>
176
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.15843998" />
177
+ <window_info id="Structure" order="1" side_tool="true" weight="0.24959569" />
178
+ <window_info id="Favorites" order="2" side_tool="true" />
179
+ <window_info anchor="bottom" id="Message" order="0" />
180
+ <window_info anchor="bottom" id="Find" order="1" weight="0.32880434" />
181
+ <window_info anchor="bottom" id="Run" order="2" />
182
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.3995633" />
183
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
184
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
185
+ <window_info anchor="bottom" id="TODO" order="6" />
186
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
187
+ <window_info anchor="bottom" id="Version Control" order="8" />
188
+ <window_info anchor="bottom" id="Messages" order="9" weight="0.32980332" />
189
+ <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" weight="0.32977304" />
190
+ <window_info anchor="bottom" id="Database Changes" order="11" show_stripe_button="false" />
191
+ <window_info anchor="bottom" id="Terminal" order="12" />
192
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
193
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
194
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
195
+ <window_info anchor="right" id="Database" order="3" />
196
+ </layout>
197
+ </component>
198
+ <component name="TypeScriptGeneratedFilesManager">
199
+ <option name="version" value="1" />
200
+ </component>
201
+ <component name="VcsContentAnnotationSettings">
202
+ <option name="myLimit" value="2678400000" />
203
+ </component>
204
+ <component name="editorHistoryManager">
205
+ <entry file="file://$PROJECT_DIR$/.gitignore">
206
+ <provider selected="true" editor-type-id="text-editor" />
207
+ </entry>
208
+ <entry file="file://$PROJECT_DIR$/README.md">
209
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
210
+ <state split_layout="SPLIT">
211
+ <first_editor relative-caret-position="28">
212
+ <caret line="1" column="52" selection-start-line="1" selection-start-column="52" selection-end-line="1" selection-end-column="52" />
213
+ </first_editor>
214
+ <second_editor />
215
+ </state>
216
+ </provider>
217
+ </entry>
218
+ <entry file="file://$PROJECT_DIR$/deepak_gem.gemspec">
219
+ <provider selected="true" editor-type-id="text-editor">
220
+ <state relative-caret-position="308">
221
+ <caret line="11" column="26" selection-start-line="11" selection-start-column="26" selection-end-line="11" selection-end-column="78" />
222
+ </state>
223
+ </provider>
224
+ </entry>
225
+ <entry file="file://$PROJECT_DIR$/lib/deepak_gem/renderer.rb">
226
+ <provider selected="true" editor-type-id="text-editor">
227
+ <state relative-caret-position="196">
228
+ <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
229
+ </state>
230
+ </provider>
231
+ </entry>
232
+ <entry file="file://$PROJECT_DIR$/lib/deepak_gem.rb">
233
+ <provider selected="true" editor-type-id="text-editor">
234
+ <state relative-caret-position="112">
235
+ <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
236
+ </state>
237
+ </provider>
238
+ </entry>
239
+ </component>
240
+ <component name="masterDetails">
241
+ <states>
242
+ <state key="ScopeChooserConfigurable.UI">
243
+ <settings>
244
+ <splitter-proportions>
245
+ <option name="proportions">
246
+ <list>
247
+ <option value="0.2" />
248
+ </list>
249
+ </option>
250
+ </splitter-proportions>
251
+ </settings>
252
+ </state>
253
+ </states>
254
+ </component>
255
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.4.1
7
+ before_install: gem install bundler -v 1.16.4
@@ -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 dkumar3@hawk.iit.edu. 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 deepak_gem.gemspec
6
+ gemspec
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ deepak_gem (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.1)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 1.16)
30
+ deepak_gem!
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 1.16.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 deepkum
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.
@@ -0,0 +1,40 @@
1
+ # DeepakGem
2
+ Various view specific methods for applictaion I use.
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'deepak_gem'
10
+ ```
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ Or install it yourself as:
17
+
18
+ $ gem install deepak_gem
19
+
20
+ ## Usage
21
+
22
+ TODO: Write usage instructions here
23
+
24
+ ## Development
25
+
26
+ 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.
27
+
28
+ 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).
29
+
30
+ ## Contributing
31
+
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/deepak_gem. 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.
33
+
34
+ ## License
35
+
36
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
37
+
38
+ ## Code of Conduct
39
+
40
+ Everyone interacting in the DeepakGem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/deepak_gem/blob/master/CODE_OF_CONDUCT.md).
@@ -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,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "deepak_gem"
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__)
@@ -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,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "deepak_gem/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "deepak_gem"
8
+ spec.version = DeepakGem::VERSION
9
+ spec.authors = ["deepkum"]
10
+ spec.email = ["dkumar3@hawk.iit.edu"]
11
+
12
+ spec.summary = %q{Various view specific methods for applictaion I use.}
13
+ spec.description = %q{Provides generated HTML data for rails application }
14
+ spec.homepage = "https://portfolia.com."
15
+ spec.license = "MIT"
16
+
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.16"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec", "~> 3.0"
30
+ end
@@ -0,0 +1,4 @@
1
+ require "deepak_gem/version"
2
+ require "deepak_gem/renderer"
3
+
4
+
@@ -0,0 +1,7 @@
1
+ module DeepakGem
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 DeepakGem
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: deepak_gem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - deepkum
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-09-28 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 generated HTML data for rails application '
56
+ email:
57
+ - dkumar3@hawk.iit.edu
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.rakeTasks"
64
+ - ".idea/deepak_gem.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
+ - bin/console
78
+ - bin/setup
79
+ - deepak_gem.gemspec
80
+ - lib/deepak_gem.rb
81
+ - lib/deepak_gem/renderer.rb
82
+ - lib/deepak_gem/version.rb
83
+ homepage: https://portfolia.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.11
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Various view specific methods for applictaion I use.
107
+ test_files: []