diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..95a0d92 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,9 @@ +# These are supported funding model platforms + +github: [rmm5t] +# patreon: # Replace with a single Patreon username +# open_collective: # Replace with a single Open Collective username +# ko_fi: # Replace with a single Ko-fi username +# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +custom: "https://www.paypal.me/rmm5t/5" diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 0000000..7e40c03 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,13 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an Issue is closed for lack of response +daysUntilClose: 7 +# Label requiring a response +responseRequiredLabel: more-information-needed +# Comment to post when closing an Issue for lack of response. Set to `false` to disable +closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further. diff --git a/Gemfile.lock b/Gemfile.lock index 0f85ef2..2437230 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,12 @@ GEM remote: http://rubygems.org/ specs: - highline (1.6.20) - rake (10.5.0) + highline (3.1.1) + reline + io-console (0.7.2) + rake (13.2.1) + reline (0.5.11) + io-console (~> 0.5) PLATFORMS ruby @@ -12,4 +16,4 @@ DEPENDENCIES rake BUNDLED WITH - 1.11.2 + 2.5.22 diff --git a/LICENSE.txt b/LICENSE.txt index 1768cee..841104c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2009-2015 Ryan McGeary +Copyright (c) 2009-2018 Ryan McGeary MIT License diff --git a/README.markdown b/README.markdown index e48567f..6a96ec0 100644 --- a/README.markdown +++ b/README.markdown @@ -9,23 +9,6 @@ Launchy have made this method of keyboard entry a popular one. It's time to bring this same functionality to web controls. FlexSelect does that for select boxes. ---- - -**How You Can Help** - -[][square] -[][gratipay] -[][codementor] - -If you like this project, [buy me a coffee][square], [donate via Gratipay][gratipay], or [book a session with me on Codementor][codementor]. - -Bitcoin: `1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m` - -[square]: https://cash.me/$rmm5t "Donate to rmm5t for open source!" -[gratipay]: https://gratipay.com/rmm5t/ "Donate to rmm5t for open source!" -[bitcoin]: bitcoin:1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m?amount=0.01&label=Coffee%20to%20rmm5t%20for%20Open%20Source "Buy rmm5t a coffee for open source!" -[codementor]: https://www.codementor.io/rmm5t?utm_campaign=profile&utm_source=button-rmm5t&utm_medium=shields "Book a session with rmm5t on Codementor!" - ## Usage First, load [jQuery](http://jquery.com/), the @@ -75,8 +58,6 @@ into a bad-ass autocompleting text box with flex matching support. [Ryan McGeary](http://ryan.mcgeary.org) ([@rmm5t](http://twitter.com/rmm5t)) -## Other - -[MIT License](http://www.opensource.org/licenses/mit-license.php) +## License -Copyright (c) 2009-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org) +[MIT License](https://rmm5t.mit-license.org/) diff --git a/Rakefile b/Rakefile index ec498e9..c73fb09 100644 --- a/Rakefile +++ b/Rakefile @@ -25,27 +25,16 @@ file package.package_dir_path do sh("sed -e 's/%RELEASE_VERSION%/#{package.version}/g' -e 's/%RELEASE_DATE%/#{Date.today}/g' #{input} > #{output}") end -desc "Publish a release to the wild" -task :publish do - sh "git checkout gh-pages" - sh "git merge master" - sh "git push" - sh "git checkout master" - sh "git push" - sh "git push --tags" -end - desc "Construct a new release package, and optionally tag the repository" task :release => [:rewrite_docs, :rewrite_bower, :commit, :repackage] do sh("git tag -s 'v#{package.version}' -m 'Version #{package.version}'") - puts("\n *** Don't forget to push the zip file to S3 ***") - puts("\n *** Don't forget to `rake publish` ***") + puts("\n *** Don't forget to push the zip file to a GitHub Release ***") end desc "Rewrite the downlaod location in the docs" task :rewrite_docs => :version do docs = IO.read("index.html") - docs.sub!(/(download_url = .+)-\d+\.\d+\.\d+.zip/, "\\1-#{package.version}.zip") + docs.sub!(/download_url =.*/, "download_url = \"https://github.com/rmm5t/jquery-flexselect/releases/download/v#{package.version}/jquery.flexselect-#{package.version}.zip\";") File.open("index.html", "w") { |f| f.write docs } end diff --git a/index.html b/index.html index 742b5a6..dabdb30 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,11 @@ - - + +