author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
437,036 | 21.02.2020 20:45:33 | 18,000 | a555ba2ee43a2bcd9d2676edb0d0b04f40e9622c | Don't hardcode the current class in Nanoc::Checking::Check | [
{
"change_type": "MODIFY",
"old_path": "nanoc-checking/lib/nanoc/checking/check.rb",
"new_path": "nanoc-checking/lib/nanoc/checking/check.rb",
"diff": "@@ -18,7 +18,7 @@ module Nanoc\nattr_reader :issues\ndef self.define(ident, &block)\n- klass = Class.new(::Nanoc::Checking::Check) { identifier(iden... | Ruby | MIT License | nanoc/nanoc | Don't hardcode the current class in Nanoc::Checking::Check |
437,037 | 02.05.2020 17:43:47 | -7,200 | c7196ea5a34984ad789d87b22b04b39b9fff7ee4 | Fixed 'nanoc()' Sass function definition | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/filters/sass/functions.rb",
"new_path": "nanoc/lib/nanoc/filters/sass/functions.rb",
"diff": "# frozen_string_literal: true\nmodule ::Sass::Script::Functions\n- def nanoc(string, params)\n+ def nanoc(string, params = {})\nassert_type string, :S... | Ruby | MIT License | nanoc/nanoc | Fixed 'nanoc()' Sass function definition |
437,026 | 17.06.2020 14:42:23 | -28,800 | 3ef38b7a2d5bff54f68106c8794778bd70c4f82d | Update nanoc-cli/spec/nanoc/cli/stream_cleaners/utf8_spec.rb | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/spec/nanoc/cli/stream_cleaners/utf8_spec.rb",
"new_path": "nanoc-cli/spec/nanoc/cli/stream_cleaners/utf8_spec.rb",
"diff": "@@ -9,7 +9,7 @@ describe Nanoc::CLI::StreamCleaners::UTF8 do\nit 'does not attempt to clean the string' do\nexpect(str).not_to... | Ruby | MIT License | nanoc/nanoc | Update nanoc-cli/spec/nanoc/cli/stream_cleaners/utf8_spec.rb
Co-authored-by: Denis Defreyne <denis@denis.ws> |
437,026 | 17.06.2020 14:42:30 | -28,800 | bdbee4d406df8e25971893d8a5990abd22839124 | Update nanoc-cli/lib/nanoc/cli/stream_cleaners/utf8.rb | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/stream_cleaners/utf8.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/stream_cleaners/utf8.rb",
"diff": "@@ -8,7 +8,7 @@ module Nanoc\nclass UTF8 < Abstract\n# @see Nanoc::CLI::StreamCleaners::Abstract#clean\ndef clean(str)\n- return unless st... | Ruby | MIT License | nanoc/nanoc | Update nanoc-cli/lib/nanoc/cli/stream_cleaners/utf8.rb
Co-authored-by: Denis Defreyne <denis@denis.ws> |
437,040 | 11.01.2022 17:33:42 | -3,600 | b3755eca87b4372c8755dfc170f38653fb15a710 | add Date to the list of permitted classes for YAML | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/data_sources/filesystem/parser.rb",
"new_path": "nanoc/lib/nanoc/data_sources/filesystem/parser.rb",
"diff": "class Nanoc::DataSources::Filesystem\nclass Parser\nSEPARATOR = /(-{5}|-{3})/.source\n+ PERMITTED_YAML_CLASSES = [Symbol, Date]\nclass... | Ruby | MIT License | nanoc/nanoc | add Date to the list of permitted classes for YAML |
437,030 | 18.01.2022 20:11:35 | -32,400 | ebd7c4338fcda191c792eaf82b954e6476956820 | Add Time to the list of permitted classes for YAML | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/data_sources/filesystem/parser.rb",
"new_path": "nanoc/lib/nanoc/data_sources/filesystem/parser.rb",
"diff": "class Nanoc::DataSources::Filesystem\nclass Parser\nSEPARATOR = /(-{5}|-{3})/.source\n- PERMITTED_YAML_CLASSES = [Symbol, Date].freeze... | Ruby | MIT License | nanoc/nanoc | Add Time to the list of permitted classes for YAML |
437,033 | 19.08.2022 09:50:31 | 18,000 | aab761e79cb6b62d8e25a44dedd29e35d9a6a6b4 | Fix (by disabling) Lint/RedundantCopDisableDirective | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/cleaning_stream.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/cleaning_stream.rb",
"diff": "@@ -139,11 +139,11 @@ module Nanoc\nend\n# @see ARGF.set_encoding\n- # rubocop:disable Naming/AccessorMethodName\n+ # rubocop:disable Naming/Accesso... | Ruby | MIT License | nanoc/nanoc | Fix (by disabling) Lint/RedundantCopDisableDirective |
437,033 | 19.08.2022 17:53:30 | 18,000 | 4ae9bdb1da6d4a5010c55e1aa833d6ad7320db24 | Update rubocop version and remove obsolete gem refs | [
{
"change_type": "MODIFY",
"old_path": ".rubocop.yml",
"new_path": ".rubocop.yml",
"diff": "@@ -345,9 +345,6 @@ Lint/RedundantDirGlobSort: # (new in 1.8)\nStyle/EndlessMethod: # (new in 1.8)\nEnabled: true\n-Gemspec/DateAssignment: # (new in 1.10)\n- Enabled: true\n-\nLint/NumberedParameterAssignmen... | Ruby | MIT License | nanoc/nanoc | Update rubocop version and remove obsolete gem refs |
437,034 | 05.11.2022 14:47:14 | -3,600 | c267c6d7f01a5da5cc0bd6417ecdd0ed935f04c3 | Remove redundant Pattern.from
This call will break memoization of #find_all, as a Pattern is not memoizable well (it should really implement #eql? and #== etc, but does not at the moment).
This should speed things up slightly. Or a lot. To be seen. | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/outdatedness_checker.rb",
"new_path": "nanoc-core/lib/nanoc/core/outdatedness_checker.rb",
"diff": "@@ -149,8 +149,7 @@ module Nanoc\nwhen Enumerable\n# If the `raw_content` dependency prop is a collection, then this\n# is a dependenc... | Ruby | MIT License | nanoc/nanoc | Remove redundant Pattern.from
This call will break memoization of #find_all, as a Pattern is not memoizable well (it should really implement #eql? and #== etc, but does not at the moment).
This should speed things up slightly. Or a lot. To be seen. |
437,034 | 05.11.2022 16:00:41 | -3,600 | 27c6616f34cbf174ec8cb640c2206df2c032a8da | Enable new Style/RedundantEach cop | [
{
"change_type": "MODIFY",
"old_path": ".rubocop.yml",
"new_path": ".rubocop.yml",
"diff": "@@ -573,6 +573,9 @@ RSpec/Rails/InferredSpecType: # new in 2.14\nMinitest/EmptyLineBeforeAssertionMethods: # new in 0.23\nEnabled: true\n+Style/RedundantEach: # new in 1.38\n+ Enabled: true\n+\n# ----- TO ENA... | Ruby | MIT License | nanoc/nanoc | Enable new Style/RedundantEach cop |
437,034 | 05.11.2022 15:20:57 | -3,600 | 7a18797a70f6d37160f3e4cfdf6e2134e6e294d1 | Let #[] create single-item dependencies if possible | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/spec/spec_helper.rb",
"new_path": "nanoc-cli/spec/spec_helper.rb",
"diff": "@@ -38,7 +38,7 @@ Class.new(Nanoc::Core::ActionProvider) do\nend\ndef preprocess(site)\n- item = site.items['/hello.*']\n+ item = site.items.object_matching_glob('/hello.*')\... | Ruby | MIT License | nanoc/nanoc | Let #[] create single-item dependencies if possible |
437,034 | 05.11.2022 15:56:14 | -3,600 | 7bd3b4a1d0b79247f6b5bf01ccd863cde5f22460 | Remove IdentifiableCollection#[] | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/basic_item_view.rb",
"new_path": "nanoc-core/lib/nanoc/core/basic_item_view.rb",
"diff": "@@ -34,7 +34,7 @@ module Nanoc\nparent_identifier = '/' + _unwrap.identifier.components[0..-2].join('/') + '/'\nparent_identifier = '/' if paren... | Ruby | MIT License | nanoc/nanoc | Remove IdentifiableCollection#[] |
437,034 | 05.11.2022 21:24:51 | -3,600 | f73650b526b2944f8fa549104191aa91c5d3b9a6 | Add tests for #object_with_identifier and #object_matching_glob | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/spec/nanoc/core/identifiable_collection_spec.rb",
"new_path": "nanoc-core/spec/nanoc/core/identifiable_collection_spec.rb",
"diff": "@@ -19,6 +19,118 @@ describe Nanoc::Core::IdentifiableCollection do\nit { is_expected.to eq(\"<#{described_class}>\"... | Ruby | MIT License | nanoc/nanoc | Add tests for #object_with_identifier and #object_matching_glob |
437,034 | 06.11.2022 10:43:55 | -3,600 | 5dee3d781d49f1e861a78b414448830d17ed36d7 | Refactor: Move store-loading instrumentation into Store | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/compilation_stages/load_stores.rb",
"new_path": "nanoc-core/lib/nanoc/core/compilation_stages/load_stores.rb",
"diff": "@@ -16,18 +16,11 @@ module Nanoc\ncontract C::None => C::Any\ndef run\n- load_store(@checksum_store)\n- load_store... | Ruby | MIT License | nanoc/nanoc | Refactor: Move store-loading instrumentation into Store |
437,034 | 06.11.2022 10:49:58 | -3,600 | a45d2b5ddbb2047800d81957980c6f0d8d14162c | Instrument store stores | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/compile_listeners/timing_recorder.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/compile_listeners/timing_recorder.rb",
"diff": "@@ -21,6 +21,7 @@ module Nanoc::CLI::CompileListeners\n@outdatedness_rules_summary = DDMetrics::Summary.new\n@fi... | Ruby | MIT License | nanoc/nanoc | Instrument store stores |
437,034 | 06.11.2022 12:16:10 | -3,600 | bbd76d32a67b90044bf491a6b2b9e8c96e23194c | Use Marshal.{load,dump} instead of PStore | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/spec/nanoc/core/store_spec.rb",
"new_path": "nanoc-core/spec/nanoc/core/store_spec.rb",
"diff": "@@ -89,7 +89,7 @@ describe Nanoc::Core::Store do\nend\nit 'deletes and reloads on error' do\n- store = test_store_klass.new('test.db', 1)\n+ store = tes... | Ruby | MIT License | nanoc/nanoc | Use Marshal.{load,dump} instead of PStore |
437,034 | 06.11.2022 12:52:48 | -3,600 | fa9bea96110bd7d407c4b0c7affa12dba83df2c0 | Refactor: Make all #*_uninstrumented private | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/store.rb",
"new_path": "nanoc-core/lib/nanoc/core/store.rb",
"diff": "@@ -83,17 +83,6 @@ module Nanoc\nend\nend\n- def load_uninstrumented\n- unsafe_load_uninstrumented\n- rescue\n- # An error occurred! Remove the database and try aga... | Ruby | MIT License | nanoc/nanoc | Refactor: Make all #*_uninstrumented private |
437,034 | 12.11.2022 11:30:52 | -3,600 | 1d20fea448edaa32b76cb87e2d383738c6907017 | Set version to 4.12.11 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"diff": "module Nanoc\nmodule CLI\n- VERSION = '4.12.10'\n+ VERSION = '4.12.11'\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core... | Ruby | MIT License | nanoc/nanoc | Set version to 4.12.11 |
437,034 | 14.11.2022 19:59:58 | -3,600 | d9950b89831653898f4f8eeada263e8a99e2e336 | Fix cycle detection in item rep selector | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/errors.rb",
"new_path": "nanoc-core/lib/nanoc/core/errors.rb",
"diff": "@@ -72,10 +72,7 @@ module Nanoc\n# Error that is raised during site compilation when an item (directly or\n# indirectly) includes its own item content, leading to... | Ruby | MIT License | nanoc/nanoc | Fix cycle detection in item rep selector |
437,034 | 15.11.2022 09:42:25 | -3,600 | f013149fd846ef88b3a53e305a824f16c0483d56 | Set version to 4.12.12 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"diff": "module Nanoc\nmodule CLI\n- VERSION = '4.12.11'\n+ VERSION = '4.12.12'\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core... | Ruby | MIT License | nanoc/nanoc | Set version to 4.12.12 |
437,034 | 15.11.2022 20:05:55 | -3,600 | e0545ac847f24b92521854af50a95bfbd3353d97 | Prevent double slash when using extra_files | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/data_sources/filesystem/tools.rb",
"new_path": "nanoc/lib/nanoc/data_sources/filesystem/tools.rb",
"diff": "@@ -111,9 +111,9 @@ class Nanoc::DataSources::Filesystem < Nanoc::DataSource\nwhen nil\n[]\nwhen String\n- [\"#{dir_name}/#{extra_files}... | Ruby | MIT License | nanoc/nanoc | Prevent double slash when using extra_files |
437,034 | 20.11.2022 10:04:30 | -3,600 | ccf81608f8a3ba3b7a0cdddfcac48a3d85886d16 | Gracefully handle non-existant dir in `nanoc listen` | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/data_sources/filesystem.rb",
"new_path": "nanoc/lib/nanoc/data_sources/filesystem.rb",
"diff": "@@ -94,9 +94,11 @@ module Nanoc::DataSources\nrequire 'listen'\nNanoc::Core::ChangesStream.new do |cl|\n- if dir\n+ full_dir = dir ? File.expand_pat... | Ruby | MIT License | nanoc/nanoc | Gracefully handle non-existant dir in `nanoc listen` |
437,034 | 29.11.2022 19:06:45 | -3,600 | 5f54725f98dbb6dc438994f0f3a24430e237ce12 | Let CleaningStream forward #closed? | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/cleaning_stream.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/cleaning_stream.rb",
"diff": "@@ -103,6 +103,11 @@ module Nanoc\n@stream.close\nend\n+ # @see IO#closed?\n+ def closed?\n+ @stream.closed?\n+ end\n+\n# @see File#exist?\ndef exis... | Ruby | MIT License | nanoc/nanoc | Let CleaningStream forward #closed? |
437,034 | 29.11.2022 20:45:29 | -3,600 | b592d9a74701a1de50979a52116cfb51ed14e1c5 | Add missing nil assertion in item rep prio queue spec | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/spec/nanoc/core/item_rep_selector/item_rep_priority_queue_spec.rb",
"new_path": "nanoc-core/spec/nanoc/core/item_rep_selector/item_rep_priority_queue_spec.rb",
"diff": "@@ -39,6 +39,8 @@ describe Nanoc::Core::ItemRepSelector::ItemRepPriorityQueue do... | Ruby | MIT License | nanoc/nanoc | Add missing nil assertion in item rep prio queue spec |
437,034 | 30.11.2022 08:55:12 | -3,600 | d34278e50e466ef1c1cb8df66293f35a6b663d85 | Set version to 4.12.13 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"diff": "module Nanoc\nmodule CLI\n- VERSION = '4.12.12'\n+ VERSION = '4.12.13'\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core... | Ruby | MIT License | nanoc/nanoc | Set version to 4.12.13 |
437,034 | 01.12.2022 21:29:01 | -3,600 | b5f5c0a4549f50a22a3ed943fd74b478f4f8d80a | Let Store#store support large amounts of data | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/spec/nanoc/core/store_spec.rb",
"new_path": "nanoc-core/spec/nanoc/core/store_spec.rb",
"diff": "@@ -109,4 +109,25 @@ describe Nanoc::Core::Store do\nstore.load\nexpect(store.data).to be_nil\nend\n+\n+ it 'can write humongous amounts of data' do\n+ ... | Ruby | MIT License | nanoc/nanoc | Let Store#store support large amounts of data |
437,034 | 03.12.2022 12:34:27 | -3,600 | b859b61e74fc2c4c57159d5bdf5a905df59ecb9d | Let Store compress data | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core.rb",
"new_path": "nanoc-core/lib/nanoc/core.rb",
"diff": "@@ -7,6 +7,7 @@ require 'pstore'\nrequire 'singleton'\nrequire 'tmpdir'\nrequire 'yaml'\n+require 'zlib'\n# External gems\nrequire 'concurrent-ruby'\n"
},
{
"change_typ... | Ruby | MIT License | nanoc/nanoc | Let Store compress data |
437,034 | 03.12.2022 20:40:19 | -3,600 | 5d5660e87da74b74f649f518a01ebbf901f97142 | Bump store versions | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/action_sequence_store.rb",
"new_path": "nanoc-core/lib/nanoc/core/action_sequence_store.rb",
"diff": "@@ -11,7 +11,7 @@ module Nanoc\ncontract C::KeywordArgs[config: Nanoc::Core::Configuration] => C::Any\ndef initialize(config:)\n- su... | Ruby | MIT License | nanoc/nanoc | Bump store versions |
437,034 | 03.12.2022 20:44:59 | -3,600 | c1d614d7dd271ed6c256e9af7aa8cae6ca744bc6 | Test on Ruby 3.2 preview 3 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ruby.yml",
"new_path": ".github/workflows/ruby.yml",
"diff": "@@ -16,7 +16,7 @@ jobs:\nstrategy:\nfail-fast: false\nmatrix:\n- ruby-version: [\"2.7\", \"3.0\", \"3.1\"]\n+ ruby-version: [\"2.7\", \"3.0\", \"3.1\", \"3.2.0-preview3\"]\nsteps:\... | Ruby | MIT License | nanoc/nanoc | Test on Ruby 3.2 preview 3 |
437,034 | 03.12.2022 21:06:27 | -3,600 | 51a5758868927b4638b1e6e91fcb922caf20371f | Set version to 4.12.14 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"diff": "module Nanoc\nmodule CLI\n- VERSION = '4.12.13'\n+ VERSION = '4.12.14'\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core... | Ruby | MIT License | nanoc/nanoc | Set version to 4.12.14 |
437,034 | 03.12.2022 21:06:51 | -3,600 | 6d2ee86d566156acd3caf2f834e41036e9f65782 | Add release notes for 4.12.14 | [
{
"change_type": "MODIFY",
"old_path": "nanoc/NEWS.md",
"new_path": "nanoc/NEWS.md",
"diff": "# Nanoc news\n+## 4.12.14 (2022-12-03)\n+\n+Fixes:\n+\n+- Fixed an issue which would cause `Invalid argument @ io_write` on larger sites (#1636)\n+\n+Enhancements:\n+\n+- Made Nanoc store temporary data (in... | Ruby | MIT License | nanoc/nanoc | Add release notes for 4.12.14 |
437,034 | 17.12.2022 11:50:03 | -3,600 | a36ef601e32de8131d04b953ac6f256cccdde07e | Fix Rubocop offense: Use safe navigation operator | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli.rb",
"new_path": "nanoc-cli/lib/nanoc/cli.rb",
"diff": "@@ -181,7 +181,7 @@ module Nanoc\npieces = pieces[0, pieces.size - 1] || []\nroot = Nanoc::CLI.root_command\nsupercommand = pieces.reduce(root) do |cmd, piece|\n- cmd.nil? ? nil : ... | Ruby | MIT License | nanoc/nanoc | Fix Rubocop offense: Use safe navigation operator |
437,034 | 17.12.2022 12:04:52 | -3,600 | f13269568042799046e028aa601fcb507f5e319f | nanoc-dart-sass: Add release notes for 1.0.0 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-dart-sass/NEWS.md",
"new_path": "nanoc-dart-sass/NEWS.md",
"diff": "# nanoc-dart-sass news\n+## 1.0.0 (2022-12-17)\n+\n+Initial release.\n+\n+Fixes:\n+\n+- Apply Sass syntax detection logic to dependencies (#1630) [ntkme]\n+\n## 0.0.1 (2022-11-20)\nIniti... | Ruby | MIT License | nanoc/nanoc | nanoc-dart-sass: Add release notes for 1.0.0 |
437,034 | 29.01.2023 09:17:04 | -3,600 | 69f30401e86aa20175c2733718f2c3ae73170ed2 | Fix broken pygmentize test | [
{
"change_type": "MODIFY",
"old_path": "nanoc/test/filters/colorize_syntax/test_pygmentize.rb",
"new_path": "nanoc/test/filters/colorize_syntax/test_pygmentize.rb",
"diff": "@@ -30,7 +30,7 @@ class Nanoc::Filters::ColorizeSyntax::PygmentizeTest < Nanoc::TestCase\n# Get input and expected output\ninp... | Ruby | MIT License | nanoc/nanoc | Fix broken pygmentize test |
437,034 | 29.01.2023 09:23:31 | -3,600 | 0e0c8fe8e2174bc6f8e5f38ecc6402fabd481777 | Update Rubocop to-do list | [
{
"change_type": "MODIFY",
"old_path": ".rubocop_todo.yml",
"new_path": ".rubocop_todo.yml",
"diff": "# This configuration was generated by\n# `rubocop --auto-gen-config --exclude-limit 300`\n-# on 2022-10-22 10:39:05 UTC using RuboCop version 1.37.0.\n+# on 2023-01-29 08:22:38 UTC using RuboCop ver... | Ruby | MIT License | nanoc/nanoc | Update Rubocop to-do list |
437,034 | 29.01.2023 09:30:21 | -3,600 | a2d56d3217fd4e0ed65cbf107a4dce42e7e83c7b | Clean up max-mtime calculations | [
{
"change_type": "MODIFY",
"old_path": "nanoc/lib/nanoc/data_sources/filesystem.rb",
"new_path": "nanoc/lib/nanoc/data_sources/filesystem.rb",
"diff": "@@ -284,15 +284,11 @@ module Nanoc::DataSources\ndef mtime_of(content_filename, meta_filename)\nmeta_mtime = meta_filename ? File.stat(meta_filename... | Ruby | MIT License | nanoc/nanoc | Clean up max-mtime calculations |
437,034 | 29.01.2023 09:30:42 | -3,600 | 845f1fdb7ee742256ab3be47e74167a187af6a8a | Fix some more Rubocop warnings | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/spec/nanoc/core/outdatedness_checker_spec.rb",
"new_path": "nanoc-core/spec/nanoc/core/outdatedness_checker_spec.rb",
"diff": "# frozen_string_literal: true\n-# rubocop:disable RSpec/MultipleMemoizedHelpers\ndescribe Nanoc::Core::OutdatednessChecker... | Ruby | MIT License | nanoc/nanoc | Fix some more Rubocop warnings |
437,034 | 29.01.2023 09:34:56 | -3,600 | bee70b6caa178326c7a8443357b1a6a8cc6e641b | Fix Rubocop offenses with safe autocorrection
The safe autocorrection required me to move the contracts around still, though. | [
{
"change_type": "MODIFY",
"old_path": ".rubocop_todo.yml",
"new_path": ".rubocop_todo.yml",
"diff": "@@ -13,19 +13,6 @@ Gemspec/RequiredRubyVersion:\nExclude:\n- 'guard-nanoc/guard-nanoc.gemspec'\n-# Offense count: 6\n-# This cop supports safe autocorrection (--autocorrect).\n-# Configuration param... | Ruby | MIT License | nanoc/nanoc | Fix Rubocop offenses with safe autocorrection
The safe autocorrection required me to move the contracts around still, though. |
437,034 | 29.01.2023 09:35:43 | -3,600 | 260271944f66d943b71a0780290cacd1e187969c | Fix Rubocop Style/CaseLikeIf offense | [
{
"change_type": "MODIFY",
"old_path": "nanoc-checking/lib/nanoc/checking/checks/external_links.rb",
"new_path": "nanoc-checking/lib/nanoc/checking/checks/external_links.rb",
"diff": "@@ -71,7 +71,8 @@ module Nanoc\nnext\nend\n- if /^3..$/.match?(res.code)\n+ case res.code\n+ when /^3..$/\nif i == 4... | Ruby | MIT License | nanoc/nanoc | Fix Rubocop Style/CaseLikeIf offense |
437,034 | 29.01.2023 09:38:06 | -3,600 | 207aa93fa41d8b30c134b4b2b323bcdc10466bd0 | Fix Rubocop Style/RedundantFetchBlock offenses | [
{
"change_type": "MODIFY",
"old_path": ".rubocop_todo.yml",
"new_path": ".rubocop_todo.yml",
"diff": "@@ -675,15 +675,6 @@ Style/RedundantArgument:\n- 'nanoc/spec/nanoc/core/checksummer_spec.rb'\n- 'nanoc/spec/nanoc/helpers/capturing_spec.rb'\n-# Offense count: 3\n-# This cop supports unsafe autocor... | Ruby | MIT License | nanoc/nanoc | Fix Rubocop Style/RedundantFetchBlock offenses |
437,034 | 29.01.2023 09:39:28 | -3,600 | bf6755a7ce05fcaf514cfc6e2cd6881fbe54620a | Fix Rubocop Style/SlicingWithRange offenses | [
{
"change_type": "MODIFY",
"old_path": ".rubocop_todo.yml",
"new_path": ".rubocop_todo.yml",
"diff": "@@ -703,18 +703,6 @@ Style/RedundantInitialize:\n- 'nanoc/test/helpers/test_capturing.rb'\n- 'nanoc/test/helpers/test_xml_sitemap.rb'\n-# Offense count: 12\n-# This cop supports unsafe autocorrectio... | Ruby | MIT License | nanoc/nanoc | Fix Rubocop Style/SlicingWithRange offenses |
437,034 | 29.01.2023 09:43:02 | -3,600 | 8bc53752c6d7bf751a2a2e2e2f0492d912aa34a6 | Make Pygmentize test more robust
This should make it support multiple versions. | [
{
"change_type": "MODIFY",
"old_path": "nanoc/test/filters/colorize_syntax/test_pygmentize.rb",
"new_path": "nanoc/test/filters/colorize_syntax/test_pygmentize.rb",
"diff": "@@ -30,12 +30,12 @@ class Nanoc::Filters::ColorizeSyntax::PygmentizeTest < Nanoc::TestCase\n# Get input and expected output\ni... | Ruby | MIT License | nanoc/nanoc | Make Pygmentize test more robust
This should make it support multiple versions. |
437,034 | 29.01.2023 10:22:05 | -3,600 | 16e5acee0c4f40713f5610bdaeb5792ba67b2d34 | Test on released Ruby 3.2 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ruby.yml",
"new_path": ".github/workflows/ruby.yml",
"diff": "@@ -16,7 +16,7 @@ jobs:\nstrategy:\nfail-fast: false\nmatrix:\n- ruby-version: [\"2.7\", \"3.0\", \"3.1\", \"3.2.0-preview3\"]\n+ ruby-version: [\"2.7\", \"3.0\", \"3.1\", \"3.2\"]... | Ruby | MIT License | nanoc/nanoc | Test on released Ruby 3.2 |
437,034 | 05.02.2023 12:45:35 | -3,600 | c9f50a52ecb4baf942fbdbc0d4281e1c0da09b5c | Fix broken {Item,Layout}#reference | [
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core/item.rb",
"new_path": "nanoc-core/lib/nanoc/core/item.rb",
"diff": "@@ -6,6 +6,13 @@ module Nanoc\ndef reference\n@_reference ||= \"item:#{identifier}\"\nend\n+\n+ def identifier=(new_identifier)\n+ super(new_identifier)\n+\n+ # Inval... | Ruby | MIT License | nanoc/nanoc | Fix broken {Item,Layout}#reference |
437,034 | 06.02.2023 09:39:44 | -3,600 | 6f80fb253cbfdfa6cacc75545a9f79ade271d1bc | Set version to 4.12.15 | [
{
"change_type": "MODIFY",
"old_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"new_path": "nanoc-cli/lib/nanoc/cli/version.rb",
"diff": "module Nanoc\nmodule CLI\n- VERSION = '4.12.14'\n+ VERSION = '4.12.15'\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "nanoc-core/lib/nanoc/core... | Ruby | MIT License | nanoc/nanoc | Set version to 4.12.15 |
437,034 | 06.02.2023 09:39:50 | -3,600 | f14166910059ab7150072ba89be3b8dd3e7654c4 | Add release notes for 4.12.15 | [
{
"change_type": "MODIFY",
"old_path": "nanoc/NEWS.md",
"new_path": "nanoc/NEWS.md",
"diff": "# Nanoc news\n+## 4.12.15 (2023-02-06)\n+\n+Fixes:\n+\n+- Fixed an issue which made items always be considered outdated in sites with data sources with a custom `items_root` defined (#1640, #1644)\n+\n## 4.... | Ruby | MIT License | nanoc/nanoc | Add release notes for 4.12.15 |
536,281 | 17.01.2017 18:05:04 | 18,000 | f42d1411866d3fc5118247ed7de4d57de8f57aee | Allow passing a custom authorizer to pusher config | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/channels/private_channel_spec.js",
"new_path": "spec/javascripts/unit/core/channels/private_channel_spec.js",
"diff": "@@ -7,6 +7,7 @@ var Mocks = require(\"mocks\");\ndescribe(\"PrivateChannel\", function() {\nvar pusher;\nvar chann... | JavaScript | MIT License | pusher/pusher-js | Allow passing a custom authorizer to pusher config |
536,281 | 17.01.2017 18:09:47 | 18,000 | b4f85781323a103fe728127ad30123e97742cd19 | Add authorizer param to docs | [
{
"change_type": "MODIFY",
"old_path": "README.markdown",
"new_path": "README.markdown",
"diff": "@@ -156,6 +156,23 @@ var pusher = new Pusher(API_KEY, {\n});\n```\n+#### `authorizer` (Function)\n+\n+If you need custom authorization behavior you can provide your own `authorizer` function as follows:... | JavaScript | MIT License | pusher/pusher-js | Add authorizer param to docs |
536,287 | 05.04.2017 15:50:04 | -3,600 | 570401172ee7cdd8aa7745782eb056aa84472e0d | Fix inconsistent naming of pusher/socket object in README | [
{
"change_type": "MODIFY",
"old_path": "README.markdown",
"new_path": "README.markdown",
"diff": "@@ -102,7 +102,7 @@ Notes:\n## Initialization\n```js\n-var pusher = new Pusher(APP_KEY);\n+var socket = new Pusher(APP_KEY);\n```\n## Configuration\n@@ -110,7 +110,7 @@ var pusher = new Pusher(APP_KEY);... | JavaScript | MIT License | pusher/pusher-js | Fix inconsistent naming of pusher/socket object in README |
536,288 | 11.04.2017 11:05:58 | -3,600 | 4f06772af4c4d2877c8fcf9938111652fa574319 | Mention cdnjs as an alternative in CDN section | [
{
"change_type": "MODIFY",
"old_path": "README.markdown",
"new_path": "README.markdown",
"diff": "@@ -39,6 +39,8 @@ If you're using PusherJS on a web page, you can install the library via:\n<script src=\"//js.pusher.com/4.0/pusher.min.js\"></script>\n```\n+You can also use [cdnjs.com](https://cdnjs.... | JavaScript | MIT License | pusher/pusher-js | Mention cdnjs as an alternative in CDN section |
536,294 | 13.04.2017 13:31:26 | -7,200 | 5682bc50b835d3189be9ed0ea28a5eecc425f6c3 | Change .done() to .then() in react-native
Calling .done() crashed app on with .done undefined. | [
{
"change_type": "MODIFY",
"old_path": "src/runtimes/react-native/net_info.ts",
"new_path": "src/runtimes/react-native/net_info.ts",
"diff": "@@ -14,7 +14,7 @@ export class NetInfo extends EventsDispatcher implements Reachability {\nsuper();\nthis.online = true;\n- NativeNetInfo.fetch().done((connec... | JavaScript | MIT License | pusher/pusher-js | Change .done() to .then() in react-native
Calling .done() crashed app on react-native@0.42.3 with .done undefined. |
536,299 | 25.05.2016 12:08:42 | -7,200 | dc84855173c15005f8676ebf592a16c1de8a77c3 | replace main file with node pusher version instead of browser pusher version | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"name\": \"pusher-js\",\n\"version\": \"4.0.0\",\n\"description\": \"Pusher JavaScript library for browsers, React Native, NodeJS and web workers\",\n- \"main\": \"dist/web/pusher.js\",\n+ \"main\": \"dist/n... | JavaScript | MIT License | pusher/pusher-js | replace main file with node pusher version instead of browser pusher version |
536,288 | 20.04.2017 11:06:02 | -3,600 | 3d46f6b0c35af4ef3516c22654be8de300923915 | Mention version 4.1 in the readme | [
{
"change_type": "MODIFY",
"old_path": "README.markdown",
"new_path": "README.markdown",
"diff": "@@ -36,7 +36,7 @@ If you're using PusherJS on a web page, you can install the library via:\n#### CDN\n```html\n-<script src=\"//js.pusher.com/4.0/pusher.min.js\"></script>\n+<script src=\"//js.pusher.co... | JavaScript | MIT License | pusher/pusher-js | Mention version 4.1 in the readme |
536,288 | 20.04.2017 13:49:48 | -3,600 | 1ea5cb322e0d97fc19a08bd43712f239867a2115 | Remove demos
The demos don't work, they're old and we have tutorials and demos
elsewhere already. | [
{
"change_type": "DELETE",
"old_path": "demos/light/app.js",
"new_path": null,
"diff": "-$().ready(function(){\n- var socket = new Pusher('0eb73a235dd03b3df71a');\n- var nextConnectionAttempt = null;\n-\n- socket.connection.bind('connecting_in', function(data) {\n- updateLight('amber');\n- updateCon... | JavaScript | MIT License | pusher/pusher-js | Remove demos
The demos don't work, they're old and we have tutorials and demos
elsewhere already. |
536,288 | 20.04.2017 13:52:59 | -3,600 | a942afedaa1a3a51b556fc50e4690229b214c74b | Remove unused JSHint config | [
{
"change_type": "DELETE",
"old_path": ".jshintignore",
"new_path": null,
"diff": "-src/base64.js\n"
},
{
"change_type": "DELETE",
"old_path": "jshint-config.json",
"new_path": null,
"diff": "-{\n- \"passfail\" : false,\n- \"maxerr\" : 100,\n- \"debug\" : false,\n- \"devel\" : tr... | JavaScript | MIT License | pusher/pusher-js | Remove unused JSHint config |
536,288 | 20.04.2017 14:42:49 | -3,600 | 51847bb3f07542fcc9df9c83e899ca7b585fcc00 | Update overview to have links | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -10,20 +10,23 @@ If you're looking for the Pusher server library for Node.js, use\nThe following topics are covered:\n-* Supported runtimes and installation\n- * Web\n- * React Native\n- * Web Workers\n- * NodeJ... | JavaScript | MIT License | pusher/pusher-js | Update overview to have links |
536,288 | 20.04.2017 14:45:20 | -3,600 | aadb928da9dd4d865cb9e84997f19b0cfd5985c9 | Nest development section and add docs link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -6,6 +6,9 @@ React Native.\nIf you're looking for the Pusher server library for Node.js, use\n[pusher-http-node](https://github.com/pusher/pusher-http-node) instead.\n+For tutorials and more in-depth information... | JavaScript | MIT License | pusher/pusher-js | Nest development section and add docs link |
536,302 | 31.05.2017 17:56:26 | -3,600 | 3e4adc94736d9f847f6993c01c2ebc35d643ab60 | Include cluster in each example of socket creation
...and tidy up a few other inconsistencies | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -118,10 +118,12 @@ Notes:\n## Initialization\n```js\n-const socket = new Pusher(APP_KEY);\n+const socket = new Pusher(APP_KEY, {\n+ cluster: APP_CLUSTER,\n+});\n```\n-You can get your app key from the [Pusher da... | JavaScript | MIT License | pusher/pusher-js | Include cluster in each example of socket creation
...and tidy up a few other inconsistencies |
536,302 | 01.06.2017 11:21:47 | -3,600 | 5a24092065f374103b0e8ba31254138bef00b1d7 | Fix double declaration of cluster | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -202,10 +202,8 @@ const pusher = new Pusher(APP_KEY, {\nAllows connecting to a different datacenter by setting up correct hostnames and ports for the connection.\n```js\n-// Connect to the EU cluster:\nconst soc... | JavaScript | MIT License | pusher/pusher-js | Fix double declaration of cluster |
536,301 | 07.05.2017 12:07:39 | -7,200 | 8540d922412b27fc327872a13a195f4162b92174 | docs: add socket.disconnect() | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -278,6 +278,12 @@ const socket = new Pusher(API_KEY);\nThis returns a socket object which can then be used to subscribe to channels.\n+You may disconnect again by invoking the `disconnect` method:\n+\n+```js\n+s... | JavaScript | MIT License | pusher/pusher-js | docs: add socket.disconnect() |
536,302 | 12.07.2017 16:48:59 | -3,600 | c562077e2355f3479a59a12d7eb81496fc203c45 | Use template strings/camelCase throughout | [
{
"change_type": "MODIFY",
"old_path": "src/core/channels/presence_channel.ts",
"new_path": "src/core/channels/presence_channel.ts",
"diff": "@@ -28,10 +28,8 @@ export default class PresenceChannel extends PrivateChannel {\nif (authData.channel_data === undefined) {\nlet suffix = UrlStore.buildLogSu... | JavaScript | MIT License | pusher/pusher-js | Use template strings/camelCase throughout |
536,302 | 28.07.2017 09:16:04 | -3,600 | aa3aff72a259721d29eb1e623802d5810233e7a3 | Update key names everywhere | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/utils/url_store_spec.js",
"new_path": "spec/javascripts/unit/core/utils/url_store_spec.js",
"diff": "@@ -3,11 +3,11 @@ var url_store = require('core/utils/url_store').default;\ndescribe('url_store', function(){\ndescribe('buildLogSuf... | JavaScript | MIT License | pusher/pusher-js | Update key names everywhere |
536,302 | 30.08.2017 09:24:00 | -3,600 | 78a9356b4bf31b53119e374dfbd53600d74b1e00 | Fix failing test, add test for cluster check | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/pusher_spec.js",
"new_path": "spec/javascripts/unit/core/pusher_spec.js",
"diff": "@@ -76,9 +76,15 @@ describe(\"Pusher\", function() {\nit(\"should allow a hex key\", function() {\nspyOn(Logger, \"warn\");\n- var pusher = new Pusher... | JavaScript | MIT License | pusher/pusher-js | Fix failing test, add test for cluster check |
536,302 | 30.08.2017 09:25:05 | -3,600 | b1216aceda01efe40916f7fb19f09bdfae491dc6 | Handle undefined connection edge case | [
{
"change_type": "MODIFY",
"old_path": "src/core/connection/connection_manager.ts",
"new_path": "src/core/connection/connection_manager.ts",
"diff": "@@ -232,7 +232,7 @@ export default class ConnectionManager extends EventsDispatcher {\nprivate resetActivityCheck() {\nthis.stopActivityCheck();\n// s... | JavaScript | MIT License | pusher/pusher-js | Handle undefined connection edge case |
536,277 | 31.08.2017 16:59:11 | 25,200 | caaaac249ef3517e19528b67d64737e2d5ecec86 | set subscriptionPending to false when disconnect while subscribing | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"new_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"diff": "@@ -64,6 +64,14 @@ describe(\"Channel\", function() {\nchannel.disconnect();\nexpect(channel.subscribed).toEqual(false);\n});\n+\n... | JavaScript | MIT License | pusher/pusher-js | set subscriptionPending to false when disconnect while subscribing |
536,282 | 07.10.2017 11:50:52 | 25,200 | 7bbe4b21a41133798d5a3a939e3ed786129ab556 | Update React Native NetInfo usage ('change' event and 'fetch' module deprecated) | [
{
"change_type": "MODIFY",
"old_path": "dist/react-native/pusher.js",
"new_path": "dist/react-native/pusher.js",
"diff": "@@ -1702,7 +1702,7 @@ module.exports =\nvar react_native_1 = __webpack_require__(27);\nvar dispatcher_1 = __webpack_require__(14);\nfunction hasOnlineConnectionState(connectionSt... | JavaScript | MIT License | pusher/pusher-js | Update React Native NetInfo usage ('change' event and 'fetch' module deprecated) |
536,288 | 13.11.2017 10:28:57 | 0 | 1d11edb17aad37dabd806fd1301de9bd57c3aa54 | Update source files to reflect ReactNative API changes | [
{
"change_type": "MODIFY",
"old_path": "dist/react-native/pusher.js",
"new_path": "dist/react-native/pusher.js",
"diff": "@@ -1711,7 +1711,7 @@ module.exports =\n_super.call(this);\nthis.online = true;\nreact_native_1.NetInfo.getConnectionInfo().then(function (connectionState) {\n- _this.online = ha... | JavaScript | MIT License | pusher/pusher-js | Update source files to reflect ReactNative API changes |
536,288 | 13.11.2017 13:29:09 | 0 | e786ca616881134f6d2ab89bdd36cfede1ed7263 | Fix issue with this scope | [
{
"change_type": "MODIFY",
"old_path": "dist/react-native/pusher.js",
"new_path": "dist/react-native/pusher.js",
"diff": "@@ -1711,7 +1711,7 @@ module.exports =\n_super.call(this);\nthis.online = true;\nreact_native_1.NetInfo.getConnectionInfo().then(function (connectionState) {\n- this.online = has... | JavaScript | MIT License | pusher/pusher-js | Fix issue with this scope |
536,288 | 13.11.2017 15:46:18 | 0 | d30181a7295c098a390d8e2ffec034990a825632 | Add note about wsPath in README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -246,6 +246,10 @@ const socket = new Pusher(APP_KEY, {\nThese can be changed to point to alternative Pusher URLs (used internally for our staging server).\n+#### `wsPath`\n+\n+Useful in special scenarios if you'... | JavaScript | MIT License | pusher/pusher-js | Add note about wsPath in README.md |
536,288 | 13.11.2017 17:47:18 | 0 | 0bd142fd630aa66ceb4dd0a622819f1bda473b9b | Prevent double logging | [
{
"change_type": "MODIFY",
"old_path": "src/core/logger.ts",
"new_path": "src/core/logger.ts",
"diff": "@@ -10,16 +10,15 @@ const Logger = {\n},\nwarn(...args : any[]) {\nvar message = stringify.apply(this, arguments);\n- if (global.console) {\n+ if (Pusher.log) {\n+ Pusher.log(message);\n+ } else i... | JavaScript | MIT License | pusher/pusher-js | Prevent double logging |
536,288 | 02.01.2018 11:02:00 | 0 | b0f0a2ebce1d2ab077c16f0f4e4d9f14f7e55023 | Test that we do not warn when the necessary options are provided | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/pusher_spec.js",
"new_path": "spec/javascripts/unit/core/pusher_spec.js",
"diff": "@@ -80,11 +80,19 @@ describe(\"Pusher\", function() {\nexpect(Logger.warn).not.toHaveBeenCalled();\n});\n- it(\"should warn if no cluster supplied\", ... | JavaScript | MIT License | pusher/pusher-js | Test that we do not warn when the necessary options are provided |
536,287 | 22.04.2018 14:37:44 | -3,600 | c033f69bca7552c8e5715b5c70cec94d003bf87f | consistent naming of socket var | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -184,7 +184,7 @@ const socket = new Pusher(APP_KEY, {\nIf you need custom authorization behavior you can provide your own `authorizer` function as follows:\n```js\n-const pusher = new Pusher(APP_KEY, {\n+const s... | JavaScript | MIT License | pusher/pusher-js | consistent naming of socket var |
536,283 | 18.05.2018 15:11:51 | -3,600 | 96b5d6b546a61342a23dfb4f9dbba72d1c95ab73 | move content from pusher docs to here, along with some rewords | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -145,12 +145,20 @@ Forces the connection to use encrypted transports.\n#### `authEndpoint` (String)\n-Endpoint on your server that will return the authentication signature needed for private channels.\n+Endpoint... | JavaScript | MIT License | pusher/pusher-js | move content from pusher docs to here, along with some rewords |
536,287 | 19.05.2018 16:32:32 | -3,600 | e1b6b0f42004631c0a7b24dc5fff9346c2b81a50 | Use code blocks | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -153,11 +153,10 @@ For more information see [authenticating users](https://pusher.com/docs/authenti\nDefines how the authentication endpoint, defined using authEndpoint, will be called. There are two options ava... | JavaScript | MIT License | pusher/pusher-js | Use code blocks |
536,287 | 19.05.2018 16:36:55 | -3,600 | e7d1900635133e944b8019b8be083652ddebf9d7 | move connection states | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -292,8 +292,6 @@ By setting the `log` property you also override the use of `Pusher.enableLogging\n## Connection\nA connection to Pusher is established by providing your `APP_KEY` and `APP_CLUSTER` to the constr... | JavaScript | MIT License | pusher/pusher-js | move connection states |
536,283 | 13.08.2018 14:58:14 | -3,600 | b29d9e6049af16085bbcd01045a5d0ecbb734d16 | Add note about deprecation of encrypted option to changelog | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "[NEW] This release adds support for end to end encrypted channels, a new feature for Channels. Read more [in our docs](https://pusher.com/docs/client_api_guide/client_encrypted_channels).\n+[DEPRECATED] Renam... | JavaScript | MIT License | pusher/pusher-js | Add note about deprecation of encrypted option to changelog |
536,302 | 29.08.2018 11:03:46 | -3,600 | 7c6b45df9d483d27f55b3f9fe02bbf9908d1f15f | Disconnect upon receipt of refused event | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/connection/connection_manager_spec.js",
"new_path": "spec/javascripts/unit/core/connection/connection_manager_spec.js",
"diff": "@@ -453,6 +453,13 @@ describe(\"ConnectionManager\", function() {\nexpect(manager.state).toEqual(\"conne... | JavaScript | MIT License | pusher/pusher-js | Disconnect upon receipt of refused event |
536,302 | 29.08.2018 11:28:00 | -3,600 | 5d41e252277e28b4df989c666dbcd0ac6d63a518 | Bind error callbacks as connection callbacks | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/connection/connection_manager_spec.js",
"new_path": "spec/javascripts/unit/core/connection/connection_manager_spec.js",
"diff": "@@ -454,10 +454,50 @@ describe(\"ConnectionManager\", function() {\n});\n});\n- describe(\"on refused\",... | JavaScript | MIT License | pusher/pusher-js | Bind error callbacks as connection callbacks |
536,302 | 31.08.2018 11:27:26 | -3,600 | ca3f70b01a257f1eccc3697cd630ea2e67c80f9a | More explicit protocol types
Since connection close events can now occur AFTER the handshake has
taken place, the argument for the error callbacks can be a
HandshakePayload or just an Action, since the handshake has already
succeeded. Try to reflect this in the types. | [
{
"change_type": "MODIFY",
"old_path": "src/core/connection/callbacks.ts",
"new_path": "src/core/connection/callbacks.ts",
"diff": "import HandshakePayload from './handshake/handshake_payload';\n+import Action from './protocol/action';\nexport interface ErrorCallbacks {\n- tls_only: (result: Handsha... | JavaScript | MIT License | pusher/pusher-js | More explicit protocol types
Since connection close events can now occur AFTER the handshake has
taken place, the argument for the error callbacks can be a
HandshakePayload or just an Action, since the handshake has already
succeeded. Try to reflect this in the types. |
536,302 | 28.01.2019 15:08:22 | 0 | e1fe704590a4862501d325e386f8851ddb394168 | Allow emitting with metadata | [
{
"change_type": "MODIFY",
"old_path": "src/core/channels/channel.ts",
"new_path": "src/core/channels/channel.ts",
"diff": "@@ -2,6 +2,7 @@ import {default as EventsDispatcher} from '../events/dispatcher';\nimport * as Errors from '../errors';\nimport Logger from '../logger';\nimport Pusher from '..... | JavaScript | MIT License | pusher/pusher-js | Allow emitting with metadata |
536,302 | 28.01.2019 21:52:49 | 0 | 61acf0de525e7fa79221ce8f4b9c0c64f7f0e15c | call cb with metadata object for presence channel
We want to sent `user_id` with client events from presence channels
Presence channels need to be able to bind to such events | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/helpers/mocks.js",
"new_path": "spec/javascripts/helpers/mocks.js",
"diff": "@@ -229,7 +229,7 @@ var Mocks = {\nchannel.authorize = jasmine.createSpy(\"authorize\");\nchannel.cancelSubscription = jasmine.createSpy(\"cancelSubscription\");\ncha... | JavaScript | MIT License | pusher/pusher-js | call cb with metadata object for presence channel
- We want to sent `user_id` with client events from presence channels
- Presence channels need to be able to bind to such events |
536,302 | 30.01.2019 15:52:16 | 0 | b6790740f725f16dcf57111c639fd5ad0851dbc7 | docs for client-event metadata on presence-channel | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -417,6 +417,14 @@ channel.bind('my-event', function () {\n}, { name: 'Pusher' });\n```\n+For client-events on presence channels, bound callbacks will be called with an additional argument, an object containing t... | JavaScript | MIT License | pusher/pusher-js | docs for client-event metadata on presence-channel |
536,302 | 01.02.2019 10:03:04 | 0 | 585a1657e32c2b61d4699c3c707938c3ea1f2926 | Some small tweaks to metadata emission
always emit an object from a presence channel
always emit metadata (even if undefined) from dispatcher | [
{
"change_type": "MODIFY",
"old_path": "src/core/channels/presence_channel.ts",
"new_path": "src/core/channels/presence_channel.ts",
"diff": "@@ -52,13 +52,12 @@ export default class PresenceChannel extends PrivateChannel {\nthis.handleInternalMessage(message)\n} else {\nvar data = message.data;\n- ... | JavaScript | MIT License | pusher/pusher-js | Some small tweaks to metadata emission
- always emit an object from a presence channel
- always emit metadata (even if undefined) from dispatcher |
536,302 | 01.02.2019 10:43:31 | 0 | 86936530cbb2d582c16e51c5b854ecedd0d7ca7c | Tidy up some internal msg handling logic
reduce some of the duplication in subscription succeeded handlers
between presence channel and basic channel
avoid calling super on unknown internal event
only emit metadata object for client events | [
{
"change_type": "MODIFY",
"old_path": "src/core/channels/channel.ts",
"new_path": "src/core/channels/channel.ts",
"diff": "@@ -63,18 +63,20 @@ export default class Channel extends EventsDispatcher {\nhandleMessage(message: Message) {\nvar event = message.event;\nvar data = message.data;\n- if (even... | JavaScript | MIT License | pusher/pusher-js | Tidy up some internal msg handling logic
- reduce some of the duplication in subscription succeeded handlers
between presence channel and basic channel
- avoid calling super on unknown internal event
- only emit metadata object for client events |
536,302 | 01.02.2019 10:49:49 | 0 | 9ef0f7b90018a6adb36f04373748ee6fe326f75a | Only call callback with metadata if it's present
Mainly to simplify testing | [
{
"change_type": "MODIFY",
"old_path": "src/core/events/dispatcher.ts",
"new_path": "src/core/events/dispatcher.ts",
"diff": "@@ -60,9 +60,13 @@ export default class Dispatcher {\n}\nvar callbacks = this.callbacks.get(eventName);\n+ var args = [data];\n+ if (metadata) {\n+ args.push(metadata)\n+ }\n... | JavaScript | MIT License | pusher/pusher-js | Only call callback with metadata if it's present
Mainly to simplify testing |
536,302 | 06.02.2019 14:58:39 | 0 | af7123b59642029085109fb7e14cd9b985129c9f | Update subscription success handler for presence
Don't update the membership state if the subscription is cancelled
Fix an unrelated comment | [
{
"change_type": "MODIFY",
"old_path": "src/core/channels/encrypted_channel.ts",
"new_path": "src/core/channels/encrypted_channel.ts",
"diff": "@@ -47,7 +47,7 @@ export default class EncryptedChannel extends PrivateChannel {\n);\n}\n- /** Handles an message. For internal use only.\n+ /** Handles an ... | JavaScript | MIT License | pusher/pusher-js | Update subscription success handler for presence
Don't update the membership state if the subscription is cancelled
Fix an unrelated comment |
536,302 | 06.02.2019 16:10:17 | 0 | e1ecacb44a79d512e1e16b7d92a4c183cbf69a82 | Error if events triggered pre-subscription | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"new_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"diff": "@@ -35,11 +35,20 @@ describe(\"Channel\", function() {\n});\ndescribe(\"#trigger\", function() {\n+ beforeEach(function() {\n+ cha... | JavaScript | MIT License | pusher/pusher-js | Error if events triggered pre-subscription |
536,302 | 14.02.2019 15:30:46 | 0 | 35b05b1ef74696315f727d822d81d7a324bc4a58 | Warn don't error | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"new_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"diff": "@@ -43,12 +43,6 @@ describe(\"Channel\", function() {\nchannel.trigger(\"whatever\", {});\n}).toThrow(jasmine.any(Errors.BadEventN... | JavaScript | MIT License | pusher/pusher-js | Warn don't error |
536,302 | 25.03.2019 13:53:23 | 0 | c3b4bbccf446b23c063b2357bbcc5c728dfe40fe | Fix syntax error in spec | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"new_path": "spec/javascripts/unit/core/channels/channel_spec.js",
"diff": "@@ -228,7 +228,7 @@ describe(\"Channel\", function() {\nexpect(pusher.send_event).toHaveBeenCalledWith(\n\"pusher:subscribe\",\n- ... | JavaScript | MIT License | pusher/pusher-js | Fix syntax error in spec |
536,302 | 12.05.2019 17:33:13 | -3,600 | 646846668102ec8b0bbc4bf5928839df58112f38 | enable all browsers | [
{
"change_type": "MODIFY",
"old_path": "spec/config/karma/config.common.js",
"new_path": "spec/config/karma/config.common.js",
"diff": "@@ -33,7 +33,7 @@ module.exports = {\ncolors: true,\nautoWatch: true,\n- browsers: ['Chrome'],\n+ browsers: ['Chrome', 'Firefox', 'Opera', 'Safari'],\ncaptureTimeou... | JavaScript | MIT License | pusher/pusher-js | enable all browsers |
536,302 | 12.05.2019 18:34:54 | -3,600 | 016a7e03b63204e6b0bad672d183e500329bedf6 | Add firefox and safari for full CI run
update browser versions
additional browsers for full ci run
run full ci on PR | [
{
"change_type": "MODIFY",
"old_path": ".travis.build",
"new_path": ".travis.build",
"diff": "set -e\n-if [ \"$TRAVIS_BRANCH\" == \"master\" ]; then\n+if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" ] || [ \"$TRAVIS_BRANCH\" == \"master\" ]; then\nexport CI='full' ;\nelse\nexport CI='basic' ;\n@@ -10,10 ... | JavaScript | MIT License | pusher/pusher-js | Add firefox and safari for full CI run
- update browser versions
- additional browsers for full ci run
- run full ci on PR |
536,302 | 13.05.2019 10:59:02 | -3,600 | 2e7b532eef0d9898b56de498a9292d8470ef5d7c | disable failing safari tests | [
{
"change_type": "MODIFY",
"old_path": "spec/javascripts/unit/web/transports/transports_spec.js",
"new_path": "spec/javascripts/unit/web/transports/transports_spec.js",
"diff": "@@ -7,6 +7,14 @@ var Runtime = require('runtime').default;\nvar VERSION = require('core/defaults').default.VERSION;\nvar D... | JavaScript | MIT License | pusher/pusher-js | disable failing safari tests |
536,302 | 18.06.2019 11:42:18 | 14,400 | 24a473942f857a8de40bf9ac3602eb90b70a6f61 | update tests for compatibility with new deps
update test configs to match new webpack API
don't use jasmine.toThrow (reason explained in comment)
add dummy dependencies for the node tests - new typescript won't build
without these | [
{
"change_type": "MODIFY",
"old_path": "spec/config/jasmine-node/webpack.integration.js",
"new_path": "spec/config/jasmine-node/webpack.integration.js",
"diff": "@@ -9,11 +9,15 @@ baseConfig.output = {\nlibraryTarget: \"var\"\n},\n+baseConfig.externals = baseConfig.externals || {}\nbaseConfig.extern... | JavaScript | MIT License | pusher/pusher-js | update tests for compatibility with new deps
- update test configs to match new webpack API
- don't use jasmine.toThrow (reason explained in comment)
- add dummy dependencies for the node tests - new typescript won't build
without these |
536,302 | 18.06.2019 11:58:04 | 14,400 | fbd9e740647200957e27409e0c4c0d9b951f2a29 | updated custom error types
the new version of typescript broke some behaviour we depended on | [
{
"change_type": "MODIFY",
"old_path": "src/core/errors.ts",
"new_path": "src/core/errors.ts",
"diff": "/** Error classes used throughout the library. */\n-export class BadEventName extends Error {}\n-export class RequestTimedOut extends Error {}\n-export class TransportPriorityTooLow extends Error ... | JavaScript | MIT License | pusher/pusher-js | updated custom error types
the new version of typescript broke some behaviour we depended on
https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work |
536,302 | 18.06.2019 12:35:39 | 14,400 | 5c43ea3eccb4ef494ef9b03686e0bbc3674bfcf1 | Move bundled deps into dev-deps
since these dependencies are bundled with webpack, the library is not
actually dependent on them | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "\"version\": \"0.9.4\",\n\"resolved\": \"https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.9.4.tgz\",\n\"integrity\": \"sha1-iFk0x57/sECVSeDAo4Ae0XpAza0=\",\n+ \"dev\": true,\n\"requires\... | JavaScript | MIT License | pusher/pusher-js | Move bundled deps into dev-deps
since these dependencies are bundled with webpack, the library is not
actually dependent on them |
536,302 | 18.06.2019 13:54:05 | 14,400 | c6ee3cd467fd2b4a21c31d0d48a29fe3334c6548 | simplify webpack builds, clarify comments
move shared modules into shared config | [
{
"change_type": "MODIFY",
"old_path": "webpack/config.node.js",
"new_path": "webpack/config.node.js",
"diff": "var path = require(\"path\");\n-var objectAssign = require('object-assign-deep');\n+var objectAssign = require(\"object-assign-deep\");\n+var configShared = require(\"./config.shared\");\n... | JavaScript | MIT License | pusher/pusher-js | simplify webpack builds, clarify comments
- move shared modules into shared config |
536,302 | 18.06.2019 16:10:02 | 14,400 | eb491ad316adabb6b413a07ca9ebed0c914e18e2 | don't overwrite minified worker build | [
{
"change_type": "MODIFY",
"old_path": "webpack/config.worker.js",
"new_path": "webpack/config.worker.js",
"diff": "@@ -4,11 +4,15 @@ var version = require('../package').version;\nvar objectAssign = require('object-assign-deep');\nvar webpack = require('webpack');\n+var filename = process.env.MODE =... | JavaScript | MIT License | pusher/pusher-js | don't overwrite minified worker build |
536,302 | 24.06.2019 10:17:46 | -3,600 | 67471eab9164e37dfeda0438f2e171c237de8871 | Clarify product name in README | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "-# Pusher Javascript Client\n+# Pusher Channels Javascript Client\n-This Pusher client library supports web browsers, web workers, Node.js and\n-React Native.\n+This Pusher Channels client library supports web brow... | JavaScript | MIT License | pusher/pusher-js | Clarify product name in README |
536,302 | 18.06.2019 15:23:34 | 14,400 | 41947ed33878e520375e005f55029de86b09ba22 | update test configs
try to make the test configs a little more consistent/concise
use verbose reporter again
use the webpack shared config as the basis for the karma webpack
config and remove unnecessary modules
expose a MINIMAL_INTEGRATION_TESTS env var
build node configs the same as elsewhere | [
{
"change_type": "MODIFY",
"old_path": "spec/config/jasmine-node/webpack.integration.js",
"new_path": "spec/config/jasmine-node/webpack.integration.js",
"diff": "+var objectAssign = require('object-assign-deep');\nvar baseConfig = require('../../../webpack/config.node');\nvar path = require('path');... | JavaScript | MIT License | pusher/pusher-js | update test configs
try to make the test configs a little more consistent/concise
- use verbose reporter again
- use the webpack shared config as the basis for the karma webpack
config and remove unnecessary modules
- expose a MINIMAL_INTEGRATION_TESTS env var
- build node configs the same as elsewhere |
536,302 | 20.06.2019 10:02:11 | 14,400 | 5a28ae077ae6552d533dabe11dd223c9933c428b | Only use chrome for minimal tests | [
{
"change_type": "MODIFY",
"old_path": "spec/config/karma/config.common.js",
"new_path": "spec/config/karma/config.common.js",
"diff": "var webpackConfig = require('../../../webpack/config.shared');\nvar objectAssign = require('object-assign-deep');\n+var browserList;\n+if (process.env.MINIMAL_INTEG... | JavaScript | MIT License | pusher/pusher-js | Only use chrome for minimal tests |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.