figures 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
- SHA1:
3
- metadata.gz: a46955406747f8f41903de63ea0c16298d28ede2
4
- data.tar.gz: 12fc043abf6ea720f7d009ccd2845cb0eabd1cc8
2
+ SHA256:
3
+ metadata.gz: 8893951b3e32444f3bb69a248dac93d9c5a5c91e5681620dfe2165d209de2cc8
4
+ data.tar.gz: 42104008cd0683f7a84c60da2587aca09b0fbac4d4ee7fb3b1aad20616be7f63
5
5
  SHA512:
6
- metadata.gz: 7f9f475009fc3ecc748fa0c5e71c7326225f8c078477513e45d5a2c85d9a0e440b6b40f0c350ee4ea17dc566197b0a23e97c9c99dcbd55ed9356de24f03ac038
7
- data.tar.gz: 6ef00052728d61532d0dcd7133ba3dab7da4c904f8a8e8d6c691d0492c1c420bd6c7c1df62aac1b5bcaa699c3842c1b9453d6c4c0fe2ed6f43f912a80243ef42
6
+ metadata.gz: e1a017802be7e36dab37ce61ecae06d68042e001dbd4f4f159264edde772cd2716d62a93a38a9086a437fadf6314f01b56a451390dd6efe5b878c2bc6f0b4b35
7
+ data.tar.gz: c7b41daf6636dc2bd5461a3d080c2a3830034532c1d1f5b05bcfe7d9e0acc21e911133528d47d9bc525ea22a065781dcfc9322472ef13de4287b044cf00505ca
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 0.2.1
4
+
5
+ * Relax Ruby version requirement to allow Ruby 3.0
6
+
3
7
  ### 0.2.0
4
8
 
5
9
  * Support even larger numbers
@@ -7,5 +11,5 @@
7
11
 
8
12
  ### 0.1.0
9
13
 
10
- * Inital release
14
+ * Initial release
11
15
 
data/Gemfile CHANGED
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'minitest'
6
+ gem 'rake'
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # figures [![[version]](https://badge.fury.io/rb/figures.svg)](http://badge.fury.io/rb/figures) [![[travis]](https://travis-ci.org/paulgoetze/figures.png)](https://travis-ci.org/paulgoetze/figures)
1
+ # figures [![[version]](https://badge.fury.io/rb/figures.svg)](https://badge.fury.io/rb/figures) [![[ci]](https://github.com/paulgoetze/figures/workflows/Test/badge.svg)](https://github.com/paulgoetze/figures/actions?query=workflow%3ATest)
2
2
 
3
3
  German number words.
4
4
 
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # # #
2
2
  # Get gemspec info
3
3
 
4
- gemspec_file = Dir['*.gemspec'].first
4
+ gemspec_file = Dir['*.gemspec'].first
5
5
  gemspec = eval File.read(gemspec_file), binding, gemspec_file
6
6
  info = "#{gemspec.name} | #{gemspec.version} | " \
7
7
  "#{gemspec.runtime_dependencies.size} dependencies | " \
@@ -28,3 +28,18 @@ desc "#{gemspec.name} | IRB"
28
28
  task :irb do
29
29
  sh "irb -I ./lib -r #{gemspec.name.gsub '-','/'}"
30
30
  end
31
+
32
+
33
+ # # #
34
+ # Run specs
35
+
36
+ desc "#{gemspec.name} | Spec"
37
+ task :spec do
38
+ if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
39
+ sh "for %f in (spec/\*.rb) do ruby spec/%f"
40
+ else
41
+ sh "for file in spec/*.rb; do ruby $file; done"
42
+ end
43
+ end
44
+ task default: :spec
45
+
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.required_ruby_version = '~> 2.0'
20
+ gem.required_ruby_version = '>= 2.0'
21
21
  end
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Figures
2
- VERSION = "0.2.0".freeze
4
+ VERSION = "0.2.1"
3
5
  end
4
6
 
5
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figures
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
  - Paul Götze
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-01 00:00:00.000000000 Z
12
+ date: 2021-01-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: German number words.
15
15
  email: paul.christoph.goetze@gmail.com
@@ -18,7 +18,6 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - ".gitignore"
21
- - ".travis.yml"
22
21
  - CHANGELOG.md
23
22
  - Gemfile
24
23
  - MIT-LICENSE.txt
@@ -26,7 +25,6 @@ files:
26
25
  - Rakefile
27
26
  - figures.gemspec
28
27
  - lib/figures.rb
29
- - lib/figures/.german.rb.swp
30
28
  - lib/figures/german.rb
31
29
  - lib/figures/version.rb
32
30
  - spec/figures_spec.rb
@@ -40,7 +38,7 @@ require_paths:
40
38
  - lib
41
39
  required_ruby_version: !ruby/object:Gem::Requirement
42
40
  requirements:
43
- - - "~>"
41
+ - - ">="
44
42
  - !ruby/object:Gem::Version
45
43
  version: '2.0'
46
44
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -49,11 +47,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
47
  - !ruby/object:Gem::Version
50
48
  version: '0'
51
49
  requirements: []
52
- rubyforge_project:
53
- rubygems_version: 2.4.6
50
+ rubygems_version: 3.2.4
54
51
  signing_key:
55
52
  specification_version: 4
56
53
  summary: German number words
57
54
  test_files:
58
55
  - spec/figures_spec.rb
59
- has_rdoc:
@@ -1,18 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- script: bundle exec ruby spec/figures_spec.rb
5
-
6
- rvm:
7
- - 2.2
8
- - 2.1
9
- - 2.0
10
- - rbx-2
11
- - jruby-head
12
- - jruby-9000
13
-
14
- cache:
15
- - bundler
16
-
17
- matrix:
18
- fast_finish: true
Binary file