nocode 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +73 -0
- data/README.md +77 -0
- data/lib/nocode/context.rb +1 -1
- data/lib/nocode/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab995350f47e22230654ff1abd4ad9113039c93599528139081d5ee17da6b2f0
|
4
|
+
data.tar.gz: 88e1927602ea3739d3444641fe0ca5145a6ac8f9df3040b5e47db76a842d8b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e234599b96b1a306dbd52e3726179f132121ae8509f23bc1d8f2043a79215bab6d4455580e50502c828c7d004b7e7e40a12b1121036483a5e376414b7b44cbc
|
7
|
+
data.tar.gz: 34becb5eb86e23eed92783856f2c154ce10c6d87a64e9e0f75030b04c4b8d6285f2dbf7b87310df656c91f5d43fe7603cf26b4537ffc3e46cb982cd2e728034f
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,73 @@
|
|
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. All complaints will be reviewed and investigated and will result in a response that
|
59
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
60
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
61
|
+
Further details of specific enforcement policies may be posted separately.
|
62
|
+
|
63
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
64
|
+
faith may face temporary or permanent repercussions as determined by other
|
65
|
+
members of the project's leadership.
|
66
|
+
|
67
|
+
## Attribution
|
68
|
+
|
69
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
70
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
71
|
+
|
72
|
+
[homepage]: http://contributor-covenant.org
|
73
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/README.md
CHANGED
@@ -7,3 +7,80 @@
|
|
7
7
|
**Warning**: This library is currently experimental.
|
8
8
|
|
9
9
|
This is a proof of concept showing how a YAML interface could be draped over arbitrary Ruby code. The YAML contains a series of steps with each step mapping to a specific Ruby class. The Ruby classes just have one responsibility: to implement #perform.
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
To install through Rubygems:
|
14
|
+
|
15
|
+
````
|
16
|
+
gem install nocode
|
17
|
+
````
|
18
|
+
|
19
|
+
You can also add this to your Gemfile using:
|
20
|
+
|
21
|
+
````
|
22
|
+
bundle add nocode
|
23
|
+
````
|
24
|
+
|
25
|
+
## Examples
|
26
|
+
|
27
|
+
### A Simple File Copier
|
28
|
+
|
29
|
+
TODO
|
30
|
+
|
31
|
+
### CSV-to-JSON File Converter
|
32
|
+
|
33
|
+
TODO
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
### Development Environment Configuration
|
38
|
+
|
39
|
+
Basic steps to take to get this repository compiling:
|
40
|
+
|
41
|
+
1. Install [Ruby](https://www.ruby-lang.org/en/documentation/installation/) (check nocode.gemspec for versions supported)
|
42
|
+
2. Install bundler (gem install bundler)
|
43
|
+
3. Clone the repository (git clone git@github.com:mattruggio/nocode.git)
|
44
|
+
4. Navigate to the root folder (cd nocode)
|
45
|
+
5. Install dependencies (bundle)
|
46
|
+
|
47
|
+
### Running Tests
|
48
|
+
|
49
|
+
To execute the test suite run:
|
50
|
+
|
51
|
+
````bash
|
52
|
+
bundle exec rspec spec --format documentation
|
53
|
+
````
|
54
|
+
|
55
|
+
Alternatively, you can have Guard watch for changes:
|
56
|
+
|
57
|
+
````bash
|
58
|
+
bundle exec guard
|
59
|
+
````
|
60
|
+
|
61
|
+
Also, do not forget to run Rubocop:
|
62
|
+
|
63
|
+
````bash
|
64
|
+
bundle exec rubocop
|
65
|
+
````
|
66
|
+
|
67
|
+
### Publishing
|
68
|
+
|
69
|
+
Note: ensure you have proper authorization before trying to publish new versions.
|
70
|
+
|
71
|
+
After code changes have successfully gone through the Pull Request review process then the following steps should be followed for publishing new versions:
|
72
|
+
|
73
|
+
1. Merge Pull Request into master
|
74
|
+
2. Update `version.rb` using [semantic versioning](https://semver.org/)
|
75
|
+
3. Install dependencies: `bundle`
|
76
|
+
4. Update `CHANGELOG.md` with release notes
|
77
|
+
5. Commit & push master to remote and ensure CI builds master successfully
|
78
|
+
6. 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).
|
79
|
+
|
80
|
+
## Code of Conduct
|
81
|
+
|
82
|
+
Everyone interacting in this codebase, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mattruggio/nocode/blob/master/CODE_OF_CONDUCT.md).
|
83
|
+
|
84
|
+
## License
|
85
|
+
|
86
|
+
This project is MIT Licensed.
|
data/lib/nocode/context.rb
CHANGED
data/lib/nocode/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nocode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ruggio
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- ".rubocop.yml"
|
152
152
|
- ".tool-versions"
|
153
153
|
- CHANGELOG.md
|
154
|
+
- CODE_OF_CONDUCT.md
|
154
155
|
- Gemfile
|
155
156
|
- Guardfile
|
156
157
|
- LICENSE
|