conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Add test when its a false path\n"
},
{
"from": "human",
"value": "defmodule WeberHelperContentForTest do\n use ExUnit.Case\n\n setup_all do\n root = __DIR__ <> \"/../weber_fake\"\n app_name = Mix.Project.get.project[:app]\n Weber.run_weber(app_name, Examp... | elixir | chosen |
[
{
"from": "system",
"value": "Make all User model fields optional\n"
},
{
"from": "human",
"value": "defmodule MyApp_808732.User do\n use MyApp_808732.Web, :model\n\n schema \"users\" do\n field :name, :string\n field :email, :string\n field :user_id, :string\n field :access_token,... | elixir | chosen |
[
{
"from": "system",
"value": "Revert \"Don't 500 if missing optimized image.\"\n\nThis reverts commit bf3c7e850207d5de2745cc0d70bc013710a5d8b5.\n"
},
{
"from": "human",
"value": "defmodule Ello.V2.UserMetaAttributesView do\n use Ello.V2.Web, :view\n import Ello.V2.ImageView, only: [image_url: ... | elixir | chosen |
[
{
"from": "system",
"value": "Update dependency ex_doc to ~> 0.22\n"
},
{
"from": "human",
"value": "defmodule CucumberMessages.MixProject do\n @moduledoc false\n use Mix.Project\n\n @vsn \"0.1.0\"\n @github \"https://github.com/cucumber/cucumber/tree/master/messages/elixir\"\n @name \"Cucu... | elixir | chosen |
[
{
"from": "system",
"value": "Update the values returned in /entries\n"
},
{
"from": "human",
"value": "defmodule OntagCoreWeb.EntryController do\n use OntagCoreWeb, :controller\n alias OntagCore.CMS\n\n plug OntagCoreWeb.Authentication when action in [:create]\n action_fallback OntagCoreWeb... | elixir | chosen |
[
{
"from": "system",
"value": "Include search terms for next page url"
},
{
"from": "human",
"value": "defmodule Ello.Serve.Webapp.SearchView do\n use Ello.Serve.Web, :view\n\n def render(\"noscript.html\", %{type: \"users\"} = assigns),\n do: render_template(\"noscript.html\", assigns)\n\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Check if associated user exists.\n"
},
{
"from": "human",
"value": "defmodule CoursePlanner.Tasks.Task do\n @moduledoc \"\"\"\n Defines a task to be accomplished by volunteers or coordinators\n \"\"\"\n use CoursePlanner.Web, :model\n\n @cast_params [:name, :... | elixir | chosen |
[
{
"from": "system",
"value": "Fix inefficient code in InitializePlugins\n"
},
{
"from": "human",
"value": "defmodule Credo.Execution.Task.InitializePlugins do\n @moduledoc false\n\n use Credo.Execution.Task\n\n alias Credo.Execution\n\n def call(exec, _opts) do\n Enum.reduce(exec.plugins,... | elixir | chosen |
[
{
"from": "system",
"value": "Fix subtitle in Json API.\n"
},
{
"from": "human",
"value": "defmodule MicoseBackend.BookView do\n use MicoseBackend.Web, :view\n\n def render(\"index.json\", %{books: books}) do\n %{data: render_many(books, MicoseBackend.BookView, \"book.json\")}\n end\n\n d... | elixir | chosen |
[
{
"from": "system",
"value": "Fix for uptime status not being counted properly.\n\nPreviously the seconds used up by each step were not being taken away so each value was cumulative.\n"
},
{
"from": "human",
"value": "defmodule TougouBot.Debug do\n use Alchemy.Cogs\n\n Cogs.def ping do\n Co... | elixir | chosen |
[
{
"from": "system",
"value": "Use 0.4 release version of credo\n"
},
{
"from": "human",
"value": "defmodule Benchee.Mixfile do\n use Mix.Project\n\n def project do\n [\n app: :benchee,\n version: \"0.1.0\",\n elixir: \"~> 1.2\",\n build_embedded: Mix.env == :prod,\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Add jsex as dependency explicitly\n"
},
{
"from": "human",
"value": "defmodule MogoChat.Mixfile do\n use Mix.Project\n\n def project do\n [ app: :mogo_chat,\n version: \"0.0.1\",\n build_per_environment: true,\n dynamos: [MogoChat.Dynamo],\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Use a more common var name\n"
},
{
"from": "human",
"value": "defmodule OpenAperture.Deployer.Configuration do\n @moduledoc \"Retrieves configuration from either ENV variables or config.exs.\"\n\n alias OpenAperture.Messaging\n alias Messaging.Queue\n alias Mess... | elixir | chosen |
[
{
"from": "system",
"value": "Annotate impls; make function private\n"
},
{
"from": "human",
"value": "defmodule Api.Auth.Guardian do\n use Guardian, otp_app: :api\n alias Api.Auth.Helpers\n\n def subject_for_token(user_json, _claims) do\n user = user_by(user_json, Api.Core.Config.get(Api.... | elixir | chosen |
[
{
"from": "system",
"value": "Add tests for loop with no `match`\n"
},
{
"from": "human",
"value": "Code.require_file \"../../test_helper\", __FILE__\n\ndefmodule Kernel.LoopTest do\n use ExUnit.Case\n\n test :do_loop do\n list = [1,2,3]\n\n result = loop list, [] do\n match: [h|t], a... | elixir | chosen |
[
{
"from": "system",
"value": "Fix move absolute speed multiplication\n"
},
{
"from": "human",
"value": "defmodule Farmbot.CeleryScript.AST.Node.MoveAbsolute do\n @moduledoc false\n use Farmbot.CeleryScript.AST.Node\n import Farmbot.CeleryScript.Utils\n\n allow_args [:location, :speed, :offse... | elixir | chosen |
[
{
"from": "system",
"value": "Change port back to 9090\n"
},
{
"from": "human",
"value": "test_server_config = [\n port: 7070,\n server_name: 'hound_test_server',\n server_root: Path.absname('test/sample_pages'),\n document_root: Path.absname('test/sample_pages'),\n bind_address: 'localhost... | elixir | chosen |
[
{
"from": "system",
"value": "Update redirect to OutgoingCallerId API\n"
},
{
"from": "human",
"value": "defmodule ExTwilio.OutgoingCallerId do\n @moduledoc \"\"\"\n Represents an OutgoingCallerId resource in the Twilio API.\n\n - [Twilio docs](https://www.twilio.com/docs/api/rest/outgoing-ca... | elixir | chosen |
[
{
"from": "system",
"value": "Add tests for inactive member"
},
{
"from": "human",
"value": "defmodule Gatekeeper.MemberTest do\n use Gatekeeper.ModelCase\n\n alias Gatekeeper.Member\n\n @valid_attrs %{active: true, email: \"some content\", name: \"some content\", phone: \"some content\"}\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Update test to verify the json returned.\n"
},
{
"from": "human",
"value": "defmodule Person do\n defstruct name: nil, age: nil\nend\n\ndefmodule PersonRepresenter do\n use Kitsune.JSON\n\n property :name\n property :age\nend\n \ndefmodule KitsuneTest do\n use ... | elixir | chosen |
[
{
"from": "system",
"value": "Make the TestApp match the new API\n"
},
{
"from": "human",
"value": "defmodule TestApp.Router do\n use Phoenix.Router\n\n forward \"/frontends\", PhoenixFrontendDeploys.Web\nend\n\ndefmodule TestApp do\n use Phoenix.Endpoint, otp_app: :test_app\n plug TestApp.R... | elixir | chosen |
[
{
"from": "system",
"value": "Use alias in retro test\n"
},
{
"from": "human",
"value": "defmodule RemoteRetro.RetroTest do\n use RemoteRetro.ModelCase\n\n describe \"JSON encoding of the model struct\" do\n test \"is enabled\" do\n idea = %RemoteRetro.Retro{id: 5, stage: \"idea-genera... | elixir | chosen |
[
{
"from": "system",
"value": "Disable timout for websocket connection\n"
},
{
"from": "human",
"value": "defmodule ExBees.SocketHandler do\n @behaviour :cowboy_websocket_handler\n\n def init(_, _req, _opts) do\n {:upgrade, :protocol, :cowboy_websocket}\n end\n\n # TODO: add infinite timeo... | elixir | chosen |
[
{
"from": "system",
"value": "Build performance: shift RealTimeStageProgressionTest to proceed from prime directive to idea generation\n\n - this saves several user iteractions in the test that we don't actually need to go through, as previously the retro started in the idea generation stage, and the autom... | elixir | chosen |
[
{
"from": "system",
"value": "Make the pipeline name more obvious to its intent"
},
{
"from": "human",
"value": "defmodule Gatekeeper.Router do\n use Gatekeeper.Web, :router\n\n pipeline :browser do\n plug :accepts, [\"html\"]\n plug :fetch_session\n plug :fetch_flash\n plug :prote... | elixir | chosen |
[
{
"from": "system",
"value": "Set view test that manipultes mix env to async to false to avoid corrupting other tests\n"
},
{
"from": "human",
"value": "defmodule RemoteRetro.LayoutViewTest do\r\n use RemoteRetro.ConnCase, async: true\r\n alias RemoteRetro.LayoutView\r\n\r\n test \"app_js is ... | elixir | chosen |
[
{
"from": "system",
"value": "Sort stages by name before displaying them to user\n"
},
{
"from": "human",
"value": "defmodule JumubaseWeb.Internal.StageController do\n use JumubaseWeb, :controller\n alias Jumubase.Foundation\n alias Jumubase.Foundation.Contest\n\n plug :add_home_breadcrumb\n... | elixir | chosen |
[
{
"from": "system",
"value": "Clean up /performances endpoint logic in REST API\n\nThis changes the controller to support two sets of params when asking for performances: Either by venue and date, or by contest category and results public flag.\n"
},
{
"from": "human",
"value": "defmodule Jumuba... | elixir | chosen |
[
{
"from": "system",
"value": "Fix irreversible migration to separate up/down"
},
{
"from": "human",
"value": "defmodule OpenPantry.Repo.Migrations.CreateFood do\n use Ecto.Migration\n alias OpenPantry.Food\n\n def change do\n create table(:foods) do\n add :name, :string\n add :se... | elixir | chosen |
[
{
"from": "system",
"value": "Format the code for Elixir v1.8.x\n"
},
{
"from": "human",
"value": "defmodule Serum.Plugin.Macros do\n @moduledoc false\n\n _moduledocp = \"Provides macros for defining the `Serum.Plugin` module.\"\n\n defmacro defcallback({:\"::\", _, [{name, meta, args} = call... | elixir | chosen |
[
{
"from": "system",
"value": "Fix a warning about unused data\n"
},
{
"from": "human",
"value": "defmodule HelloWorldWebServer do\n def start(port) do\n args = [\n bind_address: 'localhost',\n port: port,\n ipfamily: :inet,\n modules: [__MODULE__],\n server_name: 'He... | elixir | chosen |
[
{
"from": "system",
"value": "Add more tests for `Serum` module\n"
},
{
"from": "human",
"value": "defmodule SerumTest do\n use ExUnit.Case, async: true\n import Serum\n\n @tag :skip\n test \"start/2\" do\n end\n\n test \"init_data/0\" do\n init_data()\n assert %{} == build_data()\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Change Dev Port to 4001\n"
},
{
"from": "human",
"value": "use Mix.Config\n\n# For development, we disable any cache and enable\n# debugging and code reloading.\n#\n# The watchers configuration can be used to run external\n# watchers to your application. For example... | elixir | chosen |
[
{
"from": "system",
"value": "Clarify time measured via :timer.tc/1\n"
},
{
"from": "human",
"value": "defmodule Credo.CheckTest do\n use Credo.TestHelper\n\n alias Credo.Check\n\n @generated_lines 1000\n test \"it should determine the correct scope for long modules in reasonable time\" do\n... | elixir | chosen |
[
{
"from": "system",
"value": "Add hex config to support phx_new package\n"
},
{
"from": "human",
"value": "defmodule Phx.New.MixProject do\n use Mix.Project\n\n def project do\n [\n app: :phx_new,\n start_permanent: Mix.env == :prod,\n version: \"1.4.0-dev\",\n elixir: \... | elixir | chosen |
[
{
"from": "system",
"value": "Use exit/1 instead of System.halt/1\n"
},
{
"from": "human",
"value": "defmodule Credo.CLI do\n @moduledoc \"\"\"\n `Credo.CLI` is the entrypoint for both the Mix task and the escript.\n\n It takes the parameters passed from the command line and translates them i... | elixir | chosen |
[
{
"from": "system",
"value": "Document our user-facing API module and function\n"
},
{
"from": "human",
"value": "defmodule TilexWeb.Api.DeveloperPostController do\n use TilexWeb, :controller\n\n def index(conn, params) do\n posts = Tilex.Posts.by_developer(params[\"username\"], limit: 3)\n... | elixir | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Fix weird behavior on migration.\"\"\n\nThis reverts commit 333dc3efdd2ce3cc95eacd78d922fb784cbcca46.\n"
},
{
"from": "human",
"value": "defmodule CoursePlanner.Repo.Migrations.NilifyAllTaskVolunteer do\n use Ecto.Migration\n\n def change do\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Allow 20 restarts for widget workers\n"
},
{
"from": "human",
"value": "defmodule Neoboard.WidgetSupervisor do\n use Supervisor\n\n def start_link do\n Supervisor.start_link(__MODULE__, [])\n end\n\n def init([]) do\n cond do\n Neoboard.Widgets.auto_s... | elixir | chosen |
[
{
"from": "system",
"value": "Add specs on company active?"
},
{
"from": "human",
"value": "defmodule Gatekeeper.CompanyTest do\n use Gatekeeper.ModelCase\n\n alias Gatekeeper.Company\n\n @valid_attrs %{departure_date: \"2010-04-17 14:00:00\", join_date: \"2010-04-17 14:00:00\", name: \"some ... | elixir | chosen |
[
{
"from": "system",
"value": "Rename module to match rest of project\n"
},
{
"from": "human",
"value": "defmodule SendgridElixir.Mixfile do\n use Mix.Project\n\n def project do\n [app: :sendgrid,\n version: \"0.0.2\",\n elixir: \"~> 1.2\",\n package: package,\n description: ... | elixir | chosen |
[
{
"from": "system",
"value": "Add some phoenix config to all JSON encoding\n"
},
{
"from": "human",
"value": "use Mix.Config\n\nconfig :phoenix_frontend_deploys,\n asset_directory: System.cwd <> \"/test/frontend_assets\",\n live_filename: \"live\"\n"
},
{
"from": "gpt",
"value": "u... | elixir | chosen |
[
{
"from": "system",
"value": "Configure CoordinateLogger using config module\n"
},
{
"from": "human",
"value": "defmodule Vivaldi.Peer.CoordinateStash do\n @moduledoc \"\"\"\n All coordinate-update events are sent here. Events are logged to stdout.\n TODO: Also log events to a centralized log... | elixir | chosen |
[
{
"from": "system",
"value": "Make calliope an optional dep\n"
},
{
"from": "human",
"value": "defmodule Phoenix.Mixfile do\n use Mix.Project\n\n def project do\n [\n app: :phoenix,\n version: \"0.3.1\",\n elixir: \"~> 0.14.2\",\n deps: deps(Mix.env),\n package: [\n... | elixir | chosen |
[
{
"from": "system",
"value": "Maintain a disk copy of the game form table.\n"
},
{
"from": "human",
"value": "defmodule Mix.Tasks.BattleSnake.Createdb do\n alias BattleSnake.GameForm\n\n use Mix.Task\n\n @shortdoc \"creates the mnesia database\"\n def run(_) do\n :stopped = :mnesia.stop\n... | elixir | chosen |
[
{
"from": "system",
"value": "Fix typo in Sendgrid integration tests\n"
},
{
"from": "human",
"value": "defmodule Swoosh.Integration.Adapters.SendgridTest do\n use ExUnit.Case, async: true\n\n import Swoosh.Email\n\n @moduletag integration: true\n\n setup_all do\n config = [api_key: Syste... | elixir | chosen |
[
{
"from": "system",
"value": "Add license to hex config\n"
},
{
"from": "human",
"value": "defmodule Rotor.Mixfile do\n use Mix.Project\n\n def project do\n [app: :rotor,\n version: \"0.2.0\",\n elixir: \">= 0.14.2\",\n description: description,\n package: package,\n dep... | elixir | chosen |
[
{
"from": "system",
"value": "Order email results winnings DESC and then names ASC.\nTODO: a \"totals\" row at the bottom, just like on the cashout page.\nTODO: connect to a mailer so Jay doesn't care.\n"
},
{
"from": "human",
"value": "defmodule PhoenixPoker.Utils do\n use Timex\n \n @module... | elixir | chosen |
[
{
"from": "system",
"value": "Fix and refactor explosion test\n"
},
{
"from": "human",
"value": "defmodule Game.ExplosionTest do\n use ExUnit.Case, async: true\n doctest Game.Explosion\n\n alias Game.Explosion, as: Explosion\n\n @t_past 1_471_605_231_831\n @t_future 2_271_605_231_831\n\n t... | elixir | chosen |
[
{
"from": "system",
"value": "Test Crashes on zero arity function in macro\nCredo.Check.Readability.ParenthesesOnZeroArityDefs crashes if a macro defines a zero-arity function. Added a test to demonstrate the issue.\n"
},
{
"from": "human",
"value": "defmodule Credo.Check.Readability.Parentheses... | elixir | chosen |
[
{
"from": "system",
"value": "Set ex_unit receive timeout to 1000ms\n"
},
{
"from": "human",
"value": "use Mix.Config\n\nconfig :logger, level: :debug\n\nconfig :mnesia, dir: 'mnesia'\n\nconfig :sasl, sasl_error_logger: false\n\nconfig :ejabberd,\n file: \"config/ejabberd.yml\",\n log_path: \"... | elixir | chosen |
[
{
"from": "system",
"value": "Fix typo TUserResolver -> UserResolver\n"
},
{
"from": "human",
"value": "defmodule TheScratch.Schema do\n @moduledoc \"\"\"\n GraphQL Schema\n \"\"\"\n\n alias TheScratch.UserResolver\n\n use Absinthe.Schema\n import_types TheScratch.Schema.Types\n\n query d... | elixir | chosen |
[
{
"from": "system",
"value": "Fix net tiktime for syncronysation\n"
},
{
"from": "human",
"value": "# This file is responsible for configuring your application\n# and its dependencies with the aid of the Mix.Config module.\nuse Mix.Config\n\n# This configuration is loaded before any dependency a... | elixir | chosen |
[
{
"from": "system",
"value": "Fix Annotation View: render the object itself only\n"
},
{
"from": "human",
"value": "defmodule Core.AnnotationView do\n use Core.Web, :view\n\n def render(\"index.json\", %{annotations: annotations}) do\n %{data: render_many(annotations, Core.AnnotationView, \... | elixir | chosen |
[
{
"from": "system",
"value": "Fix typo in preview test\n"
},
{
"from": "human",
"value": "defmodule CodeCorps.PreviewTest do\n use CodeCorps.ModelCase\n\n alias CodeCorps.Preview\n\n test \"changeset renders body html from markdown\" do\n changeset = Preview.changeset(%Preview{}, %{markdow... | elixir | chosen |
[
{
"from": "system",
"value": "Add ping messages for nox"
},
{
"from": "human",
"value": "defmodule PingHook do\n @replies [\n \"pong\", \"shpunk\", \"spank\", \"pork\", \"dong\",\n ]\n @num_replies Enum.count(@replies)\n\n def run(sender, text) do\n if String.downcase(text) == \"ping\"... | elixir | chosen |
[
{
"from": "system",
"value": "Fix deprecated function in Problem016/Elixir/soluation_1.exs\n"
},
{
"from": "human",
"value": ":math.pow(2, 1000) |> round\n |> to_char_list\n |> Enum.map(fn (c) -> c - hd('0') end)\n |> Enum.sum\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Remove unneeded aliases and setup.\n\nThis fixes some compilation warnings when running tests.\n"
},
{
"from": "human",
"value": "defmodule Ello.Search.PageTest do\n use Ello.Search.Case\n alias Ello.Core.{Repo, Factory, Network}\n alias Ello.Search.Page\n alias... | elixir | chosen |
[
{
"from": "system",
"value": "Add the grosses regex in the world\n"
},
{
"from": "human",
"value": "defmodule Top.Server do\n use GenServer\n\n\n ### Notes and snippits\n ## Port.open({:spawn, \"top -n 0\"}, [:binary])\nend"
},
{
"from": "gpt",
"value": "defmodule Top.Server do\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Allow access to a DoorGroup via Company"
},
{
"from": "human",
"value": "defmodule Gatekeeper.Door do\n use Gatekeeper.Web, :model\n\n alias Gatekeeper.Repo\n\n schema \"doors\" do\n field :name, :string\n has_many :door_group_doors, Gatekeeper.DoorGroupDoo... | elixir | chosen |
[
{
"from": "system",
"value": "Make \"annotations\" to be required field in Fact\n"
},
{
"from": "human",
"value": "defmodule Core.Fact do\n @moduledoc \"\"\"\n A Fact is a collection of annotations that answers a question.\n\n ## Fields\n\n Field | Type |\n :------------ |... | elixir | chosen |
[
{
"from": "system",
"value": "Check if driver type is nil\n"
},
{
"from": "human",
"value": "defmodule HoundTest do\n use ExUnit.Case\n use Hound.Helpers\n\n setup do\n Hound.start_session\n parent = self\n on_exit fn-> Hound.end_session(parent) end\n :ok\n end\n\n test \"should... | elixir | chosen |
[
{
"from": "system",
"value": "Add documentation for chat message model\n"
},
{
"from": "human",
"value": "defmodule Classlab.ChatMessage do\n use Classlab.Web, :model\n\n # Fields\n schema \"chat_messages\" do\n field :body, :string\n timestamps()\n\n belongs_to :event, Classlab.Even... | elixir | chosen |
[
{
"from": "system",
"value": "Drop the database for each test run\n\nNow that we are using a single file for migrations, we should drop the\ndatabase each test run to get the new schema.\n"
},
{
"from": "human",
"value": "Mix.Task.run \"ecto.create\", [\"quiet\", \"-r\", \"ExMachina.TestRepo\"]\... | elixir | chosen |
[
{
"from": "system",
"value": "Add a handler for status 422\n"
},
{
"from": "human",
"value": "defmodule AtomTweaksWeb.ErrorView do\n use AtomTweaksWeb, :view\n\n def render(\"404.html\", _assigns) do\n \"Page not found\"\n end\n\n def render(\"500.html\", _assigns) do\n \"Internal serv... | elixir | chosen |
[
{
"from": "system",
"value": "Disable warnings about unused variables\n"
},
{
"from": "human",
"value": "defmodule Koans do\n defmacro koan(name, body) do\n compiled_name = String.to_atom(name)\n quote do\n @koans unquote(compiled_name)\n def unquote(compiled_name)() do\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Use fifo strategy for the worker.\n"
},
{
"from": "human",
"value": "_ = \"\"\"\n @file gym_tcp_api.ex\n @author Marcus Edel\n\n GymTcpApi handler.\n\"\"\"\n\ndefmodule GymTcpApi do\n use Application\n\n def start(_type, _args) do\n import Supervisor.Spec\n\... | elixir | chosen |
[
{
"from": "system",
"value": "Move nil check to a to_port implementation\n"
},
{
"from": "human",
"value": "defmodule Phoenix.Endpoint.Server do\n # The supervisor for the underlying handlers.\n @moduledoc false\n\n @handler Phoenix.Endpoint.CowboyHandler\n use Supervisor\n\n def start_link... | elixir | chosen |
[
{
"from": "system",
"value": "Format the error view test\n"
},
{
"from": "human",
"value": "defmodule Tilex.ErrorViewTest do\n use TilexWeb.ConnCase, async: true\n\n # Bring render/3 and render_to_string/3 for testing custom views\n import Phoenix.View\n\n test \"renders 404.html\" do\n a... | elixir | chosen |
[
{
"from": "system",
"value": "Remove escript from elixir app\n"
},
{
"from": "human",
"value": "defmodule Elixir.Mixfile do\n use Mix.Project\n\n def project do\n [app: :elixir,\n version: System.version,\n build_per_environment: false,\n escript: [\n embed_elixir: false,\n... | elixir | chosen |
[
{
"from": "system",
"value": "Move trailing_format_plug into the :api pipeline instead of :before\n"
},
{
"from": "human",
"value": "defmodule MyApp_802337.Router do\n use MyApp_802337.Web, :router\n\n pipeline :before do\n plug TrailingFormatPlug\n end\n\n pipeline :browser do\n plug ... | elixir | chosen |
[
{
"from": "system",
"value": "Add documentation note about args which cross-reference app.start\n"
},
{
"from": "human",
"value": "defmodule Mix.Tasks.Phoenix.Server do\n use Mix.Task\n\n @shortdoc \"Starts applications and their servers\"\n\n @moduledoc \"\"\"\n Starts the application by co... | elixir | chosen |
[
{
"from": "system",
"value": "Add NegatedIfUnless to rule list.\n\nI forgot *again*. We need to resolve #24\n"
},
{
"from": "human",
"value": "defmodule Dogma.Rules do\n\n @doc \"\"\"\n Returns a list of all modules that define a Dogma rule.\n\n In order to add a new rule, you must namespace ... | elixir | chosen |
[
{
"from": "system",
"value": "Use theme names as theme IDs\n"
},
{
"from": "human",
"value": "defmodule Xee.ThemeServer do\n @moduledoc \"\"\"\n The server to store experiment themes.\n \"\"\"\n\n def experiment(name, file: file, host: host, participant: participant) do\n id = Xee.TokenGe... | elixir | chosen |
[
{
"from": "system",
"value": "Add explanation for the first koan\n"
},
{
"from": "human",
"value": "defmodule Equalities do\n use Koans\n\n koan \"We shall contemplate truth by testing reality, via equality\" do\n assert true == ___\n end\n\n koan \"Not something is the opposite of it\" d... | elixir | chosen |
[
{
"from": "system",
"value": "Remove assignee association from preloading\n"
},
{
"from": "human",
"value": "defmodule RemoteRetro.Idea do\n use RemoteRetro.Web, :model\n\n @derive {Poison.Encoder, except: [:__meta__, :retro, :user, :votes]}\n schema \"ideas\" do\n field :category, :string... | elixir | chosen |
[
{
"from": "system",
"value": "Update link to Call API\n"
},
{
"from": "human",
"value": "defmodule ExTwilio.Call do\n @moduledoc \"\"\"\n Represents an Call resource in the Twilio API.\n\n - [Twilio docs](https://www.twilio.com/docs/api/rest/calls)\n \"\"\"\n defstruct sid: nil,\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Refactor controller action to avoid API request failure for non-existent chambers\n"
},
{
"from": "human",
"value": "defmodule WhoWeb.ChamberController do\n use WhoWeb, :controller\n\n alias Who.ProPublicaAPI.Bill\n alias Who.ProPublicaAPI.Chamber\n\n def show(c... | elixir | chosen |
[
{
"from": "system",
"value": "Add a couple of tests\n"
},
{
"from": "human",
"value": "defmodule XandraTest do\n use ExUnit.Case, async: true\n\n test \"options validation in Xandra.start_link/1\" do\n assert_raise NimbleOptions.ValidationError, ~r{invalid node: \"foo:bar\"}, fn ->\n X... | elixir | chosen |
[
{
"from": "system",
"value": "Add pull requests capability to GithubApi wrapper module\n"
},
{
"from": "human",
"value": "defmodule Pullhub.GithubApi do\n require Logger\n\n alias Pullhub.Repo\n\n def user_repositories(nil) do\n nil\n end\n\n def user_repositories(user) do\n Tentacat.... | elixir | chosen |
[
{
"from": "system",
"value": "Use meal summary for meals list\n\nFull meal ingredients and components only for showing a single meal.\n"
},
{
"from": "human",
"value": "defmodule MealprepBackend.V1.MealView do\n use MealprepBackend.Web, :view\n alias MealprepBackend.V1.IngredientView\n\n def ... | elixir | chosen |
[
{
"from": "system",
"value": "Make hex happy with new :link map\n"
},
{
"from": "human",
"value": "defmodule Phoenix.Mixfile do\n use Mix.Project\n\n def project do\n [app: :phoenix,\n version: \"0.5.0\",\n elixir: \"~> 1.0.1 or ~> 1.1\",\n deps: deps,\n package: [\n c... | elixir | chosen |
[
{
"from": "system",
"value": "Update ex_doc to use only: [:docs]\n"
},
{
"from": "human",
"value": "Code.ensure_loaded?(Hex) and Hex.start\n\ndefmodule Phoenix.Mixfile do\n use Mix.Project\n\n def project do\n [\n app: :phoenix,\n version: \"0.2.3\",\n elixir: \"~> 0.13.0\",\... | elixir | chosen |
[
{
"from": "system",
"value": "Add missing metadata field: maintainers\n"
},
{
"from": "human",
"value": "defmodule ExDocEPUB.Mixfile do\n use Mix.Project\n\n @version \"0.0.3\"\n\n def project do\n [app: :ex_doc_epub,\n version: @version,\n elixir: \"~> 1.0\",\n build_embedded:... | elixir | chosen |
[
{
"from": "system",
"value": "Add default value to new column.\n"
},
{
"from": "human",
"value": "defmodule CoursePlanner.Repo.Migrations.AddMinimumTeachingDays do\n use Ecto.Migration\n\n def change do\n alter table(:terms) do\n add :minimum_teaching_days, :integer, null: false\n e... | elixir | chosen |
[
{
"from": "system",
"value": "Update dependency credo to ~> 1.1.0\n"
},
{
"from": "human",
"value": "defmodule Bowser.MixProject do\n use Mix.Project\n\n def project do\n [\n app: :bowser,\n version: \"0.2.0\",\n elixir: \"~> 1.9\",\n start_permanent: Mix.env() == :prod,... | elixir | chosen |
[
{
"from": "system",
"value": "Set minimum Elixir version to 1.1\n"
},
{
"from": "human",
"value": "defmodule Credo.Mixfile do\n use Mix.Project\n\n def project do\n [\n app: :credo,\n version: \"0.3.13\",\n elixir: \"~> 1.0\",\n escript: [main_module: Credo.CLI],\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Remove unused variable from Error.Backend.handle_event/2\n"
},
{
"from": "human",
"value": "defmodule Appsignal.Error.Backend do\n @moduledoc false\n @tracer Application.get_env(:appsignal, :appsignal_tracer, Appsignal.Tracer)\n @span Application.get_env(:appsign... | elixir | chosen |
[
{
"from": "system",
"value": "Fix package description for Hex\n"
},
{
"from": "human",
"value": "defmodule Floki.Mixfile do\n use Mix.Project\n\n def project do\n [app: :floki,\n version: \"0.5.0\",\n name: \"Floki\",\n elixir: \">= 1.0.0\",\n package: package,\n descrip... | elixir | chosen |
[
{
"from": "system",
"value": "Update links definition on hex package description\n\n[ci skip]\n"
},
{
"from": "human",
"value": "defmodule Httparrot.Mixfile do\n use Mix.Project\n\n @description \"\"\"\n HTTP Request & Response Server. An incomplete clone of http://httpbin.org\n \"\"\"\n\n... | elixir | chosen |
[
{
"from": "system",
"value": "Clarify what should be used in place of a two condition `cond`.\n\nAn `if` statement should be recommended when a cond with less than two conditions besides `true` is found."
},
{
"from": "human",
"value": "defmodule Credo.Check.Refactor.CondStatements do\n @module... | elixir | chosen |
[
{
"from": "system",
"value": "Remove Inspect implemenation for Issues\n"
},
{
"from": "human",
"value": "defmodule Credo.Issue do\n defstruct check: nil,\n category: nil,\n priority: 0,\n severity: nil,\n message: nil,\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Set lifetime of a session to 30 days\n"
},
{
"from": "human",
"value": "defmodule Share.Endpoint do\n use Phoenix.Endpoint, otp_app: :share\n\n socket \"/socket\", Share.UserSocket\n\n # Serve at \"/\" the static files from \"priv/static\" directory.\n #\n # Yo... | elixir | chosen |
[
{
"from": "system",
"value": "Add top-level plug to parse json request bodies\n"
},
{
"from": "human",
"value": "defmodule Gateway.Router do\n @moduledoc \"\"\"\n Gateway HTTP Router\n \"\"\"\n use Plug.Router\n\n plug :match\n plug :dispatch\n\n forward \"/apis\", to: Gateway.HTTP.API\ne... | elixir | chosen |
[
{
"from": "system",
"value": "Simplify the code a little\n"
},
{
"from": "human",
"value": "defmodule Blinker do\n use GenServer\n\n def start_link(pin, opts) do\n {:ok, pid} = Gpio.start_link(pin, :output)\n GenServer.start_link(__MODULE__, pid, opts)\n blink_forever(pid)\n end\n\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Use the new DynamicSupervisor instead of :simple_one_for_one\n\nThis is the interface that will be used in Elixir in the near future.\n\nSee: https://github.com/elixir-lang/gen_stage/issues/12\n"
},
{
"from": "human",
"value": "defmodule Gullintanni.Pipeline.Supervi... | elixir | chosen |
[
{
"from": "system",
"value": "Use Compat.to_charlist instead of Kernel.to_charlist to retain compatibility\n"
},
{
"from": "human",
"value": "defmodule SMPPEX.Pdu.TONNPIDefaults do\n @moduledoc \"\"\"\n Module for automatic TON/NPI detection\n \"\"\"\n\n @digits ?0..?9\n\n @short_code 3..8\... | elixir | chosen |
[
{
"from": "system",
"value": "Use url generated by Fitbit strategy module\n"
},
{
"from": "human",
"value": "defmodule MyApp_808732.AuthController do\n use MyApp_808732.Web, :controller\n\n def index(conn, _params) do\n redirect conn, external: \"https://www.fitbit.com/oauth2/authorize\"\n ... | elixir | chosen |
[
{
"from": "system",
"value": "Add authorization plug to course matrix controller\n"
},
{
"from": "human",
"value": "defmodule CoursePlanner.CourseMatrixController do\n @moduledoc false\n use CoursePlanner.Web, :controller\n\n alias CoursePlanner.OfferedCourses\n\n def index(conn, %{\"term_id... | elixir | chosen |
[
{
"from": "system",
"value": "Replace unknown calendar type with String | integer | nil\n"
},
{
"from": "human",
"value": "defmodule Elixlsx.Workbook do\n @moduledoc ~S\"\"\"\n Root structure for excel files. Must contain at least one\n Elixlsx.Sheet object.\n\n The datetime property can opt... | elixir | chosen |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7