month-serializer 1.0.0 → 1.0.2
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
- checksums.yaml.gz.sig +4 -0
- data/CHANGELOG.md +114 -0
- data/LICENSE.md +11 -0
- data/README.md +535 -102
- data/lib/month/serializer/version.rb +9 -1
- data/lib/month/serializer.rb +4 -6
- data/sig/month/serializer.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +242 -59
- metadata.gz.sig +0 -0
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.rubocop.yml +0 -35
- data/.travis.yml +0 -59
- data/Appraisals +0 -29
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -6
- data/LICENSE +0 -22
- data/Rakefile +0 -28
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/gemfiles/jruby_1.7.26.gemfile +0 -16
- data/gemfiles/jruby_9.1.9.0.gemfile +0 -15
- data/gemfiles/jruby_9.2.0.0.gemfile +0 -15
- data/gemfiles/jruby_head.gemfile +0 -15
- data/gemfiles/ruby_1.9.3_p551.gemfile +0 -16
- data/gemfiles/ruby_2.0.0_p648.gemfile +0 -16
- data/gemfiles/ruby_2.1.10.gemfile +0 -15
- data/gemfiles/ruby_2.2.10.gemfile +0 -16
- data/gemfiles/ruby_2.3.7.gemfile +0 -16
- data/gemfiles/ruby_2.4.4.gemfile +0 -16
- data/gemfiles/ruby_2.5.1.gemfile +0 -16
- data/gemfiles/ruby_head.gemfile +0 -16
- data/month-serializer.gemspec +0 -34
data/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2018 Peter H. Boling of RailsBling.com
|
|
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/Rakefile
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
require 'bundler/gem_tasks'
|
|
2
|
-
begin
|
|
3
|
-
require 'wwtd/tasks'
|
|
4
|
-
rescue LoadError
|
|
5
|
-
puts 'failed to load wwtd'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
begin
|
|
9
|
-
require 'rspec/core/rake_task'
|
|
10
|
-
RSpec::Core::RakeTask.new(:spec)
|
|
11
|
-
rescue LoadError
|
|
12
|
-
# puts "failed to load wwtd or rspec, probably because bundled --without-development"
|
|
13
|
-
task :spec do
|
|
14
|
-
warn 'rspec is disabled'
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
task :test => :spec
|
|
18
|
-
|
|
19
|
-
begin
|
|
20
|
-
require 'rubocop/rake_task'
|
|
21
|
-
RuboCop::RakeTask.new
|
|
22
|
-
rescue LoadError
|
|
23
|
-
task :rubocop do
|
|
24
|
-
warn 'RuboCop is disabled'
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
task :default => [:test, :rubocop]
|
data/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require 'bundler/setup'
|
|
4
|
-
require 'month/serializer'
|
|
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(__FILE__)
|
data/bin/setup
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
# Some changes to defaults make older version config incompatible with newer version config
|
|
11
|
-
# gem "rubocop", "~> 0.41.2"
|
|
12
|
-
gem 'rake'
|
|
13
|
-
gem 'rspec'
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/jruby_head.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
# Some changes to defaults make older version config incompatible with newer version config
|
|
11
|
-
# gem "rubocop", "~> 0.41.2"
|
|
12
|
-
gem 'rake'
|
|
13
|
-
gem 'rspec'
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
# Some changes to defaults make older version config incompatible with newer version config
|
|
11
|
-
# gem "rubocop", "~> 0.41.2"
|
|
12
|
-
gem 'rake'
|
|
13
|
-
gem 'rspec'
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'rspec'
|
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.3.7.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'rspec'
|
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.4.4.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'rspec'
|
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_2.5.1.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'rspec'
|
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/gemfiles/ruby_head.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
group :development do
|
|
6
|
-
gem 'pry'
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
group :test do
|
|
10
|
-
gem 'rake'
|
|
11
|
-
gem 'rspec'
|
|
12
|
-
gem 'rubocop', '~> 0.52.1'
|
|
13
|
-
gem 'simplecov', '~> 0', :require => false
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
gemspec :path => '../'
|
data/month-serializer.gemspec
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# NOTE: Have to use __FILE__ until Ruby 1.x support is dropped
|
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require 'month/serializer/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = 'month-serializer'
|
|
8
|
-
spec.version = Month::Serializer::VERSION
|
|
9
|
-
spec.authors = ['Peter Boling']
|
|
10
|
-
spec.email = ['peter.boling@gmail.com']
|
|
11
|
-
|
|
12
|
-
spec.summary = 'Serialize Month objects to Integer'
|
|
13
|
-
spec.description = 'Serialize Month objects to Integer'
|
|
14
|
-
spec.homepage = 'https://github.com/pboling/month-serializer'
|
|
15
|
-
spec.license = 'MIT'
|
|
16
|
-
|
|
17
|
-
# Specify which files should be added to the gem when it is released.
|
|
18
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
19
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
20
|
-
spec.bindir = 'exe'
|
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
|
-
spec.require_paths = ['lib']
|
|
23
|
-
spec.required_ruby_version = '>= 1.9.3'
|
|
24
|
-
|
|
25
|
-
spec.add_runtime_dependency 'month', '>= 1.4.0'
|
|
26
|
-
|
|
27
|
-
spec.add_development_dependency 'appraisal'
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
|
29
|
-
spec.add_development_dependency 'rake', ['>= 10.0', '<= 13']
|
|
30
|
-
spec.add_development_dependency 'rspec', '~> 3.8'
|
|
31
|
-
spec.add_development_dependency 'rspec-pending_for', '~> 0.1'
|
|
32
|
-
spec.add_development_dependency 'rspec-block_is_expected', '~> 1.0'
|
|
33
|
-
spec.add_development_dependency 'wwtd'
|
|
34
|
-
end
|