my_string_extend_mepis 0.0.1 → 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1f7e246d6b32fea3ee3010bd57a4807648983727
4
+ data.tar.gz: debf4690c63f9cff36c069cac48226b392157742
5
+ SHA512:
6
+ metadata.gz: 0f4a6707934c711935de01b282741fe90404053b9596e84efd038f80e815be8867201e292db58cabb552261fb1d76e9b64ddb7fe28515aa35d1de9e7a634acdf
7
+ data.tar.gz: b29e6e5054a7aff901883820fbc282ab5e055c2ec54942a36bfa936fcfa48786066592fb56991b17b2af24f73bf632786879044810a16fabe34c960198899192
checksums.yaml.gz.sig ADDED
@@ -0,0 +1 @@
1
+ ��t�P���d\#^an�)>�H���ܷz���C���M�����e
data.tar.gz.sig ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.2.6
5
+ before_install: gem install bundler -v 1.13.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kb9agt@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in my_string_extend_mepis.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Douglas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # MyStringExtendMepis
2
+
3
+ Welcome to your new gem!
4
+ In this directory, you'll find the files you need to be able to package up your Ruby library into a gem.
5
+ Put your Ruby code in the file `lib/my_string_extend_mepis`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'my_string_extend_mepis'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $> bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $> gem install my_string_extend_mepis
24
+
25
+ ## Usage
26
+
27
+ TODO: go to the library and read it.
28
+
29
+ ## Development
30
+
31
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests.
32
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
33
+
34
+ To install this gem onto your local machine, run `bundle exec rake install`.
35
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`,
36
+ 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).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/my_string_extend_mepis.
41
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
42
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
+
44
+
45
+ ## License
46
+
47
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "my_string_extend_mepis"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ require 'my_string_extend_mepis/version'
3
+ require 'my_string_extend_mepis/my_string_extend'
4
+ # file Module file lib/my_string_extend_mepis.rb
5
+ module MyStringExtendMepis
6
+ # Your code goes here...
7
+ end
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # file Module lib/my_string_extend/version.rb
3
+ module MyStringExtendMepis
4
+ # version = 0.1.0
5
+ VERSION = '0.1.0'.freeze
6
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'my_string_extend_mepis/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'my_string_extend_mepis'
8
+ spec.version = MyStringExtendMepis::VERSION
9
+ spec.authors = ['Douglas']
10
+ spec.email = ['kb9agt@gmail.com']
11
+
12
+ spec.summary = 'assignment for rubylearning.org'
13
+ spec.description = 'to learn how to publish a gem'
14
+ spec.homepage = 'http://rubylearning.org'
15
+ spec.license = 'MIT'
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+ else
22
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
23
+ 'public gem pushes.'
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_development_dependency 'bundler', '~> 1.13'
34
+ spec.add_development_dependency 'rake', '~> 10.0'
35
+ spec.add_development_dependency 'minitest', '~> 5.0'
36
+ end
metadata CHANGED
@@ -1,47 +1,121 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_string_extend_mepis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
- - Satish Talim
7
+ - Douglas
9
8
  autorequire:
10
- bindir: bin
11
- cert_chain: []
12
- date: 2011-10-27 00:00:00.000000000 Z
13
- dependencies: []
14
- description: The library opens up the String class and adds a method writesize, which
15
- returns the size of the string.
9
+ bindir: exe
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MQ8wDQYDVQQDDAZrYjlh
14
+ Z3QxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2NvbTAe
15
+ Fw0xNjEyMzAwNDMxMDhaFw0xNzEyMzAwNDMxMDhaMD0xDzANBgNVBAMMBmtiOWFn
16
+ dDEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29tMIIB
17
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwUJbvvbjVVV2ftkL3R7RcRSO
18
+ 6Mosw9c6vKViXLyKIXyzkXIwtxoygdNj8/WE2Ld/bxxp/tnSeOno1gMWpU5NqpKn
19
+ FS7+Rd/ihkHa0JUh5of6o+p9MmHVc+e3AZPVRrdq24P9465mTkQRx2j50c3mPmGO
20
+ AW9gT93A/BJtp91KSpExQmJ6VN0I7AxGYodlegRDJRw4o8Ap5WS8GHjOdpZSKbyq
21
+ ipD303lPvWEnp9Yra+VzqUXsIdSGVG+As78npWxIn8fZDX2OsYT2qyctYvJiSsqB
22
+ xMfaBX8VjWPDf3LP3LgLBpUzCGL9KV4iLtcuZaz0OgE9BahA7Kp2T1OjP4fbcQID
23
+ AQABo3MwcTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUAEuv016V
24
+ 8m/v3zAssXTNrfv76QAwGwYDVR0RBBQwEoEQa2I5YWd0QGdtYWlsLmNvbTAbBgNV
25
+ HRIEFDASgRBrYjlhZ3RAZ21haWwuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQAXLnar
26
+ /NKG0Wf2KjYnjPFu3+B+2O6z83VYLp6WqtH6YHpGmYYaYIEpIOOVzwZnG3LVJacj
27
+ XR+KyspHMyq/7wGmCFzcaUAb77zknqOkpSYVKlRZRdgtJ6oDMIwFFZN9Xwdg7mMj
28
+ yMevwJb6U/d+XQC8FFxMJsL2u1a5jl1jXo3Sv6ZUxEhlNJSFOsFFQqTfR8Sq8kMm
29
+ 9tEcHmnS7RQS2IQzljk++ha4q0G+qqZz81bjEX0mE6wGYz7mda6lJ40mUKyfA1KH
30
+ J4L8DCnzZFU8ARwINSdPvhk8WzXpVgErPQezTziVg7gAtBjqdJO5qVlAiOp+z7m2
31
+ gT57pae1qMGtqvMp
32
+ -----END CERTIFICATE-----
33
+ date: 2016-12-30 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
36
+ name: bundler
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.13'
42
+ type: :development
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.13'
49
+ - !ruby/object:Gem::Dependency
50
+ name: rake
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '10.0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '10.0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: minitest
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '5.0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '5.0'
77
+ description: to learn how to publish a gem
16
78
  email:
17
- - satish@rubylearning.org
79
+ - kb9agt@gmail.com
18
80
  executables: []
19
81
  extensions: []
20
82
  extra_rdoc_files: []
21
83
  files:
22
- - lib/my_string_extend.rb
23
- homepage: http://rubylearning.org/
24
- licenses: []
84
+ - ".gitignore"
85
+ - ".travis.yml"
86
+ - CODE_OF_CONDUCT.md
87
+ - Gemfile
88
+ - LICENSE.txt
89
+ - README.md
90
+ - Rakefile
91
+ - bin/console
92
+ - bin/setup
93
+ - lib/my_string_extend_mepis.rb
94
+ - lib/my_string_extend_mepis/version.rb
95
+ - my_string_extend_mepis.gemspec
96
+ homepage: http://rubylearning.org
97
+ licenses:
98
+ - MIT
99
+ metadata:
100
+ allowed_push_host: https://rubygems.org
25
101
  post_install_message:
26
102
  rdoc_options: []
27
103
  require_paths:
28
104
  - lib
29
105
  required_ruby_version: !ruby/object:Gem::Requirement
30
- none: false
31
106
  requirements:
32
- - - ! '>='
107
+ - - ">="
33
108
  - !ruby/object:Gem::Version
34
109
  version: '0'
35
110
  required_rubygems_version: !ruby/object:Gem::Requirement
36
- none: false
37
111
  requirements:
38
- - - ! '>='
112
+ - - ">="
39
113
  - !ruby/object:Gem::Version
40
114
  version: '0'
41
115
  requirements: []
42
116
  rubyforge_project:
43
- rubygems_version: 1.8.17
117
+ rubygems_version: 2.6.8
44
118
  signing_key:
45
- specification_version: 3
46
- summary: String Extend
119
+ specification_version: 4
120
+ summary: assignment for rubylearning.org
47
121
  test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ h��P�O�NU���q>�r�9c�[J�@'l� ?� F�M�pGsk�6�$��5?yDb C���2!�رJ��2R%3&��d��r%�aok� ��kJ�_� Y��ۓN��xUn��}P��s��^���7@���
2
+ �ύ���e���&�"{0��L�i>M
3
+ ��߶��t���\
@@ -1,7 +0,0 @@
1
-
2
- # my_string_extend.rb
3
- class String
4
- def writesize
5
- self.size
6
- end
7
- end