partition_magic 0.1.1 → 0.1.2

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: f7e0506d2040d26185bbf366a65ebcc31675c8a31fa46d230437b7212cd2aa62
4
- data.tar.gz: 2165ee6334622228f9e65c3e5fe4359a94e3b7dce5a6066ce13f106ea94005de
3
+ metadata.gz: 4886372506343710b590d5330f69a0e5448bc152589b4d1418058db401e04570
4
+ data.tar.gz: 30a0ebacfbf22bd05e11970c6ea796f8ac711de9b9febe392fcafc6acf2fb3f1
5
5
  SHA512:
6
- metadata.gz: 2e1a4378114712f924568de34dd658c76917ed3cf9fcbdbd998f883ee2cc1b624c2bafd144739e13052fcb28eb318e5b4933e14d90f5651dc3fe0c496c9337ea
7
- data.tar.gz: a649b0d9f87d724e7525867f21c93566eb70faf135c0eaefca691443f5b8cc7d34304bf63caf142bb885ec459d4f8a44f7c3acdb9f281db75f317ed53565fd39
6
+ metadata.gz: 4760b035bf945399b16f286b2bccd6884948796e82ce20d34d6ae61595bfa86bce70cb0a5ffb461bfd78c7f4381f84b0544b1b0f3235158549fd2310fe9fc2ad
7
+ data.tar.gz: 4e82a4e5dc09eff8cbcd1324af89cb6298b05e472a8a9c8a64b078bdf7ccba1e1856729351a44770136da0509f329e87fe902c63b03c2a3892631259dd702c01
data/README.md CHANGED
@@ -1,39 +1,13 @@
1
1
  # PartitionMagic
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
3
+ Welcome to PartitionMagic gem. This Library will help you to partition an array of inetegers to odd and even arrays. A small Array partition library (DO NOT USE IN PRODUCTION ENVIRONMENT, THIS IS ONLY FOR EDUCATIONAL PURPOSE)"
4
+
5
+ eg: [1,2,3,4,5,6].partition_even_odd(&:even?)
6
+ [[2,4,6],[1,3,5]]
4
7
 
5
- 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/partition_magic`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
-
15
- If bundler is not being used to manage dependencies, install the gem by executing:
16
-
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
8
+ ## Install
9
+ gem install partition_magic
18
10
 
19
11
  ## Usage
20
12
 
21
- TODO: Write usage instructions here
22
-
23
- ## Development
24
-
25
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
-
27
- 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).
28
-
29
- ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/partition_magic. 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]/partition_magic/blob/master/CODE_OF_CONDUCT.md).
32
-
33
- ## License
34
-
35
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
36
-
37
- ## Code of Conduct
38
-
39
- Everyone interacting in the PartitionMagic project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/partition_magic/blob/master/CODE_OF_CONDUCT.md).
13
+ require 'partition_magic'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PartitionMagic
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["pradeek.k@gmail.com"]
10
10
 
11
11
  spec.summary = "A small Array partition library"
12
- spec.description = "A small Array partition library"
12
+ spec.description = "A small Array partition library (DO NOT
13
+ USE IN PRODUCTION ENVIRONMENT, THIS IS ONLY FOR EDUCATIONAL PURPOSE)"
13
14
  spec.homepage = "https://github.com/codephilosopher/partition_magic"
14
15
  spec.license = "MIT"
15
16
  spec.required_ruby_version = ">= 2.6.0"
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partition_magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pradeek
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-11-25 00:00:00.000000000 Z
10
+ date: 2025-02-03 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description: A small Array partition library
12
+ description: "A small Array partition library (DO NOT \nUSE IN PRODUCTION ENVIRONMENT,
13
+ THIS IS ONLY FOR EDUCATIONAL PURPOSE)"
14
14
  email:
15
15
  - pradeek.k@gmail.com
16
16
  executables: []
@@ -36,7 +36,6 @@ licenses:
36
36
  - MIT
37
37
  metadata:
38
38
  source_code_uri: https://github.com/codephilosopher/partition_magic
39
- post_install_message:
40
39
  rdoc_options: []
41
40
  require_paths:
42
41
  - lib
@@ -51,8 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
50
  - !ruby/object:Gem::Version
52
51
  version: '0'
53
52
  requirements: []
54
- rubygems_version: 3.4.19
55
- signing_key:
53
+ rubygems_version: 3.6.3
56
54
  specification_version: 4
57
55
  summary: A small Array partition library
58
56
  test_files: []