greensync / json-sequence Goto Github PK
View Code? Open in Web Editor NEWPush parser for RFC7464 JSON Sequences
License: MIT License
Push parser for RFC7464 JSON Sequences
License: MIT License
I've not had much experience creating rubygems however the file json-sequence.gemspec
calls out to git
. As dex-visibility is now vendoring this gem (and the dex-api-client) I'd like to remove the dependency on having access to git at runtime.
The current json-sequence.gemspec lists the files using:
irb(main):001:0> files = `git ls-files -z`.split("\x0").reject do |f|
irb(main):002:1* f.match(%r{^(test|spec|features)/})
irb(main):003:1> end
=> [".gitignore", ".rspec", ".rubocop.yml", ".ruby-version", "Gemfile", "Gemfile.lock", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "json-sequence.gemspec", "lib/json_sequence.rb", "lib/json_sequence/parser.rb", "lib/json_sequence/result.rb", "lib/json_sequence/version.rb"]
Yehuda recommends that we use Dir.glob
https://github.com/greensync/json-sequence/blob/master/json-sequence.gemspec
So I propose that we update the gemspec to Dir.glob("{bin,lib}/**/*") + %w(README.md Gemfile Gemfile.lock Rakefile)
ruby -e 'puts Dir.glob("{bin,lib}/**/*") + %w(README.md Gemfile Gemfile.lock Rakefile LICENSE.txt json-sequence.gemspec)'
bin/setup
bin/console
lib/json_sequence
lib/json_sequence/result.rb
lib/json_sequence/parser.rb
lib/json_sequence/version.rb
lib/json_sequence.rb
README.md
Gemfile
Gemfile.lock
Rakefile
LICENSE.txt
json-sequence.gemspec
We've resolved that it would make our lives a whole lot simpler if this was open-source.
Not to mention all the other good reasons for open-sourcing things.
Any objections, @khaong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.