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.
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,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
@@ -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,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- gemspec :path => '../'
@@ -1,15 +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
- end
14
-
15
- 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
- # 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,15 +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
- end
14
-
15
- 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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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