marskal-core-extensions 0.0.3 → 0.0.4
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 +4 -4
- data/.gitignore +24 -24
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +35 -35
- data/Rakefile +2 -2
- data/lib/marskal/core/extensions.rb +16 -16
- data/lib/marskal/core/extensions/string.rb +1 -1
- data/lib/marskal/core/extensions/version.rb +1 -1
- data/marskal-core-extensions.gemspec +23 -23
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40720a759deb5aa723fa5756ba4a3875c3e273f7
|
4
|
+
data.tar.gz: e06d206ea1d6bd538b1a325ada9ae6a62e026752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 638c8afe57705c25cce8b33cc228b2fc40571afac07df2373f6c1d33c08b75ebbfa879595282c400371942bd9d259f09e23d5e86f834a702bc50ff9ae12b3306
|
7
|
+
data.tar.gz: cc67dff0e28ee09ac2fb65ea57e355ee2bea5f50a4603ad8b420400be45bec6b22adb0f0a36515984c1da77710e7b350795faba6814f2b28f3d1686109c284eb
|
data/.gitignore
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
*.bundle
|
19
|
-
*.so
|
20
|
-
*.o
|
21
|
-
*.a
|
22
|
-
mkmf.log
|
23
|
-
.idea
|
24
|
-
.idea/
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
23
|
+
.idea
|
24
|
+
.idea/
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in marskal-core-extensions.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in marskal-core-extensions.gemspec
|
4
|
+
gemspec
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2014 Mike Urban
|
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.
|
1
|
+
Copyright (c) 2014 Mike Urban
|
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
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
# Marskal::Core::Extensions
|
2
|
-
|
3
|
-
This gems contains several extensions to the Core Functions of Ruby and Ruby On rails.
|
4
|
-
This was developed using Ruby 2.0 and Ruby2.1 but many of the extension will likely work with older versions
|
5
|
-
|
6
|
-
## Installation
|
7
|
-
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
|
-
gem 'marskal-core-extensions'
|
11
|
-
|
12
|
-
And then execute:
|
13
|
-
|
14
|
-
$ bundle
|
15
|
-
|
16
|
-
Or install it yourself as:
|
17
|
-
|
18
|
-
$ gem install marskal-core-extensions
|
19
|
-
|
20
|
-
## Usage
|
21
|
-
|
22
|
-
array.rb => Extensions for data type **Array**
|
23
|
-
numeric.rb => Extensions for data type **Numeric**
|
24
|
-
date.rb => Extensions for data type **Date**
|
25
|
-
i18n.rb => Extensions for the Internationalization module **I18n**
|
26
|
-
string.rb => Extensions for data type **String**
|
27
|
-
|
28
|
-
Contact
|
29
|
-
-------
|
30
|
-
Comments and feedback are welcome. Send an email to Mike Urban via mike@marskalgroup.com
|
31
|
-
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Copyright Marskal Group LLC, 2012-
|
1
|
+
# Marskal::Core::Extensions
|
2
|
+
|
3
|
+
This gems contains several extensions to the Core Functions of Ruby and Ruby On rails.
|
4
|
+
This was developed using Ruby 2.0 and Ruby2.1 but many of the extension will likely work with older versions
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'marskal-core-extensions'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install marskal-core-extensions
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
array.rb => Extensions for data type **Array**
|
23
|
+
numeric.rb => Extensions for data type **Numeric**
|
24
|
+
date.rb => Extensions for data type **Date**
|
25
|
+
i18n.rb => Extensions for the Internationalization module **I18n**
|
26
|
+
string.rb => Extensions for data type **String**
|
27
|
+
|
28
|
+
Contact
|
29
|
+
-------
|
30
|
+
Comments and feedback are welcome. Send an email to Mike Urban via mike@marskalgroup.com
|
31
|
+
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Copyright Marskal Group LLC, 2012-2014
|
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
@@ -1,16 +1,16 @@
|
|
1
|
-
require "marskal/core/extensions/version"
|
2
|
-
|
3
|
-
#utilities
|
4
|
-
require "marskal/core/extensions/array"
|
5
|
-
require "marskal/core/extensions/date"
|
6
|
-
require "marskal/core/extensions/i18n"
|
7
|
-
require "marskal/core/extensions/numeric"
|
8
|
-
require "marskal/core/extensions/string"
|
9
|
-
|
10
|
-
module Marskal
|
11
|
-
module Core
|
12
|
-
module Extensions
|
13
|
-
# Your code goes here...
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
1
|
+
require "marskal/core/extensions/version"
|
2
|
+
|
3
|
+
#utilities
|
4
|
+
require "marskal/core/extensions/array"
|
5
|
+
require "marskal/core/extensions/date"
|
6
|
+
require "marskal/core/extensions/i18n"
|
7
|
+
require "marskal/core/extensions/numeric"
|
8
|
+
require "marskal/core/extensions/string"
|
9
|
+
|
10
|
+
module Marskal
|
11
|
+
module Core
|
12
|
+
module Extensions
|
13
|
+
# Your code goes here...
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -1,23 +1,23 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'marskal/core/extensions/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "marskal-core-extensions"
|
8
|
-
spec.version = Marskal::Core::Extensions::VERSION
|
9
|
-
spec.authors = ["Mike Urban"]
|
10
|
-
spec.email = ["mike@marskalgroup.com"]
|
11
|
-
spec.summary = %q{Many handy uitilities to extend Ruby on Rails core functionality}
|
12
|
-
spec.description = %q{Extends modules/classes such as Array, String, Numeric, Date, I18n and more}
|
13
|
-
spec.homepage = "http://www.marskalgroup.com"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
# spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
# spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
-
spec.add_development_dependency "rake", "~> 0"
|
23
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'marskal/core/extensions/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "marskal-core-extensions"
|
8
|
+
spec.version = Marskal::Core::Extensions::VERSION
|
9
|
+
spec.authors = ["Mike Urban"]
|
10
|
+
spec.email = ["mike@marskalgroup.com"]
|
11
|
+
spec.summary = %q{Many handy uitilities to extend Ruby on Rails core functionality}
|
12
|
+
spec.description = %q{Extends modules/classes such as Array, String, Numeric, Date, I18n and more}
|
13
|
+
spec.homepage = "http://www.marskalgroup.com"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
# spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
# spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
+
spec.add_development_dependency "rake", "~> 0"
|
23
|
+
end
|