Commit graph

287062 commits

Author SHA1 Message Date
taca
ac07931a7e mail/ruby-mime-types-data: update to 3.2018.0812
## 3.2018.0812 / 2018-08-12

*   Added `.xsd` extension to `text/xml`. [#10][]

*   Added `.js` and `.mjs` extensions to `text/ecmascript` and
    `text/javascript`. [#11][]

*   Added `.ipa` extension to `application/octet-stream`. [#12][]

*   Moved extensions `.markdown` and `.md` and added `.mkd` extension to
    `text/markdown`. [#13][]

*   Because of a bug found with mime-types 3 before 3.2.1, this version
    requires mime-types 3.1 or later to manage data.

*   Updated the IANA media registry entries as of release date. The biggest
    major change here is the addition of the `font/` top-level media type.

*   MIME type changes not introduced by pull requests will no longer be
    individually tracked.

*   Clarified that the YAML editable format is not shipped with the Ruby gem
    for size considerations.
2018-09-23 15:40:47 +00:00
gdt
9378fd040c postgresql-postgis2: Drop PGSQL_VERSIONS_ACCEPTED
Currently, this package builds with all versions of postgreqsl in
pkgsrc, and it is likely to do so in the future, so there is no need
for an explicit list.
2018-09-23 15:38:00 +00:00
taca
57a170598b doc: Updated lang/ruby-gherkin to 5.1.0 2018-09-23 15:31:43 +00:00
taca
2154b7c620 lang/ruby-gherkin: update to 5.1.0
5.1.0 - 2018-05-30

Added

* (.NET) - Better .NET Core support
* Support for Aragonese (#298 danilat)
* (C) build a shared libgherkin.so library which allows Gherkin to be used as
  a library. (Cucumber.ml currently uses this.) (cucumber/gherkin-c#6 cyocum)

Changed

* Pass the content type of a docstring down into its pickle string form (#292
  rjwittams)
* Fixed Russian equivalents of Given and Then. (#369 cerebellum13)

Fixed

* (C) Segfault when file does not exist (#394 #395 cyocum)
* (JavaScript) (#374 #377 charlierudolph)
* (Ruby, JavaScript) Remove berp.exe from packages (#289 aslakhellesoy)
* (Go) fixes validation for go vet tool on latest versions (#330 l3pp4rd)
* (Ruby) removed unneeded files from the gem
2018-09-23 15:31:22 +00:00
taca
49118626ec doc: Updated graphics/ruby-mini-magick to 4.9.2 2018-09-23 15:28:50 +00:00
taca
cd37285dfd graphics/ruby-mini-magick: update to 4.9.2
4.9.2 (2018-09-21)

* Fix breakage for MRI 2.3 and below

4.9.1 (2018-09-21)

* Properly handle EXIF parsing with ImageMagick 7
* Show an informative exception message on Timeout::Error
* Wait for the MiniMagick command to terminate after sending SIGTERM with
  open3

4.9.0 (2018-09-210

New features

* Support ImageMagick 7

  o MiniMagick::Tool::Convert will now generate magick convert commands (and
    the same for others)

  o MiniMagick::Tool::Magick was added for generating magick commands

* MiniMagick.cli_prefix was added to configure a prefix for commands

  MiniMagick.cli_prefix = "firejail"

  MiniMagick::Tool::Magick.new { |magick| ... } # executes `firejail magick ...`

Other Improvements

* Fix deadlocks when using posix-spawn as a shell backend

* Fix Errno::ESRCH sometimes being raised when the ImageMagick command would
  time out

* #label and #caption will now generate regular options

	MiniMagick::Tool::Convert.new do |convert|
				 # BEFORE:       NOW:
	  convert.label("foo")   # label:foo    -label foo
	  convert.caption("bar") # caption:bar  -caption bar
	end

* Add pango creation operator

	MiniMagick::Tool::Magick.new do |magick|
	  magick.pango("...") # pango:...
	  # ...
	end

* Handle GraphicsMagick returning unknown in EXIF data
2018-09-23 15:28:23 +00:00
taca
097ea93eb3 doc: Updated games/ruby-squib to 0.14.2 2018-09-23 15:23:17 +00:00
taca
a278a32883 games/ruby-squib: update to 0.14.2
## v0.14.2 / Unreleased

Features:
* Sprues for DriveThruCards and printandplaygames!! (#247, from @blinks)

Bugs:
* Fixed bug on circle and other shapes that had an extra stroke from a
  previous text call (#248)
* Fixed extra page on all sprue saves (#246)
* Fixed layout parsing issue with multiple inheritance (#244)

Chores:
* Bumped deps: Pango et al. to 3.2.7, Cairo to 1.15.13.

Special thanks to @blinks
2018-09-23 15:22:57 +00:00
taca
6162af52a8 doc: Updated devel/ruby-tomlrb to 1.2.7 2018-09-23 15:21:54 +00:00
taca
0b205f8063 devel/ruby-tomlrb: update to 1.2.7
### 1.2.7 - 2018-07-12

* Datetime should be UTC when no offset or timezone are specified
2018-09-23 15:21:31 +00:00
taca
e416f9ed63 doc: Updated devel/ruby-test-unit to 3.2.8 2018-09-23 15:20:50 +00:00
taca
c3574f8979 devel/ruby-test-unit: update to 3.2.8
## 3.2.8 - 2018-05-13 {#version-3-2-8}

### Improvements

  * [UI][console]: Changed to put code snippet before backtrace on
    reverse mode.
2018-09-23 15:20:26 +00:00
taca
eb2ab7d66c doc: Updated meta-pkgs/ruby-shoulda to 3.6.0 2018-09-23 15:19:16 +00:00
taca
feda1ff2f0 meta-pkgs/ruby-shoulda: update ot 3.6.0
* Convert RSpec tests to Minitest
* Appraisal::File is now Appraisal::AppraisalFile
* Switch to last released version for Rails 4.2.
2018-09-23 15:18:53 +00:00
taca
443c2c105f doc: Updated devel/ruby-shoulda-matchers to 3.1.2 2018-09-23 15:15:37 +00:00
taca
d8caa5a73b devel/ruby-shoulda-matchers: update to 3.1.2
# 3.1.2

### Deprecations

* This is the **last version** that supports Rails 4.0 and 4.1 and Ruby 2.0 and 2.1.

### Bug fixes

* When the `permit` matcher was used without `#on`, the controller did not use
  `params#require`, the params object was duplicated, and the matcher did not
  recognize the `#permit` call inside the controller. This behavior happened
  because the matcher overwrote double registries with the same parameter hash
  whenever ActionController::Parameters was instantiated.

  * *Commit: [44c019]*
  * *Issue: [#899]*
  * *Pull request: [#902]*

# 3.1.1

### Bug fixes

* Some matchers make use of ActiveSupport's `in?` method, but do not include the
  file where this is defined in ActiveSupport. This causes problems with
  projects using shoulda-matchers that do not include all of ActiveSupport by
  default. To fix this, replace `in?` with Ruby's builtin `include?`.

  * *Pull request: [#879]*

* `validate_uniqueness_of` works by creating a record if it doesn't exist, and
  then testing against a new record with various attributes set that are equal
  to (or different than) corresponding attributes in the existing record. In
  3.1.0 a change was made whereby when the uniqueness matcher is given a new
  record and creates an existing record out of it, it ensures that the record is
  valid before continuing on. This created a problem because if the subject,
  before it was saved, was empty and therefore in an invalid state, it could not
  effectively be saved. While ideally this should be enforced, doing so would be
  a backward-incompatible change, so this behavior has been rolled back.
  ([#880], [#884], [#885])

  * *Commit: [45de869]*
  * *Issues: [#880], [#884], [#885]*

* Fix an issue with `validate_uniqueness_of` + `scoped_to` when used against a
  model where the attribute has multiple uniqueness validations and each
  validation has a different set of scopes. In this case, a test written for the
  first validation (and its scopes) would pass, but tests for the other
  validations (and their scopes) would not, as the matcher only considered the
  first set of scopes as the *actual* set of scopes.

  * *Commit: [28bd9a1]*
  * *Issues: [#830]*

### Improvements

* Update `validate_uniqueness_of` so that if an existing record fails to be
  created because a column is non-nullable and was not filled in, raise an
  ExistingRecordInvalid exception with details on how to fix the test.

  * *Commit: [78ccfc5]*

[#879]: https://github.com/thoughtbot/shoulda-matchers/issues/879
[45de869]: 45de869848
[#880]: https://github.com/thoughtbot/shoulda-matchers/issues/880
[#884]: https://github.com/thoughtbot/shoulda-matchers/issues/884
[#885]: https://github.com/thoughtbot/shoulda-matchers/issues/885
[78ccfc5]: 78ccfc50b5
[28bd9a1]: 28bd9a10c7
[#830]: https://github.com/thoughtbot/shoulda-matchers/issues/830

# 3.1.0

### Bug fixes

* Update `validate_numericality_of` so that submatchers are applied lazily
  instead of immediately. Previously, qualifiers were order-dependent, meaning
  that if you used `strict` before you used, say, `odd`, then `strict` wouldn't
  actually apply to `odd`. Now the order that you specify qualifiers doesn't
  matter.

  * *Source: [6c67a5e]*

* Fix `allow_value` so that it does not raise an AttributeChangedValueError
  (formerly CouldNotSetAttributeError) when used against an attribute that is an
  enum in an ActiveRecord model.

  * *Source: [9e8603e]*

* Add a `ignoring_interference_by_writer` qualifier to all matchers, not just
  `allow_value`. *This is enabled by default, which means that you should never
  get a CouldNotSetAttributeError again.* (You may get some more information if
  a test fails, however.)

  * *Source: [1189934], [5532f43]*
  * *Fixes: [#786], [#799], [#801], [#804], [#817], [#841], [#849], [#872],
    [#873], and [#874]*

* Fix `validate_numericality_of` so that it does not blow up when used against
  a virtual attribute defined in an ActiveRecord model (that is, an attribute
  that is not present in the database but is defined using `attr_accessor`).

  * *Source: [#822]*

* Update `validate_numericality_of` so that it no longer raises an
  IneffectiveTestError if used against a numeric column.

  * *Source: [5ed0362]*
  * *Fixes: [#832]*

[6c67a5e]: 6c67a5eb0d
[9e8603e]: 9e8603eb74
[1189934]: 1189934806
[5532f43]: 5532f4359a
[#786]: https://github.com/thoughtbot/shoulda-matchers/issues/786
[#799]: https://github.com/thoughtbot/shoulda-matchers/issues/799
[#801]: https://github.com/thoughtbot/shoulda-matchers/issues/801
[#804]: https://github.com/thoughtbot/shoulda-matchers/issues/804
[#817]: https://github.com/thoughtbot/shoulda-matchers/issues/817
[#841]: https://github.com/thoughtbot/shoulda-matchers/issues/841
[#849]: https://github.com/thoughtbot/shoulda-matchers/issues/849
[#872]: https://github.com/thoughtbot/shoulda-matchers/issues/872
[#873]: https://github.com/thoughtbot/shoulda-matchers/issues/873
[#874]: https://github.com/thoughtbot/shoulda-matchers/issues/874
[#822]: https://github.com/thoughtbot/shoulda-matchers/pull/822
[5ed0362]: 5ed0362419
[#832]: https://github.com/thoughtbot/shoulda-matchers/issues/832

### Features

* Add a new qualifier, `ignoring_case_sensitivity`, to `validate_uniqueness_of`.
  This provides a way to test uniqueness of an attribute whose case is
  normalized, either in a custom writer method for that attribute, or in a
  custom `before_validation` callback.

  * *Source: [#840]*
  * *Fixes: [#836]*

[#840]: https://github.com/thoughtbot/shoulda-matchers/pull/840
[#836]: https://github.com/thoughtbot/shoulda-matchers/issues/836

### Improvements

* Improve failure messages and descriptions of all matchers across the board so
  that it is easier to understand what the matcher was doing when it failed.
  (You'll see a huge difference in the output of the numericality and uniqueness
  matchers in particular.)

* Matchers now raise an error if any attributes that the matcher is attempting
  to set do not exist on the model.

  * *Source: [2962112]*

* Update `validate_numericality_of` so that it doesn't always run all of the
  submatchers, but stops on the first one that fails. Since failure messages
  now contain information as to what value the matcher set on the attribute when
  it failed, this change guarantees that the correct value will be shown.

  * *Source: [8e24a6e]*

* Continue to detect if attributes change incoming values, but now instead of
  immediately seeing a CouldNotSetAttributeError, you will only be informed
  about it if the test you've written fails.

  * *Source: [1189934]*

* Add an additional check to `define_enum_for` to ensure that the column that
  underlies the enum attribute you're testing is an integer column.

  * *Source: [68dd70a]*

* Add a test for `validate_numericality_of` so that it officially supports money
  columns.

  * *Source: [a559713]*
  * *Refs: [#841]*

[2962112]: 2962112114
[8e24a6e]: 8e24a6e9b2
[68dd70a]: 68dd70a23d
[a559713]: a559713f96

# 3.0.1

### Bug fixes

* Fix `validate_inclusion_of` + `in_array` when used against a date or datetime
  column/attribute so that it does not raise a CouldNotSetAttributeError.
  ([#783], [8fa97b4])

* Fix `validate_numericality_of` when used against a numeric column so that it
  no longer raises a CouldNotSetAttributeError if the matcher has been qualified
  in any way (`only_integer`, `greater_than`, `odd`, etc.). ([#784], [#812])

### Improvements

* `validate_uniqueness_of` now raises a NonCaseSwappableValueError if the value
  the matcher is using to test uniqueness cannot be case-swapped -- in other
  words, if it doesn't contain any alpha characters. When this is the case, the
  matcher cannot work effectively. ([#789], [ada9bd3])

[#783]: https://github.com/thoughtbot/shoulda-matchers/pull/783
[8fa97b4]: 8fa97b4ff3
[#784]: https://github.com/thoughtbot/shoulda-matchers/pull/784
[#789]: https://github.com/thoughtbot/shoulda-matchers/pull/789
[ada9bd3]: ada9bd3a1b
[#812]: https://github.com/thoughtbot/shoulda-matchers/pull/812

# 3.0.0

### Backward-incompatible changes

* We've dropped support for Rails 3.x, Ruby 1.9.2, and Ruby 1.9.3, and RSpec 2.
  All of these have been end-of-lifed. ([a4045a1], [b7fe87a], [32c0e62])

* The gem no longer detects the test framework you're using or mixes itself into
  that framework automatically. [History][no-auto-integration-1] has
  [shown][no-auto-integration-2] that performing any kind of detection is prone
  to bugs and more complicated than it should be.

  Here are the updated instructions:

  * You no longer need to say `require: false` in your Gemfile; you can
    include the gem as normal.
  * You'll need to add the following somewhere in your `rails_helper` (for
    RSpec) or `test_helper` (for Minitest / Test::Unit):

    ``` ruby
    Shoulda::Matchers.configure do |config|
      config.integrate do |with|
        # Choose a test framework:
        with.test_framework :rspec
        with.test_framework :minitest
        with.test_framework :minitest_4
        with.test_framework :test_unit

        # Choose one or more libraries:
        with.library :active_record
        with.library :active_model
        with.library :action_controller
        # Or, choose the following (which implies all of the above):
        with.library :rails
      end
    end
    ```

  ([1900071])

* Previously, under RSpec, all of the matchers were mixed into all of the
  example groups. This created a problem because some gems, such as
  [active_model_serializers-matchers], provide matchers that share the same
  name as some of our own matchers. Now, matchers are only mixed into whichever
  example group they belong to:

    * ActiveModel and ActiveRecord matchers are available only in model example
      groups.
    * ActionController matchers are available only in controller example groups.
    * The `route` matcher is available only in routing example groups.

  ([af98a23], [8cf449b])

* There are two changes to `allow_value`:

  * The negative form of `allow_value` has been changed so that instead of
    asserting that any of the given values is an invalid value (allowing good
    values to pass through), assert that *all* values are invalid values
    (allowing good values not to pass through). This means that this test which
    formerly passed will now fail:

    ``` ruby
    expect(record).not_to allow_value('good value', *bad_values)
    ```

    ([19ce8a6])

  * `allow_value` now raises a CouldNotSetAttributeError if in setting the
    attribute, the value of the attribute from reading the attribute back is
    different from the one used to set it.

    This would happen if the writer method for that attribute has custom logic
    to ignore certain incoming values or change them in any way. Here are three
    examples we've seen:

    * You're attempting to assert that an attribute should not allow nil, yet
      the attribute's writer method contains a conditional to do nothing if
      the attribute is set to nil:

      ``` ruby
      class Foo
        include ActiveModel::Model

        attr_reader :bar

        def bar=(value)
          return if value.nil?
          @bar = value
        end
      end

      describe Foo do
        it do
          foo = Foo.new
          foo.bar = "baz"
          # This will raise a CouldNotSetAttributeError since `foo.bar` is now "123"
          expect(foo).not_to allow_value(nil).for(:bar)
        end
      end
      ```

    * You're attempting to assert that an numeric attribute should not allow a
      string that contains non-numeric characters, yet the writer method for
      that attribute strips out non-numeric characters:

      ``` ruby
      class Foo
        include ActiveModel::Model

        attr_reader :bar

        def bar=(value)
          @bar = value.gsub(/\D+/, '')
        end
      end

      describe Foo do
        it do
          foo = Foo.new
          # This will raise a CouldNotSetAttributeError since `foo.bar` is now "123"
          expect(foo).not_to allow_value("abc123").for(:bar)
        end
      end
      ```

    * You're passing a value to `allow_value` that the model typecasts into
      another value:

      ``` ruby
      describe Foo do
        # Assume that `attr` is a string
        # This will raise a CouldNotSetAttributeError since `attr` typecasts `[]` to `"[]"`
        it { should_not allow_value([]).for(:attr) }
      end
      ```

    With all of these failing examples, why are we making this change? We want
    to guard you (as the developer) from writing a test that you think acts one
    way but actually acts a different way, as this could lead to a confusing
    false positive or negative.

    If you understand the problem and wish to override this behavior so that
    you do not get a CouldNotSetAttributeError, you can add the
    `ignoring_interference_by_writer` qualifier like so. Note that this will not
    always cause the test to pass.

    ``` ruby
    it { should_not allow_value([]).for(:attr).ignoring_interference_by_writer }
    ```

    ([9d9dc4e])

* `validate_uniqueness_of` is now properly case-sensitive by default, to match
  the default behavior of the validation itself. This is a backward-incompatible
  change because this test which incorrectly passed before will now fail:

    ``` ruby
    class Product < ActiveRecord::Base
      validates_uniqueness_of :name, case_sensitive: false
    end

    describe Product do
      it { is_expected.to validate_uniqueness_of(:name) }
    end
    ```

    ([57a1922])

* `ensure_inclusion_of`, `ensure_exclusion_of`, and `ensure_length_of` have been
  removed in favor of their `validate_*` counterparts. ([55c8d09])

* `set_the_flash` and `set_session` have been changed to more closely align with
  each other:
  * `set_the_flash` has been removed in favor of `set_flash`. ([801f2c7])
  * `set_session('foo')` is no longer valid syntax, please use
    `set_session['foo']` instead. ([535fe05])
  * `set_session['key'].to(nil)` will no longer pass when the key in question
    has not been set yet. ([535fe05])

* Change `set_flash` so that `set_flash[:foo].now` is no longer valid syntax.
  You'll want to use `set_flash.now[:foo]` instead. This was changed in order to
  more closely align with how `flash.now` works when used in a controller.
  ([#755], [#752])

* Change behavior of `validate_uniqueness_of` when the matcher is not
  qualified with any scopes, but your validation is. Previously the following
  test would pass when it now fails:

  ``` ruby
  class Post < ActiveRecord::Base
    validate :slug, uniqueness: { scope: :user_id }
  end

  describe Post do
    it { should validate_uniqueness_of(:slug) }
  end
  ```

  ([6ac7b81])

[active_model_serializers-matchers]: https://github.com/adambarber/active_model_serializers-matchers
[no-auto-integration-1]: 049080c673
[no-auto-integration-2]: https://github.com/rr/rr/issues/29
[1900071]: 190007155e
[b7fe87a]: b7fe87ae91
[a4045a1]: a4045a1f9b
[57a1922]: 57a19228b6
[19ce8a6]: 19c38a642a
[eaaa2d8]: eaaa2d83e5
[55c8d09]: 55c8d09bf2
[801f2c7]: 801f2c7c1e
[535fe05]: 535fe05be8
[6ac7b81]: 6ac7b8158c
[#755]: https://github.com/thoughtbot/shoulda-matchers/pull/755
[#752]: https://github.com/thoughtbot/shoulda-matchers/pull/752
[9d9dc4e]: 9d9dc4e6b9
[32c0e62]: 32c0e62596
[af98a23]: af98a23091
[8cf449b]: 8cf449b4ca

### Bug fixes

* So far the tests for the gem have been running against only SQLite. Now they
  run against PostgreSQL, too. As a result we were able to fix some
  Postgres-related bugs, specifically around `validate_uniqueness_of`:

  * When scoped to a UUID column that ends in an "f", the matcher is able to
    generate a proper "next" value without erroring. ([#402], [#587], [#662])

  * Support scopes that are PostgreSQL array columns. Please note that this is
    only supported for Rails 4.2 and greater, as versions before this cannot
    handle array columns correctly, particularly in conjunction with the
    uniqueness validator. ([#554])

  * Fix so that when scoped to a text column and the scope is set to nil before
    running it through the matcher, the matcher does not fail. ([#521], [#607])

* Fix `define_enum_for` so that it actually tests that the attribute is present
  in the list of defined enums, as you could fool it by merely defining a class
  method that was the pluralized version of the attribute name. In the same
  vein, passing a pluralized version of the attribute name to `define_enum_for`
  would erroneously pass, and now it fails. ([#641])

* Fix `permit` so that it does not break the functionality of
  ActionController::Parameters#require. ([#648], [#675])

* Fix `validate_uniqueness_of` + `scoped_to` so that it does not raise an error
  if a record exists where the scoped attribute is nil. ([#677])

* Fix `route` matcher so if your route includes a default `format`, you can
  specify this as a symbol or string. ([#693])

* Fix `validate_uniqueness_of` so that it allows you to test against scoped
  attributes that are boolean columns. ([#457], [#694])

* Fix failure message for `validate_numericality_of` as it sometimes didn't
  provide the reason for failure. ([#699])

* Fix `shoulda/matchers/independent` so that it can be required
  independently, without having to require all of the gem. ([#746], [e0a0200])

### Features

* Add `on` qualifier to `permit`. This allows you to make an assertion that
  a restriction was placed on a slice of the `params` hash and not the entire
  `params` hash. Although we don't require you to use this qualifier, we do
  recommend it, as it's a more precise check. ([#675])

* Add `strict` qualifier to `validate_numericality_of`. ([#620])

* Add `on` qualifier to `validate_numericality_of`. ([9748869]; h/t [#356],
  [#358])

* Add `join_table` qualifier to `have_and_belong_to_many`. ([#556])

* `allow_values` is now an alias for `allow_value`. This makes more sense when
  checking against multiple values:

  ``` ruby
  it { should allow_values('this', 'and', 'that') }
  ```

  ([#692])

[9748869]: 9748869091
[#402]: https://github.com/thoughtbot/shoulda-matchers/pull/402
[#587]: https://github.com/thoughtbot/shoulda-matchers/pull/587
[#662]: https://github.com/thoughtbot/shoulda-matchers/pull/662
[#554]: https://github.com/thoughtbot/shoulda-matchers/pull/554
[#641]: https://github.com/thoughtbot/shoulda-matchers/pull/641
[#521]: https://github.com/thoughtbot/shoulda-matchers/pull/521
[#607]: https://github.com/thoughtbot/shoulda-matchers/pull/607
[#648]: https://github.com/thoughtbot/shoulda-matchers/pull/648
[#675]: https://github.com/thoughtbot/shoulda-matchers/pull/675
[#677]: https://github.com/thoughtbot/shoulda-matchers/pull/677
[#620]: https://github.com/thoughtbot/shoulda-matchers/pull/620
[#693]: https://github.com/thoughtbot/shoulda-matchers/pull/693
[#356]: https://github.com/thoughtbot/shoulda-matchers/pull/356
[#358]: https://github.com/thoughtbot/shoulda-matchers/pull/358
[#556]: https://github.com/thoughtbot/shoulda-matchers/pull/556
[#457]: https://github.com/thoughtbot/shoulda-matchers/pull/457
[#694]: https://github.com/thoughtbot/shoulda-matchers/pull/694
[#692]: https://github.com/thoughtbot/shoulda-matchers/pull/692
[#699]: https://github.com/thoughtbot/shoulda-matchers/pull/699
[#746]: https://github.com/thoughtbot/shoulda-matchers/pull/746
2018-09-23 15:15:13 +00:00
taca
1eb9e1da1b doc: Updated devel/ruby-rugged to 0.27.4 2018-09-23 15:14:14 +00:00
taca
739058d83b devel/ruby-rugged: update to 0.27.4
Catch up to devel/libgit2.
2018-09-23 15:13:53 +00:00
taca
df17095455 doc: Updated devel/libgit2 to 0.27.4 2018-09-23 15:12:02 +00:00
taca
c1ec19f6d0 devel/libgit2: update to 0.27.4
v0.27.4
-------

This is a security release fixing out-of-bounds reads when
processing smart-protocol "ng" packets.

When parsing an "ng" packet, we keep track of both the current position
as well as the remaining length of the packet itself. But instead of
taking care not to exceed the length, we pass the current pointer's
position to `strchr`, which will search for a certain character until
hitting NUL. It is thus possible to create a crafted packet which
doesn't contain a NUL byte to trigger an out-of-bounds read.

The issue was discovered by the oss-fuzz project, issue 9406.

v0.27.3
-------

This is a security release fixing out-of-bounds reads when
reading objects from a packfile. This corresponds to
CVE-2018-10887 and CVE-2018-10888, which were both reported by
Riccardo Schirone.

When packing objects into a single so-called packfile, objects
may not get stored as complete copies but instead as deltas
against another object "base". A specially crafted delta object
could trigger an integer overflow and thus bypass our input
validation, which may result in copying memory before or after
the base object into the final deflated object. This may lead to
objects containing copies of system memory being written into the
object database. As the hash of those objects cannot be easily
controlled by the attacker, it is unlikely that any of those
objects will be valid and referenced by the commit graph.

Note that the error could also be triggered by the function
`git_apply__patch`. But as this function is not in use outside of
our test suite, it is not a possible attack vector.
2018-09-23 15:11:42 +00:00
taca
c2efcb80e1 doc: Updated devel/ruby-power_assert to 1.1.3 2018-09-23 15:10:40 +00:00
taca
738029ab88 devel/ruby-power_assert: update to 1.1.3
1.1.2 (2018-06-10)

* Add example code
* Fix file descriptor leak (forgetting to close).
* Use File.open instead of Kernel#open.
* Fix LocalJumpError
* Follow up changes of Ripper.sexp in 2.6.0dev
* Prevent infinite loop when raising exception in trace event
* Fix ArgumentError when Japanese is included
* Handle character width.
* Cache offset data

1.1.3 (2018-06-24)

* pry-power_assert doesn't work
* Use benchmark-ips
2018-09-23 15:10:19 +00:00
taca
08a667ed98 doc: Updated devel/ruby-cucumber-core to 3.2.0 2018-09-23 15:00:16 +00:00
taca
c6e73fb6ea devel/ruby-cucumber-core: update to 3.2.0
## [3.2.0](https://github.com/cucumber/cucumber-ruby-core/compare/v3.1.0...v3.2.0)

### Added

* Add the GherkinSourceParsedEvent ([#155](https://github.com/cucumber/cucumber-ruby-core/pull/155) @brasmusson)
* Add #original_location to Cucumber::Core::Ast::Step and Cucumber::Core::Test::Step ([#150](https://github.com/cucumber/cucumber-ruby-core/pull/150), [#149](https://github.com/cucumber/cucumber-ruby-core/issues/149) @brasmusson)

### Fixed

* Set message and backtrace for undefined result also when skipping (@brasmusson)
2018-09-23 14:59:34 +00:00
taca
3727331536 doc: Updated net/pear-Net_Sieve to 1.4.4 2018-09-23 14:58:07 +00:00
taca
3fe3ff1bc9 net/pear-Net_Sieve: update to 1.4.4
1.4.4 (2018-09-09 03:19 UTC)

Changelog:

* Fix PHP 7.3: Declaration of case-insensitive constants is deprecated
2018-09-23 14:57:48 +00:00
taca
a826b8e454 doc: Updated lang/pear to 1.10.6 2018-09-23 14:56:47 +00:00
taca
e010f78d9a lang/pear: update to 1.10.6
1.10.6 (2018-08-22 15:11 UTC)

Changelog:

* PR #70: Fix notice undefined variable metadata_dir
* PR #71: fix Warning: count(): Parameter must be an array or an object
* PR #74: Bug #23744 Remove is_executable check
* Bug #23744: The is_executable check in the Which method when run on Windows
  is unnecessary
* PR #75: Migrate old while(list() = each()) constructs to foreach
* PR #76: Fix PHP Warning: "continue" targeting switch is equivalent to
  "break"
* PR #77: proxy server auth
* PR #72: Correctly authenticate at proxy server
* PR #78: array or Countable error in 7.2
2018-09-23 14:56:26 +00:00
taca
f051489489 doc: Updated devel/ruby-octokit to 4.12.0 2018-09-23 14:55:12 +00:00
taca
cb655b059c devel/ruby-octokit: update to 4.12.0
4.12.0 (2018/09/11)

Support for additional APIs

* #1060 Add support for Transfer repository API
* #1070 Add support for List Assignees API
* #975 Add support for Community Profile API

Bugfixes

* #1069 Do not pass wrong params in org membership method

v4.11.0 (2018/08/30)

Code clean up

* #1054 Remove the :name key from #add_team_repository request

Documentation fixes

* #1050 Add in note about require
* #1056 Fixes documentation url for outside_collaborators

Existing endpoint changes

* #1055 Use new app installation token endpoint

Support new endpoints

* #1052 App installation finders

4.10.0 (2018/08/09)

Graduated preview periods

* #1020 Remove preview warning for marketplace API
* #1041 Remove marketplace preview warnings (we mean it, this time)
* #1042 Remove preview warning for Repository Invitations API
* #1047 Rework request review API to support team reviewers

Support for new endpoints

* #1044 Implement Topics API
* #990 Implement delete a pull request review request

Bugfixes

* #1025 Fix contributors endpoint for empty repos
* #1034 Duplicate option to prevent mutating original
* #1018 Convert OCTOKIT_SSL_VERIFY_MODE environment variable to integer

Enhancements

* #1021 Add Faraday retry middleware
* #1032 Use auto pagination when retrieving statuses

4.9.0 (2018/05/08)

Bugfixes

* #1006 Use Addressable::URI instead of stdlib URI for normalization
* #1003 Fix pagination of GitHub App endpoints
* #1000 Call dup on arguments before mutating

Documentation changes

* #969 Document the steps necessary to cut a release
* #972 Url to the review API was wrong
* #973 Fix pull_requests_comments example documentation
* #985 Add tag_name to update_release documentation
* #989 Command example fix in documentation.
* #1008 Fixes documentation for getting single issue comment
* #1011 Fix example call to Octokit.label

Enhancements

* #982 Be able to set an SSL verify mode on faraday
* #1009 Add missing remove_org_membership alias

Maintenance

* #970 Update Ruby versions for CI
* #961 Update VCR gem

Support for additional API endpoints

* #984 Add remove_assignees method to the client
* #959 Commit Search API preview
* #996 Add ability to list a single deployment, by id
2018-09-23 14:54:49 +00:00
taca
5f5e3ef0a7 doc: Updated devel/ruby-mocha to 1.7.0 2018-09-23 14:52:23 +00:00
taca
017a21ad22 devel/ruby-mocha: update to 1.7.0
## 1.7.0

* Update Ruby & JRuby versions in Travis CI config (9bf55631 & 3883af7e)
* Simplify gemspec (63744f86)
* Add rubocop and fix most cop violations (#341)
* Use Kernel#warn for deprecations - thanks to @etiennebarrie (#333, 196970a)

## 1.6.0

* Fix subtle bug in setting correct visibility of stubbed module methods on `Kernel` or `Object` - thanks to @chrisroos (#295)
* Avoid mocks for partial mocking leaking into subsequent tests - thanks to @skliew for reporting (#331)
* Remove OpenCollective badge, backers & sponsors (a283a079)
* Change gem version badge to SVG format and add SemVer stability badge - thanks to @greysteil (#335)
* Improve documentation for Configuration (#236)
2018-09-23 14:52:02 +00:00
taca
b01a2c269e doc: Updated devel/ruby-mixlib-shellout to 2.4.0 2018-09-23 14:51:26 +00:00
taca
2bf7457f6c devel/ruby-mixlib-shellout: update to 2.4.0
Release 2.4.0 (2018/07/23)

* Added username and password validation for elevated option on Windows
* Added support for setting sensitive so that potentially sensitive output is
  suppressed
2018-09-23 14:51:05 +00:00
taca
ad684f406b doc: Updated devel/ruby-mixlib-config to 2.2.13 2018-09-23 14:50:25 +00:00
taca
9f614ea2da devel/ruby-mixlib-config: update to 2.2.13
v2.2.13 (2018-07-12)

Merged Pull Requests

* Avoid converting to text representation when parsing JSON/TOML/etc #66
  (lamont-granquist)


v2.2.12 (2018-07-06)

Merged Pull Requests

* add is_default? inspection method #65 (lamont-granquist)


v2.2.11 (2018-07-02)

Merged Pull Requests

* key? and has_key? should find subcontexts #64 (lamont-granquist)


v2.2.10 (2018-07-02)

Merged Pull Requests

* remove hashrocket syntax #62 (lamont-granquist)
* add #key? alias to #has_key? #63 (lamont-granquist)


v2.2.8 (2018-06-13)

Merged Pull Requests

* fix style warnings with latest rubocop #60 (thommay)
* Fix config_context_list/hash in strict mode #57 (elyscape)
2018-09-23 14:50:04 +00:00
taca
4a5344426b doc: Updated devel/ruby-i18n to 1.1.0 2018-09-23 14:43:04 +00:00
taca
6d4fe27455 devel/ruby-i18n: update to 1.1.0
1.1.0	-- 2018/08/07

* Simplified default exception handler - #414
* Fallbacks now exclude default locale - #415, possibly fixes #413 + #338
* Fixed deprecated use of assert_nothing_raised #417
* Fixed pluralization behavior for KeyValue backend with subtrees disabled -
  #419
* Allow yaml file extension - #421


1.0.1	-- 2018/04/18

* Removed creation of some anonymous objects in I18n - #393
* Added missing key exception_handler to reserved keys - #412

Thanks to @stereobooster and @tjoyal.
2018-09-23 14:42:41 +00:00
taca
9aae4a89ee doc: Updated devel/ruby-filesize to 0.2.0 2018-09-23 14:40:27 +00:00
taca
e8190d0564 devel/ruby-filesize: update to 0.2.0
0.2.0							2018/09/04

* Include offending string in error message (#14)
  As an aid to debugging, including the string that filesize was unable to
  parse in the error message.

* Accept unicode space characters

  [[:space:]] includes unicode space characters too, so when Nokogiri
  interprets "12.3&nbsp;MiB" as "12.3\u00A0MiB", Filesize will still work.

  [[:blank:]] might be even better because it doesn't include newline and
  carriage returns.

* Support unit without B suffix

  e.g. Kubernetes uses this format:
  https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/#memory-units

* added precision parameter to to_s() and pretty(), fixes #21

* fixed an assignment typo
2018-09-23 14:40:00 +00:00
taca
131d58b13a doc: Removed net/bind99 2018-09-23 14:31:25 +00:00
taca
829a299f74 net/bind99: remove bind99
Remove bind99 from pkgsrc since BIND 9.9 became EOL on 30 June 2018.
2018-09-23 14:31:10 +00:00
taca
95a21b401c net/Makefile: remove bind99 2018-09-23 14:30:13 +00:00
leot
9ad7e9b0b2 doc/TODO: assign webkit-gtk 2.22.2 update to myself
(If you are curious and would like to test:

 <https://www.netbsd.org/~leot/pkgsrc-patches/webkit-gtk-2.22.2.patch>

However, it is probably safer to postpone that after 2018Q3.)
2018-09-23 14:29:41 +00:00
taca
aeaebac33f doc: Updated net/bind910 to 9.10.8pl1nb3 2018-09-23 14:27:45 +00:00
taca
b0ff66696c net/bind910: backport from bind911
Backport changes between BIND 9.11.4-P1 and 9.11.4-P2.

Bump PKGREVISION.
2018-09-23 14:27:07 +00:00
taca
8f7928ab67 doc: Updated devel/ruby-fast_gettext to 1.7.0 2018-09-23 14:25:11 +00:00
taca
45b70eac60 devel/ruby-fast_gettext: update to 1.7.0
1.7.0 (2018/06/23)

* Only take into account the first dot separeted part of the file name which
  matches an authorized locale code

* More straightforward implementation of fix for extracting locale from file
  name

* Add a comment on locale segmentation over several yaml files

* Extract locale from file name when they are formated as `some.topic.qq.yml`
2018-09-23 14:24:49 +00:00
taca
71cd086b9f doc: Updated devel/ruby-eventmachine to 1.2.7 2018-09-23 14:19:30 +00:00
taca
dc3c30bfcd devel/ruby-eventmachine: update to 1.2.7
## 1.2.7 (May 12, 2018)
* Fix segfault on large numbers of connections [#843]
2018-09-23 14:19:05 +00:00