<commit_before>{% set name = "cool.io" %}
{% set version = "1.5.4" %}

package:
  name: rb-{{ name|lower }}
  version: {{ version }}

source:
  url: https://rubygems.org/downloads/{{ name }}-{{ version }}.gem
  sha256: 35fce51e731e56052ae63a180aa6f01de3677ff80a2382934085e687c7370351

build:
  number: 0
  script:
    - gem install -N -l -V --norc --ignore-dependencies {{ name }}-{{ version }}.gem
      {%- for e in [ "cool.io", "iobuffer" ] -%}
      && make -C {{ PREFIX }}/lib/ruby/gems/{{ ruby }}.0/gems/{{ name }}-{{ version }}/ext/{{ e }} clean
      {%- endfor -%}
      && gem unpack {{ name }}-{{ version }}.gem
  skip: {{ win }}

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - ruby {{ ruby }}
  run:
    - ruby {{ ruby }}

test:
  commands:
    - ruby -r {{ name }} -e 'exit 0'

about:
  home: https://rubygems.org/gems/{{ name }}
  license: MIT & BSD-2-Clause<commit_msg>Remove {{ ruby }} entry, it is unecessary<commit_after>{% set name = "cool.io" %}
{% set version = "1.5.4" %}

package:
  name: rb-{{ name|lower }}
  version: {{ version }}

source:
  url: https://rubygems.org/downloads/{{ name }}-{{ version }}.gem
  sha256: 35fce51e731e56052ae63a180aa6f01de3677ff80a2382934085e687c7370351

build:
  number: 0
  script:
    - gem install -N -l -V --norc --ignore-dependencies {{ name }}-{{ version }}.gem
      {%- for e in [ "cool.io", "iobuffer" ] -%}
      && make -C {{ PREFIX }}/lib/ruby/gems/{{ ruby }}.0/gems/{{ name }}-{{ version }}/ext/{{ e }} clean
      {%- endfor -%}
      && gem unpack {{ name }}-{{ version }}.gem
  skip: {{ win }}

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - ruby
  run:
    - ruby

test:
  commands:
    - ruby -r {{ name }} -e 'exit 0'

about:
  home: https://rubygems.org/gems/{{ name }}
  license: MIT & BSD-2-Clause
{'fraction_non_alphanumeric': 0.2131782945736434, 'fraction_numerical': 0.06201550387596899, 'mean_word_length': 2.5711462450592886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6484377', 'n_tokens_mistral': 796, 'n_tokens_neox': 698, 'n_words': 168}