%global debug_package %{nil}
%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
%global gem_name thread_safe
Name: rubygem-thread_safe
Version: 0.3.6
Release: 2%{?dist}
Summary: Thread safe programming support for Ruby.
Group: Development/Languages
License: MIT
URL: https://rubygems.org/gems/activesupport/thread_safe/%{version}
Source0: https://rubygems.org/downloads/thread_safe-%{version}.gem
%define sha1 thread_safe=5a60162d065d0f479d61ba0a11734b44f5f7ef19
BuildRequires: ruby
%description
A collection of data structures and utilities to make thread-safe programming in Ruby easier
%prep
%setup -q -c -T
%build
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Mon Feb 4 2019 Sujay G <gsujay@vmware.com> 0.3.6-2
- Increment the release version as part of ruby upgrade
* Fri Aug 25 2017 Kumar Kaushik <kaushikk@vmware.com> 0.3.6-1
- Initial build