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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 818725b749956f49dff72d7c952921fb9bc83177cdfb40e49aaf66c8c0642ff1
4
- data.tar.gz: 7cba655b2a4179d8f29bbdb0a38c8a74c5869a2b1f195ca5076fc42fa9855a50
3
+ metadata.gz: f2d7a590b5c60e287a142b3a467aa8c6d61baa787915d9e227256e418a172eac
4
+ data.tar.gz: 21541207a5f8aa03f3e7c51de6d43725598d5c47af463ba34535317c2b37095f
5
5
  SHA512:
6
- metadata.gz: 939e3d210e4c72e34901dcad56659bf993b2909bff3ff3a709e1108a7a94fa08103b124abcf872aa30d5930aaf7f8f61b8b5c9a16606ed7a1f72d5bd440bfa85
7
- data.tar.gz: 2c1bff9b319ae354f526c82e17a8a857f7690d55511cacc405988aba8c434f9ed2c12c31c9f3468bd32e08ad7ee71cce5f751c95001b954c79da21d531f88f2d
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
- 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/scone`. 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
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 `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
+ 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 `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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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/[USERNAME]/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/[USERNAME]/scone/blob/master/CODE_OF_CONDUCT.md).
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/[USERNAME]/scone/blob/master/CODE_OF_CONDUCT.md).
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Scone
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
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.0
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: []