initials 0.2.0 → 0.2.1

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: 041b1ba551adcc8ecb64879d33eacccb3d5b2fb3d4d0d2c7acf8e36a9a82495c
4
- data.tar.gz: 38722e485352b13bb2b4ba716d33084a9719a2ff0b9d45cbd5f4042b3b8c8e84
3
+ metadata.gz: 4cf0672cb32ca9c0578082938d688e501b860f82f11f5fc5f9da391f600d7b67
4
+ data.tar.gz: cd64e5021b2d8546a1e83875139be27a266d776ec01f825fffd14e66122f0bc1
5
5
  SHA512:
6
- metadata.gz: 63bb8752ed94b30a0a9cdf5b616d41db11fb506071efec29acc66a15bd578334ad35df6a1309bf548d557d7dff6106022ec602549c8e2d983c631d9a4307d100
7
- data.tar.gz: b94314469bae6842900c17156898493bf28a189c7f0c263c0a7f8eed371e42d83480cc61536970dcf615863caec67defd91b831f8ef9db8571cba89598cd03e2
6
+ metadata.gz: 715df7ec0c73a894d9cb88e00be05c90d479dc489bb7dd72f2940d0d92543e02c9acba5e70e4ae3e569a099efeaad85368ee3e74d1e1a65bbbee7d6452fe4f3a
7
+ data.tar.gz: 7fe165889d701dc17d80b32b03744aa6a299b23eac88b901aea1c754f4af7d2f5143ce989ca7ae1992ff9a8d513c373cc29f01e2eb7f27bcbfb7e22cb155118a
@@ -0,0 +1,35 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ main ]
13
+ pull_request:
14
+ branches: [ main ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Run tests
35
+ run: bundle exec rake
data/initials.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.17"
26
+ spec.add_development_dependency "bundler"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
28
28
  spec.add_development_dependency "rspec", "~> 3.0"
29
29
  end
data/lib/initials.rb CHANGED
@@ -5,6 +5,6 @@ module Initials
5
5
  class Error < StandardError; end
6
6
 
7
7
  def self.svg(name, **options)
8
- SVG.new(name, options).to_s
8
+ SVG.new(name, **options).to_s
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Initials
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Hutterer
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".github/workflows/ruby.yml"
62
63
  - ".gitignore"
63
64
  - ".rspec"
64
65
  - ".travis.yml"