kannada_ruby 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
  SHA1:
3
- metadata.gz: 1934c43b21145393749e5c6cfb09ec3a9db0998e
4
- data.tar.gz: ca29ebf4f05e89cf30889a67e3cfffe2840dc819
3
+ metadata.gz: 9f6425e0ab46de9ac4b6b88ffab4c0c88b271951
4
+ data.tar.gz: 4e080cf7590e54d87b51c0aeb3eef1d6db4f214d
5
5
  SHA512:
6
- metadata.gz: f6766c8d5dca3c7e0069b0144538e14a17430045195ee94687a89ec702a083e3e14cb7f88a24088d39089f81219e908fb52ffefb49af40797fc644b879639f6f
7
- data.tar.gz: 0260186d7fd69f0f57565b17b877b4456be326881090873a6be4185fecadf87867b1708435a76f88a44d816754c74f9ca169a6c7a4a82477bcccd7db0b180fa7
6
+ metadata.gz: a228ee2caaa8a0a9b07888a732c6618ad19e1860e9065b82c643b03110f0e6fedd7cb95da23cdde04c76a9580552da29fbacd603a6f67022ec1204a74d2cce72
7
+ data.tar.gz: 34e187800e4cd9d7c597f8c89f68b7bd29d6c0578df327d3a9048152d4e43b8cd61b6bb1e2fdbd228a454711ab305169154fc347eb54b7cf68b83fa2b2458324
data/Gemfile CHANGED
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in kannada_ruby.gemspec
4
4
  gemspec
5
+
@@ -0,0 +1,9 @@
1
+ class Array
2
+ alias ಪ್ರತಿ each
3
+ alias ಪೋಣಿಸು concat
4
+ alias ಕೈಬಿಡು drop
5
+ alias ಖಾಲಿ? empty?
6
+ alias ಕಲಸು shuffle
7
+ alias ನೂಕು push
8
+ alias ಭಾಗ slice
9
+ end
@@ -0,0 +1,11 @@
1
+ module Enumerable
2
+ alias ಏನಾದರೂ? any?
3
+ alias ಲೆಕ್ಕ count
4
+ alias ಕೈಬಿಡು drop
5
+ alias ಪ್ರತಿ_ಭಾಗ each_slice
6
+ alias ಹುಡುಕು find
7
+ alias ತುಂಬು inject
8
+ alias ಹಿಂಪರ್ಕ_ಪ್ರತಿ reverse_each
9
+ alias ವಿಂಗಡಿಸು sort
10
+ alias ಪಡೆ take
11
+ end
@@ -0,0 +1,5 @@
1
+ class Hash
2
+ alias ಪ್ರತಿ each
3
+ alias ಮೂಲ key
4
+ alias ಪ್ರತಿ_ಮೂಲ each_key
5
+ end
@@ -0,0 +1,6 @@
1
+ class Integer
2
+ alias ಮುಂದೆ next
3
+ alias ಸಮಯ times
4
+ alias ಮೇಲಿಂದ_ತನಕ upto
5
+ alias ಕೆಳಗಿನ_ತನಕ downto
6
+ end
@@ -0,0 +1,11 @@
1
+ module Kernel
2
+ alias ಹೇಳು puts
3
+ alias ಬಂಧನ binding
4
+ alias ಕ್ಷೇತ್ರ_ದತ್ತ? block_given?
5
+ alias ಕುಣಿಕೆ loop
6
+ alias ಮುದ್ರಿಸು print
7
+ alias ಎಕ್ಕಸೆಕ್ಕ rand
8
+ alias ಮಲಗು sleep
9
+ alias ತಂತ್ರ system
10
+ alias ಎಚ್ಚರಿಸು warn
11
+ end
@@ -0,0 +1,7 @@
1
+ class String
2
+ alias ಕಡಿ chop
3
+ alias ಕಡಿ! chop!
4
+ alias ಖಾಲಿ? empty?
5
+ alias ಒಡೆ split
6
+ alias ಉದ್ದ length
7
+ end
@@ -1,3 +1,3 @@
1
1
  module KannadaRuby
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/kannada_ruby.rb CHANGED
@@ -1,8 +1,3 @@
1
- require "kannada_ruby/version"
2
-
3
- module KannadaRuby
4
- Dir[File.dirname(__FILE__) + '/kannada_ruby/core_ext/*.rb'].each do |file|
5
- require file
6
- end
7
- # Your code goes here...
8
- end
1
+ Dir[File.dirname(__FILE__) + '/kannada_ruby/core_ext/*.rb'].each do |file|
2
+ require file
3
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe KannadaRuby do
4
+ it 'has a version number' do
5
+ expect(KannadaRuby::VERSION).not_to be nil
6
+ end
7
+
8
+ it 'does something useful' do
9
+ expect(false).to eq(true)
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'kannada_ruby'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kannada_ruby
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
  - shashikirans
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-04-03 00:00:00.000000000 Z
12
12
  dependencies:
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
41
  description: A collection of kannada words for core Ruby methods. Makes Ruby code
56
42
  to read and write in kannada.
57
43
  email:
@@ -60,19 +46,19 @@ executables: []
60
46
  extensions: []
61
47
  extra_rdoc_files: []
