JSON array of games on vglist that have a Wikidata ID but the Wikidata item has no vglist ID property. These aren't added automatically because the names on vglist and Wikidata differ. Someone should go through each of these (possibly with a simple script that'll automatically open each item in your browser) and let you decide whether they match, but not me because I'm lazy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => Booting Puma | |
| => Rails 6.0.3 application starting in development | |
| => Run `rails server --help` for more startup options | |
| Puma starting in single mode... | |
| * Version 4.3.3 (ruby 2.6.5-p114), codename: Mysterious Traveller | |
| * Min threads: 5, max threads: 5 | |
| * Environment: development | |
| * Listening on tcp://127.0.0.1:3000 | |
| * Listening on tcp://[::1]:3000 | |
| Use Ctrl-C to stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Civilization", | |
| "wikidata_id": "Q368286", | |
| "mobygames_ids": [ | |
| "civilization", | |
| "sid-meiers-civilization" | |
| ], | |
| "pcgw_id": "Civilization" | |
| }, |
faker.rbi generation:
bundle exec sord faker.rbi --no-sord-comments --replace-errors-with-untyped --replace-unresolved-with-untyped --skip-constants- Replace all
NOT_GIVENwithT.unsafe(nil).- This constant doesn't exist because we skipped generating constants, so we have to get rid of it.
- Replace the line
def self.negative(legacy_from = T.unsafe(nil), legacy_to = T.unsafe(nil), from: -5000.00,, to: -1.00)); endwithdef self.negative(legacy_from = T.unsafe(nil), legacy_to = T.unsafe(nil), from: -5000.00, to: -1.00); end- This line is butchered because of a bug in YARD with negative numbers as default values.
- Replace all instances of
Stringwith::String- These have to be done because otherwise Sorbet will thing we mean Faker::String >.>
- Replace all
returns(String)withreturns(::String).
- Replace all
T.nilable(String)withT.nilable(::String).
This script is meant to be used to transfer a game library from Grouvee to vglist. :)
Import instructions:
- Save
grouvee_to_vglist_importer.rblocally. - Export your Grouvee library to a CSV file and save it as
grouvee.csvin the same directory asgrouvee-to-vglist-import.rb. - Create an account on vglist.co if you haven't already.
- In your vglist settings, click "Developer" in the left sidebar.
- Click "View Token" and copy the token shown.
- Check your Ruby version (
ruby -v).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # typed: strong | |
| # test_via: ../subscriptions.rb | |
| module GraphQL | |
| ID_TYPE = T.let(GraphQL::Types::ID.graphql_definition, T.untyped) | |
| VERSION = T.let("1.10.0.pre1", T.untyped) | |
| INT_TYPE = T.let(GraphQL::Types::Int.graphql_definition, T.untyped) | |
| FLOAT_TYPE = T.let(GraphQL::Types::Float.graphql_definition, T.untyped) | |
| STRING_TYPE = T.let(GraphQL::Types::String.graphql_definition, T.untyped) | |
| BOOLEAN_TYPE = T.let(GraphQL::Types::Boolean.graphql_definition, T.untyped) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| = Known incompatibilities with Smarty 2 = | |
| == Syntax == | |
| Smarty 3 API has a new syntax. Much of the Smarty 2 syntax is supported | |
| by a wrapper but deprecated. See the README that comes with Smarty 3 for more | |
| information. | |
| The {$array|@mod} syntax has always been a bit confusing, where an "@" is required | |
| to apply a modifier to an array instead of the individual elements. Normally you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A simple little script to make it easier to add YARD docs for a Faker class. | |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'activesupport', '~> 6.0.0' | |
| gem 'tty-prompt' | |
| end | |
| require 'open-uri' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => Booting Puma | |
| => Rails 6.0.0 application starting in development | |
| => Run `rails server --help` for more startup options | |
| Puma starting in single mode... | |
| * Version 4.1.0 (ruby 2.6.3-p62), codename: Fourth and One | |
| * Min threads: 5, max threads: 5 | |
| * Environment: development | |
| * Listening on tcp://localhost:3000 | |
| Use Ctrl-C to stop | |
| Started GET "/" for 127.0.0.1 at 2019-09-07 21:00:03 -0600 |