t: use bundlerApp, fix twitter version

This commit is contained in:
Michael Fellinger 2019-04-30 18:52:13 +02:00
parent c9fd6099b4
commit b220aa7192
4 changed files with 109 additions and 48 deletions

View File

@ -1,3 +1,6 @@
source "https://rubygems.org" source "https://rubygems.org"
gem 't' gem 't'
# Needed because the twitter gem changed API.
# https://github.com/sferik/t/issues/402
gem 'twitter', '~> 6.1.0'

View File

@ -1,22 +1,24 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
addressable (2.5.2) addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0) public_suffix (>= 2.0.2, < 4.0)
buftok (0.2.0) buftok (0.2.0)
domain_name (0.5.20170404) domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
equalizer (0.0.11) equalizer (0.0.11)
geokit (1.11.0) faraday (0.11.0)
multipart-post (>= 1.2, < 3)
geokit (1.13.1)
htmlentities (4.3.4) htmlentities (4.3.4)
http (3.0.0) http (2.2.2)
addressable (~> 2.3) addressable (~> 2.3)
http-cookie (~> 1.0) http-cookie (~> 1.0)
http-form_data (>= 2.0.0.pre.pre2, < 3) http-form_data (~> 1.0.1)
http_parser.rb (~> 0.6.0) http_parser.rb (~> 0.6.0)
http-cookie (1.0.3) http-cookie (1.0.3)
domain_name (~> 0.5) domain_name (~> 0.5)
http-form_data (2.1.0) http-form_data (1.0.3)
http_parser.rb (0.6.0) http_parser.rb (0.6.0)
launchy (2.4.3) launchy (2.4.3)
addressable (~> 2.3) addressable (~> 2.3)
@ -25,7 +27,7 @@ GEM
multipart-post (2.0.0) multipart-post (2.0.0)
naught (1.1.0) naught (1.1.0)
oauth (0.5.4) oauth (0.5.4)
public_suffix (3.0.2) public_suffix (3.0.3)
retryable (2.0.4) retryable (2.0.4)
simple_oauth (0.3.1) simple_oauth (0.3.1)
t (3.1.0) t (3.1.0)
@ -36,28 +38,28 @@ GEM
retryable (~> 2.0) retryable (~> 2.0)
thor (>= 0.19.1, < 2) thor (>= 0.19.1, < 2)
twitter (~> 6.0) twitter (~> 6.0)
thor (0.20.0) thor (0.20.3)
thread_safe (0.3.6) thread_safe (0.3.6)
twitter (6.2.0) twitter (6.1.0)
addressable (~> 2.3) addressable (~> 2.5)
buftok (~> 0.2.0) buftok (~> 0.2.0)
equalizer (~> 0.0.11) equalizer (= 0.0.11)
http (~> 3.0) faraday (~> 0.11.0)
http-form_data (~> 2.0) http (~> 2.1)
http_parser.rb (~> 0.6.0) http_parser.rb (~> 0.6.0)
memoizable (~> 0.4.0) memoizable (~> 0.4.2)
multipart-post (~> 2.0) naught (~> 1.1)
naught (~> 1.0) simple_oauth (~> 0.3.1)
simple_oauth (~> 0.3.0)
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.7.5) unf_ext (0.0.7.6)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
t t
twitter (~> 6.1.0)
BUNDLED WITH BUNDLED WITH
1.14.6 1.17.2

View File

