Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 38a7f68

Browse files
committed
fix versioning
1 parent 3a9d026 commit 38a7f68

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

hyperloop.gemspec

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
lib = File.expand_path('../lib', __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require 'hyperloop/version'
5-
GEM_VERSION = Hyperloop::VERSION
65
require '../hyper-router/lib/hyper-router/version'
7-
ROUTER_VERSION = HyperRouter::VERSION
86

97
Gem::Specification.new do |spec|
108
spec.name = 'hyperloop'
@@ -22,9 +20,9 @@ Gem::Specification.new do |spec|
2220
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(tasks)/}) }
2321
spec.require_paths = ['lib']
2422

25-
spec.add_dependency 'hyper-model', GEM_VERSION
26-
spec.add_dependency 'hyper-router', ROUTER_VERSION
27-
spec.add_dependency 'hyperloop-config', GEM_VERSION
23+
spec.add_dependency 'hyper-model', Hyperloop::VERSION
24+
spec.add_dependency 'hyper-router', HyperRouter::VERSION
25+
spec.add_dependency 'hyperloop-config', Hyperloop::VERSION
2826
spec.add_dependency 'opal-browser', '~> 0.2.0'
2927
spec.add_dependency 'opal-rails', '~> 0.9.3'
3028
spec.add_dependency 'react-rails', '>= 2.3.0', '< 2.5.0'

0 commit comments

Comments
 (0)