denizli 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: cad976e5e95701ed67cb2f7163cc32102fafee62e7b6c00ba6249efa26c577c8
4
- data.tar.gz: '09ceb1d429c21b38c090a60f4081b10e9b5de240f16ad775bab4b372e5f8f944'
3
+ metadata.gz: f2c2b9af197922cae9a49e5dc29d626b929a90a62a78c984de8cc819443c24da
4
+ data.tar.gz: f4f4bc089432e9004df7bf856fb13dd1a2b85069a00ccabea9956f2c077fba8b
5
5
  SHA512:
6
- metadata.gz: a99525e9540519401a490f25952352f9415feb4432dc1ea16f2ad33a390d093af87c7bc1a4aade96513a3f5dec9cdb8f56c930abe0522ad152f1875e32fcb41a
7
- data.tar.gz: 4743e925250057d2f8df5d604123a754402059d203bd84fe82499dd559dd76a8695047487b314a6ecc3e2bb2c383449f8f9a108f2d709db4fbb482e117ecb56c
6
+ metadata.gz: 92e78b9a654a495158f71cac8313d52c5b068fb49d1436e694c6f347a35e1bf3d4b4b5d389d1031d5ebe90384838dd9acc9c3c77192d98dab0aea2c903431246
7
+ data.tar.gz: 7905fbe58c233735a17ebb625ec94dcaa4a52071c1bb26a7cc295fba0a1675deb50e71390b9a1ae7af91476a7c38140ef0285069011e3e87c8b9268a4d955250
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Denizli
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/denizli`. 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
+ Simple gem for complicated transactions.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,17 +20,15 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
23
+ There is only simple methods created for now. More will be coming in the future!
28
24
 
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.
25
+ - array.hash_me = converts an array to hash
30
26
 
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).
27
+ - string.array_me(size) = converts string to array with specified size
32
28
 
33
29
  ## Contributing
34
30
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/denizli.
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/AzizY/denizli.
36
32
 
37
33
 
38
34
  ## License
data/denizli-0.1.0.gem ADDED
Binary file
data/denizli.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.email = ["azizyaktubay@gmail.com"]
8
8
 
9
9
  spec.summary = %q{Transaction Simplifications.}
10
- spec.description = %q{Simpe gem for complicated transactions.}
10
+ spec.description = %q{Simple gem for complicated transactions.}
11
11
  spec.homepage = "https://github.com/AzizY/denizli"
12
12
  spec.license = "MIT"
13
13
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
@@ -1,3 +1,3 @@
1
1
  module Denizli
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/denizli.rb CHANGED
@@ -8,8 +8,8 @@ module Denizli
8
8
  self.compact.each_slice(2).to_a.to_h
9
9
  end
10
10
 
11
- def array_me
12
- self.chars
11
+ def array_me(size)
12
+ self.chars.each_slice(size).to_a.map(&:join)
13
13
  end
14
14
  end
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: denizli
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
  - AzizY
@@ -10,7 +10,7 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-08-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Simpe gem for complicated transactions.
13
+ description: Simple gem for complicated transactions.
14
14
  email:
15
15
  - azizyaktubay@gmail.com
16
16
  executables: []
@@ -26,6 +26,7 @@ files:
26
26
  - Rakefile
27
27
  - bin/console
28
28
  - bin/setup
29
+ - denizli-0.1.0.gem
29
30
  - denizli.gemspec
30
31
  - lib/denizli.rb
31
32
  - lib/denizli/version.rb