solid_workflow 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
+ SHA256:
3
+ metadata.gz: 364a244841a65e27e5e3e922fd312e53476665a3e526b3b0a9f4aa696dcb8602
4
+ data.tar.gz: 457af070e7bcc787fa2527005e6f53965482818549e66b4407995102e8f6dd03
5
+ SHA512:
6
+ metadata.gz: d5517ab3832e912213219505dfcfb0432781bace49ef747f76c72c06a508edae8649514271de22b5ccb0ac2ae668819907d5f03f7b310f3368a7517ce0c1039a
7
+ data.tar.gz: 8f8e73dfd18599033a7bba710d7c3dd2be7488f705202021ef70b39d0772752c9c4aebb9c851918d2099cb75c34030414c6a57b663d24fcb7afd5e050725d3ee
@@ -0,0 +1,32 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ push:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ build:
13
+ name: Build + Publish
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby 2.6
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ version: 2.6.x
22
+
23
+ - name: Publish to RubyGems
24
+ run: |
25
+ mkdir -p $HOME/.gem
26
+ touch $HOME/.gem/credentials
27
+ chmod 0600 $HOME/.gem/credentials
28
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
29
+ gem build *.gemspec
30
+ gem push *.gem
31
+ env:
32
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
@@ -0,0 +1,11 @@
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
@@ -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 solid_workflow-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 solid_workflow-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install solid_workflow-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 solid_workflow-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,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ </profile>
6
+ </component>
@@ -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.6.0" 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/solid_workflow.iml" filepath="$PROJECT_DIR$/.idea/solid_workflow.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,22 @@
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 (v2.0.2, rbenv: 2.6.0) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="classy_hash (v0.2.1, rbenv: 2.6.0) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="deterministic (v0.6.0, rbenv: 2.6.0) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, rbenv: 2.6.0) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, rbenv: 2.6.0) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, rbenv: 2.6.0) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.0, rbenv: 2.6.0) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.0, rbenv: 2.6.0) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.0, rbenv: 2.6.0) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.0, rbenv: 2.6.0) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="solid_use_case (v2.2.0, rbenv: 2.6.0) [gem]" level="application" />
21
+ </component>
22
+ </module>
@@ -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,249 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="cd8ee818-015a-4d0d-ae26-dc726ca25d87" name="Default Changelist" comment="">
5
+ <change beforePath="$PROJECT_DIR$/solid_workflow.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/solid_workflow.gemspec" afterDir="false" />
6
+ </list>
7
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="FileEditorManager">
14
+ <leaf>
15
+ <file pinned="false" current-in-tab="false">
16
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
17
+ <provider selected="true" editor-type-id="text-editor">
18
+ <state relative-caret-position="168">
19
+ <caret line="8" column="10" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="10" />
20
+ </state>
21
+ </provider>
22
+ </entry>
23
+ </file>
24
+ <file pinned="false" current-in-tab="true">
25
+ <entry file="file://$PROJECT_DIR$/solid_workflow.gemspec">
26
+ <provider selected="true" editor-type-id="text-editor">
27
+ <state relative-caret-position="484">
28
+ <caret line="30" column="58" selection-start-line="30" selection-start-column="58" selection-end-line="30" selection-end-column="58" />
29
+ </state>
30
+ </provider>
31
+ </entry>
32
+ </file>
33
+ </leaf>
34
+ </component>
35
+ <component name="FindInProjectRecents">
36
+ <findStrings>
37
+ <find>classy</find>
38
+ </findStrings>
39
+ </component>
40
+ <component name="Git.Settings">
41
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
42
+ </component>
43
+ <component name="IdeDocumentHistory">
44
+ <option name="CHANGED_PATHS">
45
+ <list>
46
+ <option value="$PROJECT_DIR$/solid_workflow.gemspec" />
47
+ </list>
48
+ </option>
49
+ </component>
50
+ <component name="ProjectConfigurationFiles">
51
+ <option name="files">
52
+ <list>
53
+ <option value="$PROJECT_DIR$/.idea/solid_workflow.iml" />
54
+ <option value="$PROJECT_DIR$/.idea/misc.xml" />
55
+ <option value="$PROJECT_DIR$/.idea/vcs.xml" />
56
+ <option value="$PROJECT_DIR$/.idea/modules.xml" />
57
+ <option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
58
+ </list>
59
+ </option>
60
+ </component>
61
+ <component name="ProjectFrameBounds" fullScreen="true">
62
+ <option name="y" value="23" />
63
+ <option name="width" value="1920" />
64
+ <option name="height" value="926" />
65
+ </component>
66
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
67
+ <component name="ProjectUserFactors">
68
+ <factor id="binaryFeature:liftShorter" />
69
+ <factor id="binaryFeature:liftShorterClasses" />
70
+ <factor id="binaryFeature:middleMatching" />
71
+ <factor id="binaryFeature:nonGeneric" />
72
+ <factor id="binaryFeature:prox_inResolveScope" />
73
+ <factor id="binaryFeature:prox_openedInEditor" />
74
+ <factor id="binaryFeature:prox_sameDirectory" />
75
+ <factor id="binaryFeature:prox_sameLogicalRoot" />
76
+ <factor id="binaryFeature:prox_sdkOrLibrary" />
77
+ <factor id="binaryFeature:templates" />
78
+ <factor id="categoricalFeature:accessible" />
79
+ <factor id="categoricalFeature:expectedType" />
80
+ <factor id="categoricalFeature:kind" />
81
+ <factor id="categoricalFeature:prox_groovyReferenceListWeigher" />
82
+ <factor id="categoricalFeature:prox_javaInheritance" />
83
+ <factor id="categoricalFeature:prox_referenceList" />
84
+ <factor id="categoricalFeature:recursion" />
85
+ <factor id="completionFinishedType">
86
+ <dailyData date="05-02-2020">
87
+ <observation name="cancelled" value="183.0" />
88
+ <observation name="explicitSelect" value="1.0" />
89
+ </dailyData>
90
+ </factor>
91
+ <factor id="completionType" />
92
+ <factor id="completionUsage">
93
+ <dailyData date="05-02-2020">
94
+ <observation name="count" value="184.0" />
95
+ </dailyData>
96
+ </factor>
97
+ <factor id="doubleFeature:explicitProximity" />
98
+ <factor id="doubleFeature:grouping" />
99
+ <factor id="doubleFeature:mostUsed" />
100
+ <factor id="doubleFeature:nameEnd" />
101
+ <factor id="doubleFeature:position" />
102
+ <factor id="doubleFeature:prefix" />
103
+ <factor id="doubleFeature:priority" />
104
+ <factor id="doubleFeature:prox_explicitlyImported" />
105
+ <factor id="doubleFeature:prox_knownElement" />
106
+ <factor id="doubleFeature:prox_sameModule" />
107
+ <factor id="doubleFeature:prox_samePsiMember" />
108
+ <factor id="doubleFeature:query_length" />
109
+ <factor id="doubleFeature:result_length" />
110
+ <factor id="doubleFeature:sameWords" />
111
+ <factor id="doubleFeature:shorter" />
112
+ <factor id="doubleFeature:simple" />
113
+ <factor id="doubleFeature:sorter" />
114
+ <factor id="doubleFeature:statics" />
115
+ <factor id="doubleFeature:stats" />
116
+ <factor id="itemPosition">
117
+ <dailyData date="05-02-2020">
118
+ <observation name="0" value="1.0" />
119
+ </dailyData>
120
+ </factor>
121
+ <factor id="mnemonicsUsage" />
122
+ <factor id="prefixLength">
123
+ <dailyData date="05-02-2020">
124
+ <observation name="0" value="1.0" />
125
+ </dailyData>
126
+ </factor>
127
+ <factor id="timeBetweenTyping" />
128
+ </component>
129
+ <component name="ProjectView">
130
+ <navigator proportions="" version="1">
131
+ <foldersAlwaysOnTop value="true" />
132
+ </navigator>
133
+ <panes>
134
+ <pane id="Scope" />
135
+ <pane id="ProjectPane">
136
+ <subPane>
137
+ <expand>
138
+ <path>
139
+ <item name="solid_workflow" type="b2602c69:ProjectViewProjectNode" />
140
+ <item name="solid_workflow" type="462c0819:PsiDirectoryNode" />
141
+ </path>
142
+ <path>
143
+ <item name="solid_workflow" type="b2602c69:ProjectViewProjectNode" />
144
+ <item name="solid_workflow" type="462c0819:PsiDirectoryNode" />
145
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
146
+ </path>
147
+ <path>
148
+ <item name="solid_workflow" type="b2602c69:ProjectViewProjectNode" />
149
+ <item name="solid_workflow" type="462c0819:PsiDirectoryNode" />
150
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
151
+ <item name="solid_workflow" type="462c0819:PsiDirectoryNode" />
152
+ </path>
153
+ <path>
154
+ <item name="solid_workflow" type="b2602c69:ProjectViewProjectNode" />
155
+ <item name="solid_workflow" type="462c0819:PsiDirectoryNode" />
156
+ <item name="spec" type="462c0819:PsiDirectoryNode" />
157
+ </path>
158
+ </expand>
159
+ <select />
160
+ </subPane>
161
+ </pane>
162
+ </panes>
163
+ </component>
164
+ <component name="PropertiesComponent">
165
+ <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
166
+ <property name="WebServerToolWindowFactoryState" value="false" />
167
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
168
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
169
+ <property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" />
170
+ </component>
171
+ <component name="RunDashboard">
172
+ <option name="ruleStates">
173
+ <list>
174
+ <RuleState>
175
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
176
+ </RuleState>
177
+ <RuleState>
178
+ <option name="name" value="StatusDashboardGroupingRule" />
179
+ </RuleState>
180
+ </list>
181
+ </option>
182
+ </component>
183
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
184
+ <component name="SvnConfiguration">
185
+ <configuration />
186
+ </component>
187
+ <component name="TaskManager">
188
+ <task active="true" id="Default" summary="Default task">
189
+ <changelist id="cd8ee818-015a-4d0d-ae26-dc726ca25d87" name="Default Changelist" comment="" />
190
+ <created>1580906163740</created>
191
+ <option name="number" value="Default" />
192
+ <option name="presentableId" value="Default" />
193
+ <updated>1580906163740</updated>
194
+ <workItem from="1580906165279" duration="208000" />
195
+ </task>
196
+ <servers />
197
+ </component>
198
+ <component name="TimeTrackingManager">
199
+ <option name="totallyTimeSpent" value="310000" />
200
+ </component>
201
+ <component name="ToolWindowManager">
202
+ <frame x="0" y="0" width="1680" height="1050" extended-state="0" />
203
+ <editor active="true" />
204
+ <layout>
205
+ <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24969475" />
206
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
207
+ <window_info id="Learn" order="2" />
208
+ <window_info id="Favorites" order="3" side_tool="true" />
209
+ <window_info anchor="bottom" id="Message" order="0" />
210
+ <window_info anchor="bottom" id="Find" order="1" />
211
+ <window_info anchor="bottom" id="Run" order="2" weight="0.27830687" />
212
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
213
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
214
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
215
+ <window_info anchor="bottom" id="TODO" order="6" />
216
+ <window_info anchor="bottom" id="Docker" order="7" />
217
+ <window_info anchor="bottom" id="Version Control" order="8" />
218
+ <window_info anchor="bottom" id="Database Changes" order="9" />
219
+ <window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.37566137" />
220
+ <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
221
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
222
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
223
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
224
+ <window_info anchor="right" id="Json Parser" order="3" />
225
+ <window_info anchor="right" id="ReST Console" order="4" />
226
+ <window_info anchor="right" id="Key Promoter X" order="5" />
227
+ <window_info anchor="right" id="Database" order="6" />
228
+ </layout>
229
+ </component>
230
+ <component name="TypeScriptGeneratedFilesManager">
231
+ <option name="version" value="1" />
232
+ </component>
233
+ <component name="editorHistoryManager">
234
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
235
+ <provider selected="true" editor-type-id="text-editor">
236
+ <state relative-caret-position="168">
237
+ <caret line="8" column="10" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="10" />
238
+ </state>
239
+ </provider>
240
+ </entry>
241
+ <entry file="file://$PROJECT_DIR$/solid_workflow.gemspec">
242
+ <provider selected="true" editor-type-id="text-editor">
243
+ <state relative-caret-position="484">
244
+ <caret line="30" column="58" selection-start-line="30" selection-start-column="58" selection-end-line="30" selection-end-column="58" />
245
+ </state>
246
+ </provider>
247
+ </entry>
248
+ </component>
249
+ </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.6.0
7
+ before_install: gem install bundler -v 2.0.2
@@ -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 gaurav.rakheja@go-jek.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,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in solid_workflow.gemspec
4
+ gemspec
@@ -0,0 +1,41 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ solid_workflow (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ classy_hash (0.2.1)
10
+ deterministic (0.6.0)
11
+ diff-lcs (1.3)
12
+ rake (10.5.0)
13
+ rspec (3.9.0)
14
+ rspec-core (~> 3.9.0)
15
+ rspec-expectations (~> 3.9.0)
16
+ rspec-mocks (~> 3.9.0)
17
+ rspec-core (3.9.0)
18
+ rspec-support (~> 3.9.0)
19
+ rspec-expectations (3.9.0)
20
+ diff-lcs (>= 1.2.0, < 2.0)
21
+ rspec-support (~> 3.9.0)
22
+ rspec-mocks (3.9.0)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.9.0)
25
+ rspec-support (3.9.0)
26
+ solid_use_case (2.2.0)
27
+ deterministic (~> 0.6.0)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ bundler (~> 2.0)
34
+ classy_hash
35
+ rake (~> 10.0)
36
+ rspec (~> 3.0)
37
+ solid_use_case (~> 2.2.0)
38
+ solid_workflow!
39
+
40
+ BUNDLED WITH
41
+ 2.0.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 gaurav-rakheja
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,43 @@
1
+ # SolidWorkflow
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/solid_workflow`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'solid_workflow'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install solid_workflow
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `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/[USERNAME]/solid_workflow. 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
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the SolidWorkflow project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/solid_workflow/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 "solid_workflow"
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,6 @@
1
+ require "solid_workflow/version"
2
+
3
+ module SolidWorkflow
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,3 @@
1
+ module SolidWorkflow
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,32 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "solid_workflow/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "solid_workflow"
7
+ spec.version = SolidWorkflow::VERSION
8
+ spec.authors = ["Gaurav Rakheja"]
9
+ spec.email = ["gauravrakheja002@gmail.com"]
10
+
11
+ spec.summary = %q{allows you to create a workflow of steps}
12
+ spec.description = %q{uses solid_use_case and classy_hash gems to provide a nice interface for you to create workflows comprised of steps that are chainable by default}
13
+ spec.homepage = "https://github.com/gauravrakheja/solid_workflow"
14
+ spec.license = "MIT"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/gauravrakheja/solid_workflow"
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", "~> 2.0"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec", "~> 3.0"
30
+ spec.add_development_dependency "solid_use_case", "~> 2.2.0"
31
+ spec.add_development_dependency "classy_hash", "~> 0.2.1"
32
+ end
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: solid_workflow
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gaurav Rakheja
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-02-05 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
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: solid_use_case
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.2.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: classy_hash
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.2.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.2.1
83
+ description: uses solid_use_case and classy_hash gems to provide a nice interface
84
+ for you to create workflows comprised of steps that are chainable by default
85
+ email:
86
+ - gauravrakheja002@gmail.com
87
+ executables: []
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".github/workflows/gempush.yml"
92
+ - ".gitignore"
93
+ - ".idea/.rakeTasks"
94
+ - ".idea/inspectionProfiles/Project_Default.xml"
95
+ - ".idea/misc.xml"
96
+ - ".idea/modules.xml"
97
+ - ".idea/solid_workflow.iml"
98
+ - ".idea/vcs.xml"
99
+ - ".idea/workspace.xml"
100
+ - ".rspec"
101
+ - ".travis.yml"
102
+ - CODE_OF_CONDUCT.md
103
+ - Gemfile
104
+ - Gemfile.lock
105
+ - LICENSE.txt
106
+ - README.md
107
+ - Rakefile
108
+ - bin/console
109
+ - bin/setup
110
+ - lib/solid_workflow.rb
111
+ - lib/solid_workflow/version.rb
112
+ - solid_workflow.gemspec
113
+ homepage: https://github.com/gauravrakheja/solid_workflow
114
+ licenses:
115
+ - MIT
116
+ metadata:
117
+ homepage_uri: https://github.com/gauravrakheja/solid_workflow
118
+ source_code_uri: https://github.com/gauravrakheja/solid_workflow
119
+ post_install_message:
120
+ rdoc_options: []
121
+ require_paths:
122
+ - lib
123
+ required_ruby_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ requirements: []
134
+ rubygems_version: 3.0.1
135
+ signing_key:
136
+ specification_version: 4
137
+ summary: allows you to create a workflow of steps
138
+ test_files: []