codekindly-utils 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 063a2401d93b7d67a760ac2caa62f5ad8fd1f12743a8e0147a1d9166a459638c
4
- data.tar.gz: 625f6cf8a1ad6c4b0c7979b4277d0d2e5b337860b86c0138e4664219ea0d51a8
3
+ metadata.gz: c6d0feca047b9755d8e80f3a34354867d7a4c41726fd2a58d42f3179e27e231b
4
+ data.tar.gz: 97a3acea5e6c45db8702f6b704353261de1aa1a2304799a24a5657551318c3fd
5
5
  SHA512:
6
- metadata.gz: d98ee0e0287ba23d0252a8777c6a60e95910d7f7291304f7ac77924055207f65af7e7ceff31d7c523168218c1a39525338fe65138bf824e7f801053e81fc17a9
7
- data.tar.gz: 1c8885957eaca40e3007f1bb34123d736ef52de4183fb2a449f95117649665b52b3e8ac0b76e8061bda92ba8eaf7c226d8103d16fcc17e39d4eeebf974a6fa98
6
+ metadata.gz: dc6692d8aaa9b748c7ec268c4ce2acc3508440d86ae4f19b72304c9c1b65cee8977341e9e700c76a4bc7eef15054c071d711e97a2afb527c7e5af9cf279cb41c
7
+ data.tar.gz: 0daef372344088e300150306a5b333ea6f412c608e339ab4cb62a28298efdbf415b070a03f8c5e773bf1dbd58d0cc60d31f1ee8890bf1c9082a30f06486dd2a4
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CodeKindly
4
4
  module Utils
5
- VERSION = '0.0.7'.freeze
5
+ VERSION = '0.0.8'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codekindly-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Weathers
@@ -159,23 +159,9 @@ executables: []
159
159
  extensions: []
160
160
  extra_rdoc_files: []
161
161
  files:
162
- - ".gitignore"
163
- - ".rspec"
164
- - ".rubocop.yml"
165
- - Appraisals
166
162
  - CONTRIBUTING.md
167
- - Gemfile
168
163
  - LICENSE.txt
169
164
  - README.md
170
- - Rakefile
171
- - all_rubies
172
- - bin/console
173
- - bin/setup
174
- - codekindly-utils.gemspec
175
- - gemfiles/activerecord_4_2.gemfile
176
- - gemfiles/activerecord_5_0.gemfile
177
- - gemfiles/activerecord_5_1.gemfile
178
- - gemfiles/activerecord_5_2.gemfile
179
165
  - lib/code_kindly/utils.rb
180
166
  - lib/code_kindly/utils/active_record.rb
181
167
  - lib/code_kindly/utils/boolean.rb
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- .bundle/
2
- .DS_Store
3
- .rspec_status
4
- .ruby-version
5
- /_yardoc/
6
- /.yardoc
7
- /coverage/
8
- /doc/
9
- /Gemfile.lock
10
- /gemfiles/*.lock
11
- /pkg/
12
- /spec/reports/
13
- /tmp/
14
- /vendor/ruby
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,4 +0,0 @@
1
- AllCops:
2
- Exclude:
3
- - 'gemfiles/**/*'
4
- - 'vendor/**/*'
data/Appraisals DELETED
@@ -1,18 +0,0 @@
1
- #!/usr/local/env ruby
2
- # frozen_string_literal: true
3
-
4
- appraise 'activerecord-4-2' do
5
- gem 'activerecord', '~> 4.2.10'
6
- end
7
-
8
- appraise 'activerecord-5-0' do
9
- gem 'activerecord', '~> 5.0.7'
10
- end
11
-
12
- appraise 'activerecord-5-1' do
13
- gem 'activerecord', '~> 5.1.6'
14
- end
15
-
16
- appraise 'activerecord-5-2' do
17
- gem 'activerecord', '~> 5.2.0'
18
- end
data/Gemfile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
- # Specify your gem's dependencies in codekindly-utils.gemspec
8
- gemspec
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/all_rubies DELETED
@@ -1,62 +0,0 @@
1
- #!/bin/bash
2
-
3
- versions=('2.2.10' '2.3.7' '2.4.4' '2.5.1')
4
-
5
- switcher=`which rbenv`
6
- if [[ $switcher = *[!\ ]* ]]; then
7
- verb="local"
8
- else
9
- switcher=`which rvm`
10
- if [[ $switcher = *[!\ ]* ]]; then
11
- verb="use"
12
- else
13
- echo "Please install rbenv or rvm"
14
- exit 1
15
- fi
16
- fi
17
-
18
- case "$1" in
19
- appraisal-install)
20
- for version in ${versions[@]}
21
- do
22
- echo "Appraisal install for Ruby $version"
23
- eval "$switcher $verb $version"
24
- bundle exec appraisal install
25
- done
26
- ;;
27
-
28
- appraisal-spec)
29
- for version in ${versions[@]}
30
- do
31
- echo "Run appraisal specs with Ruby $version"
32
- eval "$switcher $verb $version"
33
- bundle exec appraisal rspec
34
- done
35
- ;;
36
-
37
- bundle)
38
- for version in ${versions[@]}
39
- do
40
- echo "Bundle for Ruby $version"
41
- eval "$switcher $verb $version"
42
- gem list --local bundler | grep bundler || gem install --no-ri --no-rdoc bundler
43
- bundle install --path vendor
44
- bundle update
45
- done
46
- ;;
47
-
48
- spec)
49
- for version in ${versions[@]}
50
- do
51
- echo "Run specs with Ruby $version"
52
- eval "$switcher $verb $version"
53
- bundle exec rspec spec
54
- done
55
- ;;
56
-
57
- *)
58
- echo $"Usage: $0 {bundle|spec|appraisal-install|appraisal-spec}"
59
- exit 1
60
- esac
61
-
62
- exit 0
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'codekindly-utils'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- 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,38 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'code_kindly/utils/version'
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = 'codekindly-utils'
9
- spec.version = CodeKindly::Utils::VERSION
10
- spec.authors = ['Jeremy Weathers']
11
- spec.email = ['jeremy@codekindly.com']
12
-
13
- spec.summary = 'These are small utilities that I like to have around in my projects.'
14
- spec.description = "There is nothing terribly unique or interesting here and there are almost certainly better ways to do things than this. These are little snippets I've found useful in the past and continue to use through inertia."
15
- spec.homepage = 'https://github.com/jlw/codekindly-utils'
16
- spec.license = 'MIT'
17
-
18
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
- f.match(%r{^(test|spec|features)/})
20
- end
21
- spec.bindir = 'exe'
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ['lib']
24
-
25
- spec.required_ruby_version = '>= 2.2'
26
-
27
- spec.add_dependency 'highline'
28
- spec.add_dependency 'map'
29
-
30
- spec.add_development_dependency 'activerecord'
31
- spec.add_development_dependency 'appraisal'
32
- spec.add_development_dependency 'bundler', '~> 1.16'
33
- spec.add_development_dependency 'pry-byebug'
34
- spec.add_development_dependency 'rake'
35
- spec.add_development_dependency 'rspec', '~> 3.0'
36
- spec.add_development_dependency 'rubocop'
37
- spec.add_development_dependency 'sqlite3'
38
- end
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 4.2.10"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.0.7"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.1.6"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.2.0"
6
-
7
- gemspec path: "../"