Code Monkey home page Code Monkey logo

baldr's Issues

License missing from gemspec

Some companies will only use gems with a certain license.
The canonical and easy way to check is via the gemspec
via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

Bundler now generates gems with a default 'MIT' license. There is even a License Finder
to help companies ensure all gems they use meet their licensing needs. This tool depends on license information being available in the gemspec.
Including a license in your gemspec is a good practice, in any case.

If you need help choosing a license, github has created a license picker tool

How did I find you?

I'm using a script to collect stats on gems, originally looking for download data, but decided to collect licenses too,
and make issues for gemspecs not specifying a license as a public service :)
So far it's going pretty well.
I've written a blog post about it

PO1 loop should accept 'PID' segment instead of 'Pid' in Transaction Set 855

/Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:41:in `validate_tree!': spare segments PID, l is 1 (Baldr::Error::ValidationError)
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block (2 levels) in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block (2 levels) in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block (2 levels) in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:30:in `block in validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `each'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:25:in `validate_tree!'
    from /Users/heero/.rvm/gems/ruby-2.2.0/gems/baldr-0.3.20/lib/baldr/validator.rb:6:in `validate!'
    from Send_PO_Acks.rb:162:in `block in <main>'
    from Send_PO_Acks.rb:21:in `each'
    from Send_PO_Acks.rb:21:in `<main>'

In set855.rb:

 {id: 'PO1', min: 0, max: 100000, level: [
        {id: 'LIN', min: 0, max: 99999},
        {id: 'SI', min: 0, max: 99999},
        {id: 'CUR', min: 0, max: 1},
        {id: 'PO3', min: 0, max: 25},
        {id: 'CTP', min: 0, max: 99999},
        {id: 'PAM', min: 0, max: 10},
        {id: 'MEA', min: 0, max: 40},
        {id: 'Pid', min: 0, max: 1000, level: [
          {id: 'MEA', min: 0, max: 10},
        ]},
        {id: 'PWK', min: 0, max: 25},
        {id: 'PO4', min: 0, max: 99999},
        {id: 'REF', min: 0, max: 99999},
        {id: 'PER', min: 0, max: 3},
        {id: 'SAC', min: 0, max: 25, level: [
          {id: 'CUR', min: 0, max: 1},
        ]},

Great gem by the way! Many thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.