shorten_string_by_sinan 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: ac40ecf2b575694753de597f70b6d5a0c955f97bc118d596495adca308ece6fd
4
- data.tar.gz: b1d1a166b030e9c97e740392240ebdc2048d458f7e949a45637116c5df4ad95d
3
+ metadata.gz: 8b9fe049f51623af58fa3c186edf8334af05647e49ed4151be81820aa7477519
4
+ data.tar.gz: 8d2d37b620bd746d24d8b6e3a0c875c8ad5646c9fc9b4ce55f7a536144115f0f
5
5
  SHA512:
6
- metadata.gz: c552ff68c85d00faccb2ef14932615b70feed6643f659556460cae9ac7c2228026a91c994886c6c1b3c5b52d7c1682e6b97e279c852f8b7cf70e5524f34b48de
7
- data.tar.gz: 99ada49b19a1e51c08c67fd1432a183a4639d05ea95a04c7c7f871d0618538372414e3192531ef0b9f513417c995883589f4eb561d1d1f44f647bd09c40ba2ec
6
+ metadata.gz: 470e58564581b70953f86cdc2778c4c98f68d07c656887783980d2c421bf5cf92f0aa8efacb3d400a348ec14bce87ed144335f1baf55c18b5945a42334904a76
7
+ data.tar.gz: 49c2b7f18ff902f4bf27d7b9f575383d567398747feb4ccc8cb1886d9d3b17a3138e5eea1ee07a589a48636cc259b10d42045a70bb9acf178b44ec8017a878e8
data/Gemfile.lock ADDED
@@ -0,0 +1,55 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ shorten_string_by_sinan (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ diff-lcs (1.4.4)
11
+ parallel (1.20.1)
12
+ parser (3.0.1.0)
13
+ ast (~> 2.4.1)
14
+ rainbow (3.0.0)
15
+ rake (13.0.3)
16
+ regexp_parser (2.1.1)
17
+ rexml (3.2.5)
18
+ rspec (3.10.0)
19
+ rspec-core (~> 3.10.0)
20
+ rspec-expectations (~> 3.10.0)
21
+ rspec-mocks (~> 3.10.0)
22
+ rspec-core (3.10.1)
23
+ rspec-support (~> 3.10.0)
24
+ rspec-expectations (3.10.1)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.10.0)
27
+ rspec-mocks (3.10.2)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.10.0)
30
+ rspec-support (3.10.2)
31
+ rubocop (1.12.1)
32
+ parallel (~> 1.10)
33
+ parser (>= 3.0.0.0)
34
+ rainbow (>= 2.2.2, < 4.0)
35
+ regexp_parser (>= 1.8, < 3.0)
36
+ rexml
37
+ rubocop-ast (>= 1.2.0, < 2.0)
38
+ ruby-progressbar (~> 1.7)
39
+ unicode-display_width (>= 1.4.0, < 3.0)
40
+ rubocop-ast (1.4.1)
41
+ parser (>= 2.7.1.5)
42
+ ruby-progressbar (1.11.0)
43
+ unicode-display_width (2.0.0)
44
+
45
+ PLATFORMS
46
+ x86_64-linux
47
+
48
+ DEPENDENCIES
49
+ rake (~> 13.0)
50
+ rspec (~> 3.0)
51
+ rubocop (~> 1.7)
52
+ shorten_string_by_sinan!
53
+
54
+ BUNDLED WITH
55
+ 2.2.15
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # ShortenStringBySinan
1
+ # Welcome to ShortenStringBySinan
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/shorten_string_by_sinan`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ # What's ShortenStringBySinan?
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ This is a gem helps you to shorten your string values to specifiyed length and adds three dots "..." to the end of the string.
6
6
 
7
7
  ## Installation
8
8
 
@@ -22,17 +22,11 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
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.
30
-
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).
25
+ Simple calling ShortenStringBySinan::ShortenString.shorten_string("String to be get shorted is goind here",5) will return "String..." as shortend version of the string.
32
26
 
33
27
  ## Contributing
34
28
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/shorten_string_by_sinan. 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]/shorten_string_by_sinan/blob/master/CODE_OF_CONDUCT.md).
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/sinancengiz/shorten_string_by_sinan. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the (https://github.com/sinancengiz/shorten_string_by_sinan/blob/master/CODE_OF_CONDUCT.md).
36
30
 
37
31
  ## License
38
32
 
@@ -40,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
40
34
 
41
35
  ## Code of Conduct
42
36
 
43
- Everyone interacting in the ShortenStringBySinan project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/shorten_string_by_sinan/blob/master/CODE_OF_CONDUCT.md).
37
+ Everyone interacting in the ShortenStringBySinan project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the(https://github.com/sinancengiz/shorten_string_by_sinan/blob/master/CODE_OF_CONDUCT.md).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShortenStringBySinan
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shorten_string_by_sinan
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
  - sinancengiz
@@ -24,6 +24,7 @@ files:
24
24
  - CHANGELOG.md
25
25
  - CODE_OF_CONDUCT.md
26
26
  - Gemfile
27
+ - Gemfile.lock
27
28
  - LICENSE.txt
28
29
  - README.md
29
30
  - Rakefile