Compare commits
2 commits
a4dd680445
...
234c866e28
| Author | SHA1 | Date | |
|---|---|---|---|
| 234c866e28 | |||
| 8eebc96b00 |
7 changed files with 4 additions and 14 deletions
1
Gemfile
1
Gemfile
|
|
@ -60,7 +60,6 @@ gem 'letter_opener', '~> 1.8', '>= 1.8.1', group: :development
|
||||||
gem 'parallel', '~> 1.23'
|
gem 'parallel', '~> 1.23'
|
||||||
|
|
||||||
# For miscellaneous HTTP requests.
|
# For miscellaneous HTTP requests.
|
||||||
gem "httparty", "~> 0.22.0"
|
|
||||||
gem "addressable", "~> 2.8"
|
gem "addressable", "~> 2.8"
|
||||||
|
|
||||||
# For advanced batching of many HTTP requests.
|
# For advanced batching of many HTTP requests.
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,6 @@ GEM
|
||||||
bigdecimal
|
bigdecimal
|
||||||
rexml
|
rexml
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
csv (3.3.2)
|
|
||||||
date (3.4.1)
|
date (3.4.1)
|
||||||
debug (1.9.2)
|
debug (1.9.2)
|
||||||
irb (~> 1.10)
|
irb (~> 1.10)
|
||||||
|
|
@ -192,10 +191,6 @@ GEM
|
||||||
hashdiff (1.1.2)
|
hashdiff (1.1.2)
|
||||||
hashie (5.0.0)
|
hashie (5.0.0)
|
||||||
http_accept_language (2.1.1)
|
http_accept_language (2.1.1)
|
||||||
httparty (0.22.0)
|
|
||||||
csv
|
|
||||||
mini_mime (>= 1.0.0)
|
|
||||||
multi_xml (>= 0.5.2)
|
|
||||||
i18n (1.14.7)
|
i18n (1.14.7)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
io-console (0.8.0)
|
io-console (0.8.0)
|
||||||
|
|
@ -245,8 +240,6 @@ GEM
|
||||||
mini_portile2 (2.8.8)
|
mini_portile2 (2.8.8)
|
||||||
minitest (5.25.5)
|
minitest (5.25.5)
|
||||||
msgpack (1.7.5)
|
msgpack (1.7.5)
|
||||||
multi_xml (0.7.1)
|
|
||||||
bigdecimal (~> 3.1)
|
|
||||||
mysql2 (0.5.6)
|
mysql2 (0.5.6)
|
||||||
net-http (0.6.0)
|
net-http (0.6.0)
|
||||||
uri
|
uri
|
||||||
|
|
@ -540,7 +533,6 @@ DEPENDENCIES
|
||||||
falcon (~> 0.48.0)
|
falcon (~> 0.48.0)
|
||||||
haml (~> 6.1, >= 6.1.1)
|
haml (~> 6.1, >= 6.1.1)
|
||||||
http_accept_language (~> 2.1, >= 2.1.1)
|
http_accept_language (~> 2.1, >= 2.1.1)
|
||||||
httparty (~> 0.22.0)
|
|
||||||
jsbundling-rails (~> 1.3)
|
jsbundling-rails (~> 1.3)
|
||||||
letter_opener (~> 1.8, >= 1.8.1)
|
letter_opener (~> 1.8, >= 1.8.1)
|
||||||
memory_profiler (~> 1.0)
|
memory_profiler (~> 1.0)
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,8 @@
|
||||||
= link_to t('items.show.resources.jn_items'), jn_items_url_for(item)
|
= link_to t('items.show.resources.jn_items'), jn_items_url_for(item)
|
||||||
= link_to t('items.show.resources.impress_2020'), impress_2020_url_for(item)
|
= link_to t('items.show.resources.impress_2020'), impress_2020_url_for(item)
|
||||||
- if item.nc_trade_value
|
- if item.nc_trade_value
|
||||||
%span{
|
= link_to 'https://www.neopets.com/~lebron',
|
||||||
title: nc_trade_value_updated_at_text(item.nc_trade_value)
|
title: nc_trade_value_updated_at_text(item.nc_trade_value) do
|
||||||
}
|
|
||||||
= t 'items.show.resources.lebron',
|
= t 'items.show.resources.lebron',
|
||||||
value: nc_trade_value_estimate_text(item.nc_trade_value)
|
value: nc_trade_value_estimate_text(item.nc_trade_value)
|
||||||
- unless item.nc?
|
- unless item.nc?
|
||||||
|
|
|
||||||
|
|
@ -225,14 +225,14 @@
|
||||||
- content_for :subtitle, flush: true do
|
- content_for :subtitle, flush: true do
|
||||||
- if item.nc_trade_value.present?
|
- if item.nc_trade_value.present?
|
||||||
- if nc_trade_value_is_estimate(item.nc_trade_value)
|
- if nc_trade_value_is_estimate(item.nc_trade_value)
|
||||||
= content_tag :span,
|
= link_to 'https://www.neopets.com/~lebron', target: '_blank',
|
||||||
class: "nc-trade-guide-info-link",
|
class: "nc-trade-guide-info-link",
|
||||||
title: 'Lebron keeps track of approximate "capsule" values of NC items for trading. Items with similar values can often be traded for one another. This is an estimate, not a rule!' do
|
title: 'Lebron keeps track of approximate "capsule" values of NC items for trading. Items with similar values can often be traded for one another. This is an estimate, not a rule!' do
|
||||||
%span.nc-trade-guide-info-label [Lebron]
|
%span.nc-trade-guide-info-label [Lebron]
|
||||||
Estimated value:
|
Estimated value:
|
||||||
= nc_trade_value_estimate_text(item.nc_trade_value)
|
= nc_trade_value_estimate_text(item.nc_trade_value)
|
||||||
- else
|
- else
|
||||||
= content_tag :span,
|
= link_to 'https://www.neopets.com/~lebron', target: '_blank',
|
||||||
class: "nc-trade-guide-info-link",
|
class: "nc-trade-guide-info-link",
|
||||||
title: "Lebron keeps track of how to get certain special items, even when there isn't a clear NC trade estimate." do
|
title: "Lebron keeps track of how to get certain special items, even when there isn't a clear NC trade estimate." do
|
||||||
%span.nc-trade-guide-info-label [Lebron]
|
%span.nc-trade-guide-info-label [Lebron]
|
||||||
|
|
|
||||||
BIN
vendor/cache/csv-3.3.2.gem
vendored
BIN
vendor/cache/csv-3.3.2.gem
vendored
Binary file not shown.
BIN
vendor/cache/httparty-0.22.0.gem
vendored
BIN
vendor/cache/httparty-0.22.0.gem
vendored
Binary file not shown.
BIN
vendor/cache/multi_xml-0.7.1.gem
vendored
BIN
vendor/cache/multi_xml-0.7.1.gem
vendored
Binary file not shown.
Loading…
Reference in a new issue