opal / opal-sprockets

Sprockets support for Opal (used to be embedded into Opal from v0.6 up to v0.10)
29 stars 17 forks source link

Proper version of opal-sprockets in gemspec #21

Closed fazibear closed 4 years ago

fazibear commented 4 years ago

Right now I've got version specified like this in my gemspec:

  s.add_dependency 'opal-sprockets'

If I remember correctly we've talked about it. opal-sprockets versions should be fetched automatically.

The problem:

Bundler for some reason uses newest sprockets 4.0.2 and old opal-sprockets 0.0.1.

What version of opal-sprockets should I use in gemspec file?

UPDATE:

Declaring version like this works fine, and allow to choose version automatically. Right?

  s.add_dependency 'opal-sprockets', '> 0.3'