active_emoji 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +20 -0
- data/Rakefile +1 -0
- data/active_emoji.gemspec +21 -0
- data/code.png +0 -0
- data/example.png +0 -0
- data/lib/active_emoji.rb +3 -0
- data/lib/active_emoji/core_ext/array.rb +5 -0
- data/lib/active_emoji/core_ext/basic_object.rb +5 -0
- data/lib/active_emoji/core_ext/bignum.rb +7 -0
- data/lib/active_emoji/core_ext/date.rb +1 -0
- data/lib/active_emoji/core_ext/dir.rb +1 -0
- data/lib/active_emoji/core_ext/enumerable.rb +10 -0
- data/lib/active_emoji/core_ext/file.rb +5 -0
- data/lib/active_emoji/core_ext/fixnum.rb +7 -0
- data/lib/active_emoji/core_ext/float.rb +7 -0
- data/lib/active_emoji/core_ext/hash.rb +4 -0
- data/lib/active_emoji/core_ext/integer.rb +5 -0
- data/lib/active_emoji/core_ext/io.rb +3 -0
- data/lib/active_emoji/core_ext/kernel.rb +10 -0
- data/lib/active_emoji/core_ext/object.rb +7 -0
- data/lib/active_emoji/core_ext/string.rb +11 -0
- data/lib/active_emoji/core_ext/thread.rb +1 -0
- data/lib/active_emoji/core_ext/time.rb +1 -0
- data/lib/active_emoji/version.rb +3 -0
- metadata +101 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b737bc7a2f255a76e75827788ad24e163726941c
|
4
|
+
data.tar.gz: 04b9947cec46770c78714da421b8887ab94b10f7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6eccd7d463c4bf8e33fc294ff22d359d37f2b78f252e097d09f31f2bb72c58e86b891ed01aa07210b406abc19c8ddd01aa5c1cb83ec7e345981769f3748000fb
|
7
|
+
data.tar.gz: 0216293aea5501a07434d6194426bb0412c20a48ad7d404515065cac3484a9645ea5acb6647e297686980d546f11bb44261cff58a53916aa7acc7078d60d2de4
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Erik Michaels-Ober
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# ActiveEmoji
|
2
|
+
|
3
|
+
A collection of emoji alias for core Ruby methods. Makes Ruby code easier to
|
4
|
+
read and write, especially for children and people who don't know English.
|
5
|
+
|
6
|
+
This project is named with the goal of eventually being merged into Ruby on
|
7
|
+
Rails. [Stranger things have happened.][forty_two]
|
8
|
+
|
9
|
+
[forty_two]: https://github.com/rails/rails/commit/e50530ca3ab5db53ebc74314c54b62b91b932389
|
10
|
+
|
11
|
+
Here's a peek at some of the code under the hood:
|
12
|
+
|
13
|
+
![Code](https://raw.githubusercontent.com/sferik/active_emoji/master/code.png)
|
14
|
+
|
15
|
+
With these aliases, you can write your Ruby code like this:
|
16
|
+
|
17
|
+
![Example](https://raw.githubusercontent.com/sferik/active_emoji/master/example.png)
|
18
|
+
|
19
|
+
Please open a pull request if you have ideas for more aliases. The only rule is
|
20
|
+
that commit messages must be written in emoji.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'active_emoji/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "active_emoji"
|
8
|
+
spec.version = ActiveEmoji::VERSION
|
9
|
+
spec.authors = ["Erik Michaels-Ober"]
|
10
|
+
spec.email = ["sferik@gmail.com"]
|
11
|
+
spec.summary = %q{A collection of emoji alias for core Ruby methods}
|
12
|
+
spec.description = %q{A collection of emoji alias for core Ruby methods. Makes Ruby code easier to read and write, especially for children and people who don't know English.}
|
13
|
+
spec.homepage = "https://github.com/sferik/active_emoji"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
20
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
21
|
+
end
|
data/code.png
ADDED
Binary file
|
data/example.png
ADDED
Binary file
|
data/lib/active_emoji.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
๐
= Date
|
@@ -0,0 +1 @@
|
|
1
|
+
๐ = Dir
|
@@ -0,0 +1 @@
|
|
1
|
+
๐ = Thread
|
@@ -0,0 +1 @@
|
|
1
|
+
โ๏ธ = Time
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: active_emoji
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Erik Michaels-Ober
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: A collection of emoji alias for core Ruby methods. Makes Ruby code easier
|
42
|
+
to read and write, especially for children and people who don't know English.
|
43
|
+
email:
|
44
|
+
- sferik@gmail.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- active_emoji.gemspec
|
55
|
+
- code.png
|
56
|
+
- example.png
|
57
|
+
- lib/active_emoji.rb
|
58
|
+
- lib/active_emoji/core_ext/array.rb
|
59
|
+
- lib/active_emoji/core_ext/basic_object.rb
|
60
|
+
- lib/active_emoji/core_ext/bignum.rb
|
61
|
+
- lib/active_emoji/core_ext/date.rb
|
62
|
+
- lib/active_emoji/core_ext/dir.rb
|
63
|
+
- lib/active_emoji/core_ext/enumerable.rb
|
64
|
+
- lib/active_emoji/core_ext/file.rb
|
65
|
+
- lib/active_emoji/core_ext/fixnum.rb
|
66
|
+
- lib/active_emoji/core_ext/float.rb
|
67
|
+
- lib/active_emoji/core_ext/hash.rb
|
68
|
+
- lib/active_emoji/core_ext/integer.rb
|
69
|
+
- lib/active_emoji/core_ext/io.rb
|
70
|
+
- lib/active_emoji/core_ext/kernel.rb
|
71
|
+
- lib/active_emoji/core_ext/object.rb
|
72
|
+
- lib/active_emoji/core_ext/string.rb
|
73
|
+
- lib/active_emoji/core_ext/thread.rb
|
74
|
+
- lib/active_emoji/core_ext/time.rb
|
75
|
+
- lib/active_emoji/version.rb
|
76
|
+
homepage: https://github.com/sferik/active_emoji
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata: {}
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubyforge_project:
|
96
|
+
rubygems_version: 2.4.4
|
97
|
+
signing_key:
|
98
|
+
specification_version: 4
|
99
|
+
summary: A collection of emoji alias for core Ruby methods
|
100
|
+
test_files: []
|
101
|
+
has_rdoc:
|