sportweb 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sportweb/boot_with_bundler.rb +15 -3
- data/lib/sportweb/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2c72f1eb0e47048e017a5f59eae0ea38e068085
|
4
|
+
data.tar.gz: 0bccac45e24d58a5bacf71ad39ae3bbdca9e1df6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ebf1cdc93ac1ece836c0e12bff3f39e6d256aeeb738a8e79bc95944bd19a24d3bc63972f19d9a057a6fd3351a73312756f3ed6c9301d0e2a9b74332a7d0a29c
|
7
|
+
data.tar.gz: 7081a5ede6e12ddc728ac4377a3d7a75e0127225a1009f98ec10871235ae7239a84f67c0dad90c56171264eeb7956ab8f92fcd63c1276a36f8092973465fbe95
|
@@ -31,8 +31,21 @@ require 'pp'
|
|
31
31
|
# use BUNDLE_GEMFILE env variable to
|
32
32
|
# tell bundler where the Gemfile is
|
33
33
|
|
34
|
+
puts "SportWeb.root: >>#{SportWeb.root}<<"
|
35
|
+
|
34
36
|
puts "ENV['BUNDLE_GEMFILE']=>>#{ENV['BUNDLE_GEMFILE']}<<"
|
35
|
-
|
37
|
+
|
38
|
+
## check if BUNDLE_GEMFILE env present/set? why? why not?
|
39
|
+
## for now check if Gemfile exists in working (current) dir? if yes, use it
|
40
|
+
|
41
|
+
if File.exist?( "./Gemfile")
|
42
|
+
puts "using local Gemfile"
|
43
|
+
ENV['BUNDLE_GEMFILE'] = "./Gemfile"
|
44
|
+
else
|
45
|
+
puts "using built-in Gemfile (shipping with sportweb gem)"
|
46
|
+
ENV['BUNDLE_GEMFILE'] = "#{SportWeb.root}/Gemfile"
|
47
|
+
end
|
48
|
+
|
36
49
|
puts "ENV['BUNDLE_GEMFILE']=>>#{ENV['BUNDLE_GEMFILE']}<<"
|
37
50
|
|
38
51
|
puts "load_path before:"
|
@@ -51,7 +64,7 @@ pp $:
|
|
51
64
|
# and just require the gems by hand (especially given the need
|
52
65
|
# to put in a :require directive in the Gemfile).
|
53
66
|
# For much larger Gemfiles, using Bundler.require allows
|
54
|
-
# you to skip repeating a large stack of requirements.
|
67
|
+
# you to skip repeating a large stack of requirements.
|
55
68
|
|
56
69
|
puts '[boot] before Bundler.require'
|
57
70
|
Bundler.require(:default, ENV['RACK_ENV'].to_sym)
|
@@ -96,4 +109,3 @@ puts '[boot] after require sportweb/app'
|
|
96
109
|
|
97
110
|
|
98
111
|
puts '[boot] leave boot_with_bundler.rb'
|
99
|
-
|
data/lib/sportweb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportweb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -254,14 +254,14 @@ dependencies:
|
|
254
254
|
requirements:
|
255
255
|
- - '='
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: 1.2.0.1
|
257
|
+
version: 1.2.0.1
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - '='
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: 1.2.0.1
|
264
|
+
version: 1.2.0.1
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: fetcher
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -450,14 +450,14 @@ dependencies:
|
|
450
450
|
requirements:
|
451
451
|
- - '='
|
452
452
|
- !ruby/object:Gem::Version
|
453
|
-
version: 1.6.8.1
|
453
|
+
version: 1.6.8.1
|
454
454
|
type: :runtime
|
455
455
|
prerelease: false
|
456
456
|
version_requirements: !ruby/object:Gem::Requirement
|
457
457
|
requirements:
|
458
458
|
- - '='
|
459
459
|
- !ruby/object:Gem::Version
|
460
|
-
version: 1.6.8.1
|
460
|
+
version: 1.6.8.1
|
461
461
|
- !ruby/object:Gem::Dependency
|
462
462
|
name: persondb-models
|
463
463
|
requirement: !ruby/object:Gem::Requirement
|
@@ -744,14 +744,14 @@ dependencies:
|
|
744
744
|
requirements:
|
745
745
|
- - '='
|
746
746
|
- !ruby/object:Gem::Version
|
747
|
-
version: 1.3.11
|
747
|
+
version: 1.3.11
|
748
748
|
type: :runtime
|
749
749
|
prerelease: false
|
750
750
|
version_requirements: !ruby/object:Gem::Requirement
|
751
751
|
requirements:
|
752
752
|
- - '='
|
753
753
|
- !ruby/object:Gem::Version
|
754
|
-
version: 1.3.11
|
754
|
+
version: 1.3.11
|
755
755
|
- !ruby/object:Gem::Dependency
|
756
756
|
name: tagutils
|
757
757
|
requirement: !ruby/object:Gem::Requirement
|
@@ -978,7 +978,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
978
978
|
version: '0'
|
979
979
|
requirements: []
|
980
980
|
rubyforge_project:
|
981
|
-
rubygems_version: 2.
|
981
|
+
rubygems_version: 2.6.7
|
982
982
|
signing_key:
|
983
983
|
specification_version: 4
|
984
984
|
summary: sportweb - instant open sports web browser command line tool
|