62
48
  files:
63
- - ".gitignore"
64
- - ".rspec"
65
- - ".travis.yml"
66
- - CODE_OF_CONDUCT.md
67
49
  - Gemfile
68
- - LICENSE.txt
69
50
  - README.md
70
51
  - Rakefile
71
- - bin/console
72
- - bin/setup
73
- - kannada_ruby.gemspec
74
52
  - lib/kannada_ruby.rb
53
+ - lib/kannada_ruby/core_ext/array.rb
54
+ - lib/kannada_ruby/core_ext/enumerable.rb
55
+ - lib/kannada_ruby/core_ext/hash.rb
56
+ - lib/kannada_ruby/core_ext/integer.rb
57
+ - lib/kannada_ruby/core_ext/kernel.rb
58
+ - lib/kannada_ruby/core_ext/string.rb
75
59
  - lib/kannada_ruby/version.rb
60
+ - spec/kannada_ruby_spec.rb
61
+ - spec/spec_helper.rb
76
62
  homepage: https://github.com/shashikirans/kannada_ruby
77
63
  licenses:
78
64
  - MIT
@@ -83,9 +69,9 @@ require_paths:
83
69
  - lib
84
70
  required_ruby_version: !ruby/object:Gem::Requirement
85
71
  requirements:
86
- - - ">="
72
+ - - "~>"
87
73
  - !ruby/object:Gem::Version
88
- version: '0'
74
+ version: '2.0'
89
75
  required_rubygems_version: !ruby/object:Gem::Requirement
90
76
  requirements:
91
77
  - - ">="
@@ -96,5 +82,5 @@ rubyforge_project:
96
82
  rubygems_version: 2.6.2
97
83
  signing_key:
98
84
  specification_version: 4
99
- summary: A collection of kannada words for ruby methods.
85
+ summary: A collection of kannada words for ruby methods
100
86
  test_files: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.3
4
- before_install: gem install bundler -v 1.11.2
data/CODE_OF_CONDUCT.md DELETED
@@ -1,49 +0,0 @@
1
- # Contributor Code of Conduct
2
-
3
- As contributors and maintainers of this project, and in the interest of
4
- fostering an open and welcoming community, we pledge to respect all people who
5
- contribute through reporting issues, posting feature requests, updating
6
- documentation, submitting pull requests or patches, and other activities.
7
-
8
- We are committed to making participation in this project a harassment-free
9
- experience for everyone, regardless of level of experience, gender, gender
10
- identity and expression, sexual orientation, disability, personal appearance,
11
- body size, race, ethnicity, age, religion, or nationality.
12
-
13
- Examples of unacceptable behavior by participants include:
14
-
15
- * The use of sexualized language or imagery
16
- * Personal attacks
17
- * Trolling or insulting/derogatory comments
18
- * Public or private harassment
19
- * Publishing other's private information, such as physical or electronic
20
- addresses, without explicit permission
21
- * Other unethical or unprofessional conduct
22
-
23
- Project maintainers have the right and responsibility to remove, edit, or
24
- reject comments, commits, code, wiki edits, issues, and other contributions
25
- that are not aligned to this Code of Conduct, or to ban temporarily or
26
- permanently any contributor for other behaviors that they deem inappropriate,
27
- threatening, offensive, or harmful.
28
-
29
- By adopting this Code of Conduct, project maintainers commit themselves to
30
- fairly and consistently applying these principles to every aspect of managing
31
- this project. Project maintainers who do not follow or enforce the Code of
32
- Conduct may be permanently removed from the project team.
33
-
34
- This code of conduct applies both within project spaces and in public spaces
35
- when an individual is representing the project or its community.
36
-
37
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
- reported by contacting a project maintainer at skiran@qwinix.io. All
39
- complaints will be reviewed and investigated and will result in a response that
40
- is deemed necessary and appropriate to the circumstances. Maintainers are
41
- obligated to maintain confidentiality with regard to the reporter of an
42
- incident.
43
-
44
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
- version 1.3.0, available at
46
- [http://contributor-covenant.org/version/1/3/0/][version]
47
-
48
- [homepage]: http://contributor-covenant.org
49
- [version]: http://contributor-covenant.org/version/1/3/0/
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 shashikirans
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/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "kannada_ruby"
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 DELETED
@@ -1,8 +0,0 @@
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
data/kannada_ruby.gemspec DELETED
@@ -1,33 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'kannada_ruby/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "kannada_ruby"
8
- spec.version = KannadaRuby::VERSION
9
- spec.authors = ["shashikirans"]
10
- spec.email = ["skiran@qwinix.io"]
11
-
12
- spec.summary = %q{A collection of kannada words for ruby methods.}
13
- spec.description = %q{A collection of kannada words for core Ruby methods. Makes Ruby code to read and write in kannada.}
14
- spec.homepage = "https://github.com/shashikirans/kannada_ruby"
15
- spec.license = "MIT"
16
-
17
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
- # delete this section to allow pushing this gem to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
- # end
24
-
25
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- spec.add_development_dependency "bundler", "~> 1.11"
31
- spec.add_development_dependency "rake", "~> 10.0"
32
- spec.add_development_dependency "rspec", "~> 3.0"
33
- end