scone 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +36 -0
- data/README.md +5 -7
- data/lib/scone/version.rb +1 -1
- data/scone.gemspec +37 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d7a590b5c60e287a142b3a467aa8c6d61baa787915d9e227256e418a172eac
|
4
|
+
data.tar.gz: 21541207a5f8aa03f3e7c51de6d43725598d5c47af463ba34535317c2b37095f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e89cb0af38e115353dc51dea4163124b946c9c768bb5d5cce5faccb4d7b0e00c663f439e90ee3082f14b97b8193d5bc0e82b2574f8bedd6ed0d0fe9d1a0f96
|
7
|
+
data.tar.gz: 0c591bc3cf99e1df0903244beaa22371093a18537bf0065b45482759ffa957fc0e4c4bacca70afe12deb9933ae854bb1f9dcc8292caa0c6b12ea32d8c9263f9c
|
data/Makefile
CHANGED
@@ -2,6 +2,7 @@ RUBY ?= ruby
|
|
2
2
|
RDOC ?= rdoc
|
3
3
|
BUNDLE ?= bundle
|
4
4
|
RAKE ?= rake
|
5
|
+
GEM ?= gem
|
5
6
|
|
6
7
|
|
7
8
|
help: Makefile
|
@@ -33,6 +34,41 @@ console:
|
|
33
34
|
./bin/console
|
34
35
|
|
35
36
|
|
37
|
+
## setup: Setup dependencies.
|
38
|
+
.PHONY: setup
|
39
|
+
setup:
|
40
|
+
@echo ">> ============= Setup Dependencies ============= <<"
|
41
|
+
./bin/setup
|
42
|
+
|
43
|
+
|
44
|
+
## build: Build the ruby gem.
|
45
|
+
.PHONY: build
|
46
|
+
build:
|
47
|
+
@echo ">> ============= Build the Package ============= <<"
|
48
|
+
$(GEM) build scone.gemspec
|
49
|
+
|
50
|
+
|
51
|
+
## push: Publish the ruby gem.
|
52
|
+
.PHONY: push
|
53
|
+
push:
|
54
|
+
@echo ">> ============= Publish the Package ============= <<"
|
55
|
+
$(GEM) push scone-*.gem
|
56
|
+
|
57
|
+
|
58
|
+
## install: Install the gem locally.
|
59
|
+
.PHONY: install
|
60
|
+
install:
|
61
|
+
@echo ">> ============= Install Locally ============= <<"
|
62
|
+
$(RAKE) install
|
63
|
+
|
64
|
+
|
65
|
+
## release: Release the gem.
|
66
|
+
.PHONY: release
|
67
|
+
release:
|
68
|
+
@echo ">> =========== Release the Package =========== <<"
|
69
|
+
$(RAKE) release
|
70
|
+
|
71
|
+
|
36
72
|
## ci: Run all CI tests.
|
37
73
|
.PHONY: ci
|
38
74
|
ci: test
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Scone
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
A Set of Functional Primitives for Ruby, heavily inspired by Underscore.js
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -26,13 +24,13 @@ TODO: Write usage instructions here
|
|
26
24
|
|
27
25
|
## Development
|
28
26
|
|
29
|
-
After checking out the repo, run `
|
27
|
+
After checking out the repo, run `make setup` to install dependencies. Then, run `make ci` to run the tests. You can also run `make console` for an interactive prompt that will allow you to experiment.
|
30
28
|
|
31
|
-
To install this gem onto your local machine, run `
|
29
|
+
To install this gem onto your local machine, run `make install`. To release a new version, update the version number in `version.rb`, and then run `make release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
30
|
|
33
31
|
## Contributing
|
34
32
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Clivern/Scone. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Clivern/Scone/blob/main/CODE_OF_CONDUCT.md).
|
36
34
|
|
37
35
|
## License
|
38
36
|
|
@@ -40,4 +38,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
38
|
|
41
39
|
## Code of Conduct
|
42
40
|
|
43
|
-
Everyone interacting in the Scone project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
41
|
+
Everyone interacting in the Scone project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Clivern/Scone/blob/main/CODE_OF_CONDUCT.md).
|
data/lib/scone/version.rb
CHANGED
data/scone.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/scone/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "scone"
|
7
|
+
spec.version = Scone::VERSION
|
8
|
+
spec.authors = ["Clivern"]
|
9
|
+
spec.email = ["hello@clivern.com"]
|
10
|
+
|
11
|
+
spec.summary = "Primitives for Functional Programming"
|
12
|
+
spec.description = "A Set of Functional Primitives for Ruby, heavily inspired by Underscore.js"
|
13
|
+
spec.homepage = "https://github.com/Clivern/Scone"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/Clivern/Scone"
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/Clivern/Scone/blob/main/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
# Uncomment to register a new dependency of your gem
|
33
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
34
|
+
|
35
|
+
# For more information and examples about making a new gem, checkout our
|
36
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
37
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clivern
|
@@ -10,7 +10,7 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: A Set of Functional Primitives for Ruby, heavily inspired by Underscore.js
|
14
14
|
email:
|
15
15
|
- hello@clivern.com
|
16
16
|
executables: []
|
@@ -33,6 +33,7 @@ files:
|
|
33
33
|
- lib/scone.rb
|
34
34
|
- lib/scone/version.rb
|
35
35
|
- renovate.json
|
36
|
+
- scone.gemspec
|
36
37
|
homepage: https://github.com/Clivern/Scone
|
37
38
|
licenses:
|
38
39
|
- MIT
|
@@ -58,5 +59,5 @@ requirements: []
|
|
58
59
|
rubygems_version: 3.1.6
|
59
60
|
signing_key:
|
60
61
|
specification_version: 4
|
61
|
-
summary:
|
62
|
+
summary: Primitives for Functional Programming
|
62
63
|
test_files: []
|