Re: new gemspec behavior in rawhide
On 11/26/2016 12:31 PM, Mamoru TASAKA wrote: > Dusty Mabe wrote on 11/27/2016 01:35 AM: >> >> Hey all, >> >> In my vagrant-sshfs rpm i call `gem spec` here [0]. In rawhide vs f25 I get >> differing >> outputs. Basically in rawhide I get a bunch of `.freeze` added to my strings >> like: >> >> s.authors = ["Dusty Mabe".freeze] >> >> See the full diff at [1]. This is causing pain for me because I actually >> patch the >> gemspec file. Was this a desired change? >> >> Thanks, >> Dusty >> >> [0] >> http://pkgs.fedoraproject.org/cgit/rpms/vagrant-sshfs.git/tree/vagrant-sshfs.spec?h=f25#n43 >> [1] >> https://gist.github.com/dustymabe/b8a467581c9b5ee4473c1649e6c6aacc/revisions > > This change was introduced in ruby 2.3.2 . See ruby-sig discussion: > https://lists.fedoraproject.org/archives/list/ruby-...@lists.fedoraproject.org/thread/PP6SA43POR5OL34BCQMIORTTMPB3NWIN/ Thanks for the pointer. Dusty ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: new gemspec behavior in rawhide
Dusty Mabe wrote on 11/27/2016 01:35 AM: Hey all, In my vagrant-sshfs rpm i call `gem spec` here [0]. In rawhide vs f25 I get differing outputs. Basically in rawhide I get a bunch of `.freeze` added to my strings like: s.authors = ["Dusty Mabe".freeze] See the full diff at [1]. This is causing pain for me because I actually patch the gemspec file. Was this a desired change? Thanks, Dusty [0] http://pkgs.fedoraproject.org/cgit/rpms/vagrant-sshfs.git/tree/vagrant-sshfs.spec?h=f25#n43 [1] https://gist.github.com/dustymabe/b8a467581c9b5ee4473c1649e6c6aacc/revisions This change was introduced in ruby 2.3.2 . See ruby-sig discussion: https://lists.fedoraproject.org/archives/list/ruby-...@lists.fedoraproject.org/thread/PP6SA43POR5OL34BCQMIORTTMPB3NWIN/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: new gemspec behavior in rawhide
On 26/11/16 16:35, Dusty Mabe wrote: In my vagrant-sshfs rpm i call `gem spec` here [0]. In rawhide vs f25 I get differing outputs. Basically in rawhide I get a bunch of `.freeze` added to my strings like: s.authors = ["Dusty Mabe".freeze] See the full diff at [1]. This is causing pain for me because I actually patch the gemspec file. Was this a desired change? I imagine it's an upstream change that has reached Fedora via an update to a new version of rubygems, so nothing to do with Fedora as such. Calling freeze makes the string immutable, so it doesn't seem like an unreasonable change for upstream to have made. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
new gemspec behavior in rawhide
Hey all, In my vagrant-sshfs rpm i call `gem spec` here [0]. In rawhide vs f25 I get differing outputs. Basically in rawhide I get a bunch of `.freeze` added to my strings like: s.authors = ["Dusty Mabe".freeze] See the full diff at [1]. This is causing pain for me because I actually patch the gemspec file. Was this a desired change? Thanks, Dusty [0] http://pkgs.fedoraproject.org/cgit/rpms/vagrant-sshfs.git/tree/vagrant-sshfs.spec?h=f25#n43 [1] https://gist.github.com/dustymabe/b8a467581c9b5ee4473c1649e6c6aacc/revisions ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org