Hello community,

here is the log from the commit of package rubygem-tomlrb for openSUSE:Factory 
checked in at 2019-01-21 10:54:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-tomlrb (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-tomlrb.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-tomlrb"

Mon Jan 21 10:54:22 2019 rev:2 rq:666103 version:1.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-tomlrb/rubygem-tomlrb.changes    
2018-07-18 22:52:42.675205363 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-tomlrb.new.28833/rubygem-tomlrb.changes 
2019-01-21 10:54:48.143696241 +0100
@@ -1,0 +2,6 @@
+Mon Jan 14 14:00:41 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to version 1.2.8
+ CHANGELOG.md removed upstream
+
+-------------------------------------------------------------------

Old:
----
  tomlrb-1.2.7.gem

New:
----
  tomlrb-1.2.8.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-tomlrb.spec ++++++
--- /var/tmp/diff_new_pack.nRuYoo/_old  2019-01-21 10:54:48.779695474 +0100
+++ /var/tmp/diff_new_pack.nRuYoo/_new  2019-01-21 10:54:48.783695470 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-tomlrb
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-tomlrb
-Version:        1.2.7
+Version:        1.2.8
 Release:        0
 %define mod_name tomlrb
 %define mod_full_name %{mod_name}-%{version}
@@ -48,7 +48,7 @@
 
 %install
 %gem_install \
-  --doc-files="CHANGELOG.md LICENSE.txt README.md" \
+  --doc-files="LICENSE.txt" \
   -f
 
 %gem_packages

++++++ tomlrb-1.2.7.gem -> tomlrb-1.2.8.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      2018-06-12 20:13:50.000000000 +0200
+++ new/.gitignore      1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-/.bundle/
-/.yardoc
-/Gemfile.lock
-/_yardoc/
-/coverage/
-/doc/
-/pkg/
-/spec/reports/
-/tmp/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2018-06-12 20:13:50.000000000 +0200
+++ new/.travis.yml     1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-language: ruby
-before_install:
-  - gem install bundler
-rvm:
-  - 2.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2018-06-12 20:13:50.000000000 +0200
+++ new/CHANGELOG.md    1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-### 1.2.7 - 2018-07-12
-
-* Datetime should be UTC when no offset or timezone are specified
-
-### 1.2.6 - 2017-10-23
-
-* Fix issue where an unclosed table could make the parsing loop infinitely.
-* Proper string escaping
-
-### 1.1.3 - 2015-11-24
-
-* Bare integers can be used as keys as per the spec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2018-06-12 20:13:50.000000000 +0200
+++ new/Gemfile 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-source 'https://rubygems.org'
-
-group :development do
-  gem "bundler"
-  gem "rake"
-  gem "byebug"
-  gem "racc"
-  gem "minitest"
-  gem "minitest-reporters"
-  gem "benchmark-ips"
-end
-
-gemspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2018-06-12 20:13:50.000000000 +0200
+++ new/README.md       1970-01-01 01:00:00.000000000 +0100
@@ -1,80 +0,0 @@
-# Tomlrb
-
-[![Code 
Climate](https://codeclimate.com/github/fbernier/tomlrb/badges/gpa.svg)](https://codeclimate.com/github/fbernier/tomlrb)
 [![Build 
Status](https://travis-ci.org/fbernier/tomlrb.svg)](https://travis-ci.org/fbernier/tomlrb)
 [![Gem 
Version](https://badge.fury.io/rb/tomlrb.svg)](http://badge.fury.io/rb/tomlrb)
-
-A Racc based [TOML](https://github.com/toml-lang/toml) Ruby parser supporting 
the 0.4.0 version of the spec.
-
-
-## TODO
-
-* Better tests
-* Dumper
-
-## Installation
-
-Add this line to your application's Gemfile:
-
-```ruby
-gem 'tomlrb'
-```
-
-And then execute:
-
-    $ bundle
-
-Or install it yourself as:
-
-    $ gem install tomlrb
-
-## Usage
-
-```ruby
-Tomlrb.parse("[toml]\na = [\"array\", 123]")
-```
-
-or
-
-```ruby
-Tomlrb.load_file('my_file', symbolize_keys: true)
-```
-
-## Benchmark
-
-You can run the benchmark against the only other v0.4.0 compliant parser to my 
knowledge with `ruby benchmarks/bench.rb`.
-
-Here are the results on my machine:
-
-```
-Warming up --------------------------------------
-      emancu/toml-rb     1.000  i/100ms
-     fbernier/tomlrb    65.000  i/100ms
-Calculating -------------------------------------
-      emancu/toml-rb     19.199  (± 5.2%) i/s -     96.000  in   5.034377s
-     fbernier/tomlrb    653.650  (± 4.0%) i/s -      3.315k in   5.081117s
-
-Comparison:
-     fbernier/tomlrb:      653.6 i/s
-      emancu/toml-rb:       19.2 i/s - 34.05x  slower
-```
-
-## Development
-
-After checking out the repo, run `bin/setup` to install dependencies. Then, 
run `bin/console` for an interactive prompt that will allow you to experiment.
-
-Do not forget to regenerate the parser when you modify rules in the `parser.y` 
file using `rake compile`.
-
-Run the tests using `rake test`.
-
-To install this gem onto your local machine, run `bundle exec rake install`. 
To release a new version, update the version number in `version.rb`, and then 
run `bundle exec rake release` to create a git tag for the version, push git 
commits and tags, and push the `.gem` file to 
[rubygems.org](https://rubygems.org).
-
-## Contributing
-
-1. Fork it ( https://github.com/[my-github-username]/tomlrb/fork )
-2. Create your feature branch (`git checkout -b my-new-feature`)
-3. Commit your changes (`git commit -am 'Add some feature'`)
-4. Push to the branch (`git push origin my-new-feature`)
-5. Create a new Pull Request
-
-## Thanks
-
-Thanks to [@jpbougie](https://github.com/jpbougie) for the crash course on  
the Chomsky hierarchy and general tips.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2018-06-12 20:13:50.000000000 +0200
+++ new/Rakefile        1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-require "bundler/gem_tasks"
-require 'rake/testtask'
-
-Rake::TestTask.new do |t|
-  t.libs << "test"
-  t.test_files = FileList['test/test*.rb']
-  t.verbose = true
-end
-
-task default: [:test]
-
-task :compile do
-  sh 'racc lib/tomlrb/parser.y -o lib/tomlrb/generated_parser.rb'
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/benchmarks/bench.rb new/benchmarks/bench.rb
--- old/benchmarks/bench.rb     2018-06-12 20:13:50.000000000 +0200
+++ new/benchmarks/bench.rb     1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-require 'benchmark/ips'
-require_relative '../lib/tomlrb'
-begin
-  require 'toml-rb'
-rescue LoadError
-  puts "Install toml-rb using 'gem install toml-rb' first."
-end
-
-data = File.read(File.join(__dir__, '../test/example-v0.4.0.toml'))
-
-Benchmark.ips do |x|
-
-  x.report("emancu/toml-rb") do
-    TomlRB.parse(data)
-  end
-
-  x.report("fbernier/tomlrb") do
-    Tomlrb.parse(data)
-  end
-
-  x.compare!
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bin/console new/bin/console
--- old/bin/console     2018-06-12 20:13:50.000000000 +0200
+++ new/bin/console     1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-require "bundler/setup"
-require "tomlrb"
-
-# You can add fixtures and/or initialization code here to make experimenting
-# with your gem easier. You can also use a different console, if you like.
-
-# (If you use this, don't forget to add pry to your Gemfile!)
-require "byebug"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bin/setup new/bin/setup
--- old/bin/setup       2018-06-12 20:13:50.000000000 +0200
+++ new/bin/setup       1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!/bin/bash
-set -euo pipefail
-IFS=$'\n\t'
-
-bundle install
-rake compile
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tomlrb/scanner.rb new/lib/tomlrb/scanner.rb
--- old/lib/tomlrb/scanner.rb   2018-06-12 20:13:50.000000000 +0200
+++ new/lib/tomlrb/scanner.rb   2018-12-21 16:12:59.000000000 +0100
@@ -10,8 +10,8 @@
     STRING_LITERAL = /(['])(?:\\?.)*?\1/
     STRING_LITERAL_MULTI = /'{3}([\s\S]*?'{3})/m
     DATETIME = 
/(-?\d{4})-(\d{2})-(\d{2})(?:(?:t|\s)(\d{2}):(\d{2}):(\d{2}(?:\.\d+)?))?(z|[-+]\d{2}:\d{2})?/i
-    FLOAT = 
/[+-]?(?:[0-9_]+\.[0-9_]*|\.[0-9_]+|\d+(?=[eE]))(?:[eE][+-]?[0-9_]+)?/
-    INTEGER = /[+-]?\d(_?\d)*(?![A-Za-z0-9_-]+)/
+    FLOAT = /[+-]?(?:[0-9_]+\.[0-9_]*|\d+(?=[eE]))(?:[eE][+-]?[0-9_]+)?/
+    INTEGER = /[+-]?([1-9](_?\d)*|0)(?![A-Za-z0-9_-]+)/
     TRUE   = /true/
     FALSE  = /false/
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tomlrb/version.rb new/lib/tomlrb/version.rb
--- old/lib/tomlrb/version.rb   2018-06-12 20:13:50.000000000 +0200
+++ new/lib/tomlrb/version.rb   2018-12-21 16:12:59.000000000 +0100
@@ -1,3 +1,3 @@
 module Tomlrb
-  VERSION = "1.2.7"
+  VERSION = "1.2.8"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-06-12 20:13:50.000000000 +0200
+++ new/metadata        2018-12-21 16:12:59.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: tomlrb
 version: !ruby/object:Gem::Version
-  version: 1.2.7
+  version: 1.2.8
 platform: ruby
 authors:
 - Francois Bernier
 autorequire: 
-bindir: exe
+bindir: bin
 cert_chain: []
-date: 2018-06-12 00:00:00.000000000 Z
+date: 2018-12-21 00:00:00.000000000 Z
 dependencies: []
 description: A racc based toml parser
 email:
@@ -17,16 +17,7 @@
 extensions: []
 extra_rdoc_files: []
 files:
-- ".gitignore"
-- ".travis.yml"
-- CHANGELOG.md
-- Gemfile
 - LICENSE.txt
-- README.md
-- Rakefile
-- benchmarks/bench.rb
-- bin/console
-- bin/setup
 - lib/tomlrb.rb
 - lib/tomlrb/generated_parser.rb
 - lib/tomlrb/handler.rb
@@ -35,7 +26,6 @@
 - lib/tomlrb/scanner.rb
 - lib/tomlrb/string_utils.rb
 - lib/tomlrb/version.rb
-- tomlrb.gemspec
 homepage: https://github.com/fbernier/tomlrb
 licenses:
 - MIT
@@ -55,8 +45,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.6
+rubygems_version: 3.0.0
 signing_key: 
 specification_version: 4
 summary: A racc based toml parser
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tomlrb.gemspec new/tomlrb.gemspec
--- old/tomlrb.gemspec  2018-06-12 20:13:50.000000000 +0200
+++ new/tomlrb.gemspec  1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'tomlrb/version'
-
-Gem::Specification.new do |spec|
-  spec.name          = "tomlrb"
-  spec.version       = Tomlrb::VERSION
-  spec.authors       = ["Francois Bernier"]
-  spec.email         = ["frankbern...@gmail.com"]
-
-  spec.summary       = %q{A racc based toml parser}
-  spec.description   = %q{A racc based toml parser}
-  spec.homepage      = "https://github.com/fbernier/tomlrb";
-  spec.license       = "MIT"
-
-  spec.files         = `git ls-files -z`.split("\x0").reject { |f| 
f.match(%r{^(test|spec|features)/}) }
-  spec.bindir        = "exe"
-  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
-  spec.require_paths = ["lib"]
-  spec.required_ruby_version = '>= 2.0'
-end


Reply via email to