@ -1,18 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "t-3.1.0"; pname = "t";
gemdir = ./.;
inherit ruby; exes = [ "t" ];
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
meta = with lib; { meta = with lib; {
description = "A command-line power tool for Twitter"; description = "A command-line power tool for Twitter";
homepage = http://sferik.github.io/t/; homepage = http://sferik.github.io/t/;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ offline ]; maintainers = with maintainers; [ offline manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,14 +1,18 @@
{ {
addressable = { addressable = {
dependencies = ["public_suffix"]; dependencies = ["public_suffix"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk"; sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem"; type = "gem";
}; };
version = "2.5.2"; version = "2.6.0";
}; };
buftok = { buftok = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1rzsy1vy50v55x9z0nivf23y0r9jkmq6i130xa75pq9i8qrn1mxs"; sha256 = "1rzsy1vy50v55x9z0nivf23y0r9jkmq6i130xa75pq9i8qrn1mxs";
@ -18,14 +22,18 @@
}; };
domain_name = { domain_name = {
dependencies = ["unf"]; dependencies = ["unf"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "12hs8yijhak7p2hf1xkh98g0mnp5phq3mrrhywzaxpwz1gw5r3kf"; sha256 = "0abdlwb64ns7ssmiqhdwgl27ly40x2l27l8hs8hn0z4kb3zd2x3v";
type = "gem"; type = "gem";
}; };
version = "0.5.20170404"; version = "0.5.20180417";
}; };
equalizer = { equalizer = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1kjmx3fygx8njxfrwcmn7clfhjhb6bvv3scy2lyyi0wqyi3brra4"; sha256 = "1kjmx3fygx8njxfrwcmn7clfhjhb6bvv3scy2lyyi0wqyi3brra4";
@ -33,15 +41,30 @@
}; };
version = "0.0.11"; version = "0.0.11";
}; };
geokit = { faraday = {
dependencies = ["multipart-post"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1iryy9gcrayd4c2xfxnb0acnmqcz5bv7pp6ilaifwlwl6jnc40dm"; sha256 = "18p1csdivgwmshfw3mb698a3bn0yrykg30khk5qxjf6n168g91jr";
type = "gem"; type = "gem";
}; };
version = "1.11.0"; version = "0.11.0";
};
geokit = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mvdpbx88wflqqrcrfa54a5sckvj2sqzm304p7ji3c06frbhmxw8";
type = "gem";
};
version = "1.13.1";
}; };
htmlentities = { htmlentities = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj"; sha256 = "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj";
@ -51,15 +74,19 @@
}; };
http = { http = {
dependencies = ["addressable" "http-cookie" "http-form_data" "http_parser.rb"]; dependencies = ["addressable" "http-cookie" "http-form_data" "http_parser.rb"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1mqjjqgdq83rz3nvq69bn0n5x45hnwd4794fmfbi0wrd1n47syfs"; sha256 = "1kcd9qp8vm1rkyp7gfh8j0dbl3zpi97vz2vbhpbcsdsa7l21a59r";
type = "gem"; type = "gem";
}; };
version = "3.0.0"; version = "2.2.2";
}; };
http-cookie = { http-cookie = {
dependencies = ["domain_name"]; dependencies = ["domain_name"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "004cgs4xg5n6byjs7qld0xhsjq3n6ydfh897myr2mibvh6fjc49g"; sha256 = "004cgs4xg5n6byjs7qld0xhsjq3n6ydfh897myr2mibvh6fjc49g";
@ -68,14 +95,18 @@
version = "1.0.3"; version = "1.0.3";
}; };
http-form_data = { http-form_data = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1j90dydw36h9s09n760aid8asabigqcgi7agsyqh53iz5s3qv9v0"; sha256 = "0j8dwwbfpf8kc0lcsqcgy29lflszd1x4d7kc0f7227892m7r6y0m";
type = "gem"; type = "gem";
}; };
version = "2.1.0"; version = "1.0.3";
}; };
"http_parser.rb" = { "http_parser.rb" = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi"; sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi";
@ -85,6 +116,8 @@
}; };
launchy = { launchy = {
dependencies = ["addressable"]; dependencies = ["addressable"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "190lfbiy1vwxhbgn4nl4dcbzxvm049jwc158r2x7kq3g5khjrxa2"; sha256 = "190lfbiy1vwxhbgn4nl4dcbzxvm049jwc158r2x7kq3g5khjrxa2";
@ -94,6 +127,8 @@
}; };
memoizable = { memoizable = {
dependencies = ["thread_safe"]; dependencies = ["thread_safe"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0v42bvghsvfpzybfazl14qhkrjvx0xlmxz0wwqc960ga1wld5x5c"; sha256 = "0v42bvghsvfpzybfazl14qhkrjvx0xlmxz0wwqc960ga1wld5x5c";
@ -102,6 +137,8 @@
version = "0.4.2"; version = "0.4.2";
}; };
multipart-post = { multipart-post = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x"; sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x";
@ -110,6 +147,8 @@
version = "2.0.0"; version = "2.0.0";
}; };
naught = { naught = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1wwjx35zgbc0nplp8a866iafk4zsrbhwwz4pav5gydr2wm26nksg"; sha256 = "1wwjx35zgbc0nplp8a866iafk4zsrbhwwz4pav5gydr2wm26nksg";
@ -118,6 +157,8 @@
version = "1.1.0"; version = "1.1.0";
}; };
oauth = { oauth = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1zszdg8q1b135z7l7crjj234k4j0m347hywp5kj6zsq7q78pw09y"; sha256 = "1zszdg8q1b135z7l7crjj234k4j0m347hywp5kj6zsq7q78pw09y";
@ -126,14 +167,18 @@
version = "0.5.4"; version = "0.5.4";
}; };
public_suffix = { public_suffix = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1x5h1dh1i3gwc01jbg01rly2g6a1qwhynb1s8a30ic507z1nh09s"; sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
type = "gem"; type = "gem";
}; };
version = "3.0.2"; version = "3.0.3";
}; };
retryable = { retryable = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1pxv5xgr08s9gv5npj7h3raxibywznrv2wcrb85ibhlhzgzcxggf"; sha256 = "1pxv5xgr08s9gv5npj7h3raxibywznrv2wcrb85ibhlhzgzcxggf";
@ -142,6 +187,8 @@
version = "2.0.4"; version = "2.0.4";
}; };
simple_oauth = { simple_oauth = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0dw9ii6m7wckml100xhjc6vxpjcry174lbi9jz5v7ibjr3i94y8l"; sha256 = "0dw9ii6m7wckml100xhjc6vxpjcry174lbi9jz5v7ibjr3i94y8l";
@ -151,6 +198,8 @@
}; };
t = { t = {
dependencies = ["geokit" "htmlentities" "launchy" "oauth" "retryable" "thor" "twitter"]; dependencies = ["geokit" "htmlentities" "launchy" "oauth" "retryable" "thor" "twitter"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qj5zqc819yiscqbyb93alxillyli5ajvrr4gzq52clgkvyap7bd"; sha256 = "0qj5zqc819yiscqbyb93alxillyli5ajvrr4gzq52clgkvyap7bd";
@ -159,14 +208,18 @@
version = "3.1.0"; version = "3.1.0";
}; };
thor = { thor = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nmqpyj642sk4g16nkbq6pj856adpv91lp4krwhqkh2iw63aszdl"; sha256 = "1yhrnp9x8qcy5vc7g438amd5j9sw83ih7c30dr6g6slgw9zj3g29";
type = "gem"; type = "gem";
}; };
version = "0.20.0"; version = "0.20.3";
}; };
thread_safe = { thread_safe = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy"; sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
@ -175,16 +228,20 @@
version = "0.3.6"; version = "0.3.6";
}; };
twitter = { twitter = {
dependencies = ["addressable" "buftok" "equalizer" "http" "http-form_data" "http_parser.rb" "memoizable" "multipart-post" "naught" "simple_oauth"]; dependencies = ["addressable" "buftok" "equalizer" "faraday" "http" "http_parser.rb" "memoizable" "naught" "simple_oauth"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0fjyz3viabz3xs5d9aad18zgdbhfwm51jsnzigc8kxk77p1x58n5"; sha256 = "1l9zv0pg0q4mgcxyhzk2fj57bcs907mbargdr9l0ccnp6xi5sp8v";
type = "gem"; type = "gem";
}; };
version = "6.2.0"; version = "6.1.0";
}; };
unf = { unf = {
dependencies = ["unf_ext"]; dependencies = ["unf_ext"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9"; sha256 = "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9";
@ -193,11 +250,13 @@
version = "0.1.4"; version = "0.1.4";
}; };
unf_ext = { unf_ext = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "06p1i6qhy34bpb8q8ms88y6f2kz86azwm098yvcc0nyqk9y729j1"; sha256 = "1ll6w64ibh81qwvjx19h8nj7mngxgffg7aigjx11klvf5k2g4nxf";
type = "gem"; type = "gem";
}; };
version = "0.0.7.5"; version = "0.0.7.6";
}; };
} }