asset_symlink 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 886e179f482561c592d62c5a30269bbb32db86a4
4
- data.tar.gz: 9a9787a2dbd5465fb985875cdefadb23ff224d4b
3
+ metadata.gz: 0f653f11927575868c5293b464c465a120147d03
4
+ data.tar.gz: 1e3b4df540e8af8cda325e4374bb900e6aebf922
5
5
  SHA512:
6
- metadata.gz: 190169f8d8b5f77a3dc0b54c5af215287bc1c7bc79701312fb18a5efb84f9856e29e943ee2fa46ed6a1e3cecb45155763958ce95c23922c00fec871597f63de6
7
- data.tar.gz: 0ecf05988f058d3d18d1860afd90801dbefcf6fde2c4fad7e1e92f4a91f6becba6d6cac2e0ec7da6188d9c645aaff4426b31b8371bb7562ec18ddaf573635736
6
+ metadata.gz: 2259de8c1a1dc937267f9904d495604a95998bce634ec51434da8e109ed476d26795f6f7b6249eadc2e27da903d7cef8588f25d5ace924a1dd07703ab6c75afb
7
+ data.tar.gz: c5fa5908996b9129b678ba3f18ffe0243a731c0e2b12a1e3dcfda8e83173a7120e972c7e05479d22304da9c4b48d7bacf8018776d443732c467c5e85d399a486
data/.travis.yml CHANGED
@@ -5,9 +5,7 @@ rvm:
5
5
  - 2.4.2
6
6
  install: bundle install
7
7
  gemfile:
8
- - Gemfile
9
- - gemfiles/4.0.gemfile
10
- - gemfiles/4.1.gemfile
11
- - gemfiles/4.2.gemfile
8
+ - gemfiles/4.2.10.gemfile
12
9
  - gemfiles/5.0.gemfile
13
10
  - gemfiles/5.1.gemfile
11
+ script: "bundle exec rake spec"
data/Appraisals CHANGED
@@ -1,11 +1,9 @@
1
- (0..2).each do |version|
2
- appraise "4.#{version}" do
3
- gem "rails", "4.#{version}"
4
- end
1
+ appraise "4.2.10" do
2
+ gem "rails", "4.2.10"
5
3
  end
6
4
 
7
5
  (0..1).each do |version|
8
6
  appraise "5.#{version}" do
9
- gem "rails", "5.#{version}"
7
+ gem "rails", "~> 5.#{version}.0"
10
8
  end
11
9
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "appraisal"
22
- spec.add_runtime_dependency "rails", '>=4', '<=5.1'
22
+ spec.add_runtime_dependency "rails", '>=4', '<5.2'
23
23
  spec.add_development_dependency "bundler", "~> 1.5"
24
24
  spec.add_development_dependency "rake", '< 11.0'
25
25
  spec.add_development_dependency "rspec", "~>2.14.0"
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "4.0"
5
+ gem "rails", "4.2.10"
6
6
  gem "appraisal"
7
7
 
8
8
  gemspec path: "../"
@@ -1,44 +1,43 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- asset_symlink (0.1.0)
5
- rails (>= 4, <= 5.1)
4
+ asset_symlink (0.3.0)
5
+ rails (>= 4, < 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (4.2.0)
11
- actionpack (= 4.2.0)
12
- actionview (= 4.2.0)
13
- activejob (= 4.2.0)
10
+ actionmailer (4.2.10)
11
+ actionpack (= 4.2.10)
12
+ actionview (= 4.2.10)
13
+ activejob (= 4.2.10)
14
14
  mail (~> 2.5, >= 2.5.4)
15
15
  rails-dom-testing (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.0)
17
- actionview (= 4.2.0)
18
- activesupport (= 4.2.0)
19
- rack (~> 1.6.0)
16
+ actionpack (4.2.10)
17
+ actionview (= 4.2.10)
18
+ activesupport (= 4.2.10)
19
+ rack (~> 1.6)
20
20
  rack-test (~> 0.6.2)
21
21
  rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
23
- actionview (4.2.0)
24
- activesupport (= 4.2.0)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.10)
24
+ activesupport (= 4.2.10)
25
25
  builder (~> 3.1)
26
26
  erubis (~> 2.7.0)
27
27
  rails-dom-testing (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
29
- activejob (4.2.0)
30
- activesupport (= 4.2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
+ activejob (4.2.10)
30
+ activesupport (= 4.2.10)
31
31
  globalid (>= 0.3.0)
32
- activemodel (4.2.0)
33
- activesupport (= 4.2.0)
32
+ activemodel (4.2.10)
33
+ activesupport (= 4.2.10)
34
34
  builder (~> 3.1)
35
- activerecord (4.2.0)
36
- activemodel (= 4.2.0)
37
- activesupport (= 4.2.0)
35
+ activerecord (4.2.10)
36
+ activemodel (= 4.2.10)
37
+ activesupport (= 4.2.10)
38
38
  arel (~> 6.0)
39
- activesupport (4.2.0)
39
+ activesupport (4.2.10)
40
40
  i18n (~> 0.7)
41
- json (~> 1.7, >= 1.7.7)
42
41
  minitest (~> 5.1)
43
42
  thread_safe (~> 0.3, >= 0.3.4)
44
43
  tzinfo (~> 1.1)
@@ -49,50 +48,48 @@ GEM
49
48
  arel (6.0.4)
50
49
  builder (3.2.3)
51
50
  concurrent-ruby (1.0.5)
52
- crass (1.0.2)
51
+ crass (1.0.3)
53
52
  diff-lcs (1.3)
54
53
  erubis (2.7.0)
55
- globalid (0.4.0)
54
+ globalid (0.4.1)
56
55
  activesupport (>= 4.2.0)
57
- i18n (0.8.6)
58
- json (1.8.6)
56
+ i18n (0.9.1)
57
+ concurrent-ruby (~> 1.0)
59
58
  loofah (2.1.1)
60
59
  crass (~> 1.0.2)
61
60
  nokogiri (>= 1.5.9)
62
- mail (2.6.6)
63
- mime-types (>= 1.16, < 4)
64
- mime-types (3.1)
65
- mime-types-data (~> 3.2015)
66
- mime-types-data (3.2016.0521)
61
+ mail (2.7.0)
62
+ mini_mime (>= 0.1.1)
63
+ mini_mime (1.0.0)
67
64
  mini_portile2 (2.3.0)
68
- minitest (5.10.3)
65
+ minitest (5.11.1)
69
66
  nokogiri (1.8.1)
70
67
  mini_portile2 (~> 2.3.0)
71
68
  rack (1.6.8)
72
69
  rack-test (0.6.3)
73
70
  rack (>= 1.0)
74
- rails (4.2.0)
75
- actionmailer (= 4.2.0)
76
- actionpack (= 4.2.0)
77
- actionview (= 4.2.0)
78
- activejob (= 4.2.0)
79
- activemodel (= 4.2.0)
80
- activerecord (= 4.2.0)
81
- activesupport (= 4.2.0)
71
+ rails (4.2.10)
72
+ actionmailer (= 4.2.10)
73
+ actionpack (= 4.2.10)
74
+ actionview (= 4.2.10)
75
+ activejob (= 4.2.10)
76
+ activemodel (= 4.2.10)
77
+ activerecord (= 4.2.10)
78
+ activesupport (= 4.2.10)
82
79
  bundler (>= 1.3.0, < 2.0)
83
- railties (= 4.2.0)
80
+ railties (= 4.2.10)
84
81
  sprockets-rails
85
82
  rails-deprecated_sanitizer (1.0.3)
86
83
  activesupport (>= 4.2.0.alpha)
87
- rails-dom-testing (1.0.8)
88
- activesupport (>= 4.2.0.beta, < 5.0)
84
+ rails-dom-testing (1.0.9)
85
+ activesupport (>= 4.2.0, < 5.0)
89
86
  nokogiri (~> 1.6)
90
87
  rails-deprecated_sanitizer (>= 1.0.1)
91
88
  rails-html-sanitizer (1.0.3)
92
89
  loofah (~> 2.0)
93
- railties (4.2.0)
94
- actionpack (= 4.2.0)
95
- activesupport (= 4.2.0)
90
+ railties (4.2.10)
91
+ actionpack (= 4.2.10)
92
+ activesupport (= 4.2.10)
96
93
  rake (>= 0.8.7)
97
94
  thor (>= 0.18.1, < 2.0)
98
95
  rake (10.5.0)
@@ -113,7 +110,7 @@ GEM
113
110
  sprockets (>= 3.0.0)
114
111
  thor (0.20.0)
115
112
  thread_safe (0.3.6)
116
- tzinfo (1.2.3)
113
+ tzinfo (1.2.4)
117
114
  thread_safe (~> 0.1)
118
115
 
119
116
  PLATFORMS
@@ -123,9 +120,9 @@ DEPENDENCIES
123
120
  appraisal
124
121
  asset_symlink!
125
122
  bundler (~> 1.5)
126
- rails (= 4.2)
123
+ rails (= 4.2.10)
127
124
  rake (< 11.0)
128
125
  rspec (~> 2.14.0)
129
126
 
130
127
  BUNDLED WITH
131
- 1.15.4
128
+ 1.16.0
data/gemfiles/5.0.gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.0"
5
+ gem "rails", "~> 5.0.0"
6
6
  gem "appraisal"
7
7
 
8
8
  gemspec path: "../"
@@ -1,45 +1,45 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- asset_symlink (0.1.0)
5
- rails (>= 4, <= 5.1)
4
+ asset_symlink (0.3.0)
5
+ rails (>= 4, < 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.0.0)
11
- actionpack (= 5.0.0)
12
- nio4r (~> 1.2)
10
+ actioncable (5.0.6)
11
+ actionpack (= 5.0.6)
12
+ nio4r (>= 1.2, < 3.0)
13
13
  websocket-driver (~> 0.6.1)
14
- actionmailer (5.0.0)
15
- actionpack (= 5.0.0)
16
- actionview (= 5.0.0)
17
- activejob (= 5.0.0)
14
+ actionmailer (5.0.6)
15
+ actionpack (= 5.0.6)
16
+ actionview (= 5.0.6)
17
+ activejob (= 5.0.6)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.0.0)
21
- actionview (= 5.0.0)
22
- activesupport (= 5.0.0)
20
+ actionpack (5.0.6)
21
+ actionview (= 5.0.6)
22
+ activesupport (= 5.0.6)
23
23
  rack (~> 2.0)
24
24
  rack-test (~> 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.0.0)
28
- activesupport (= 5.0.0)
27
+ actionview (5.0.6)
28
+ activesupport (= 5.0.6)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
- activejob (5.0.0)
34
- activesupport (= 5.0.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.0.6)
34
+ activesupport (= 5.0.6)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.0.0)
37
- activesupport (= 5.0.0)
38
- activerecord (5.0.0)
39
- activemodel (= 5.0.0)
40
- activesupport (= 5.0.0)
36
+ activemodel (5.0.6)
37
+ activesupport (= 5.0.6)
38
+ activerecord (5.0.6)
39
+ activemodel (= 5.0.6)
40
+ activesupport (= 5.0.6)
41
41
  arel (~> 7.0)
42
- activesupport (5.0.0)
42
+ activesupport (5.0.6)
43
43
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
44
  i18n (~> 0.7)
45
45
  minitest (~> 5.1)
@@ -51,49 +51,48 @@ GEM
51
51
  arel (7.1.4)
52
52
  builder (3.2.3)
53
53
  concurrent-ruby (1.0.5)
54
- crass (1.0.2)
54
+ crass (1.0.3)
55
55
  diff-lcs (1.3)
56
56
  erubis (2.7.0)
57
- globalid (0.4.0)
57
+ globalid (0.4.1)
58
58
  activesupport (>= 4.2.0)
59
- i18n (0.8.6)
59
+ i18n (0.9.1)
60
+ concurrent-ruby (~> 1.0)
60
61
  loofah (2.1.1)
61
62
  crass (~> 1.0.2)
62
63
  nokogiri (>= 1.5.9)
63
- mail (2.6.6)
64
- mime-types (>= 1.16, < 4)
64
+ mail (2.7.0)
65
+ mini_mime (>= 0.1.1)
65
66
  method_source (0.9.0)
66
- mime-types (3.1)
67
- mime-types-data (~> 3.2015)
68
- mime-types-data (3.2016.0521)
67
+ mini_mime (1.0.0)
69
68
  mini_portile2 (2.3.0)
70
- minitest (5.10.3)
71
- nio4r (1.2.1)
69
+ minitest (5.11.1)
70
+ nio4r (2.2.0)
72
71
  nokogiri (1.8.1)
73
72
  mini_portile2 (~> 2.3.0)
74
73
  rack (2.0.3)
75
74
  rack-test (0.6.3)
76
75
  rack (>= 1.0)
77
- rails (5.0.0)
78
- actioncable (= 5.0.0)
79
- actionmailer (= 5.0.0)
80
- actionpack (= 5.0.0)
81
- actionview (= 5.0.0)
82
- activejob (= 5.0.0)
83
- activemodel (= 5.0.0)
84
- activerecord (= 5.0.0)
85
- activesupport (= 5.0.0)
86
- bundler (>= 1.3.0, < 2.0)
87
- railties (= 5.0.0)
76
+ rails (5.0.6)
77
+ actioncable (= 5.0.6)
78
+ actionmailer (= 5.0.6)
79
+ actionpack (= 5.0.6)
80
+ actionview (= 5.0.6)
81
+ activejob (= 5.0.6)
82
+ activemodel (= 5.0.6)
83
+ activerecord (= 5.0.6)
84
+ activesupport (= 5.0.6)
85
+ bundler (>= 1.3.0)
86
+ railties (= 5.0.6)
88
87
  sprockets-rails (>= 2.0.0)
89
88
  rails-dom-testing (2.0.3)
90
89
  activesupport (>= 4.2.0)
91
90
  nokogiri (>= 1.6)
92
91
  rails-html-sanitizer (1.0.3)
93
92
  loofah (~> 2.0)
94
- railties (5.0.0)
95
- actionpack (= 5.0.0)
96
- activesupport (= 5.0.0)
93
+ railties (5.0.6)
94
+ actionpack (= 5.0.6)
95
+ activesupport (= 5.0.6)
97
96
  method_source
98
97
  rake (>= 0.8.7)
99
98
  thor (>= 0.18.1, < 2.0)
@@ -115,11 +114,11 @@ GEM
115
114
  sprockets (>= 3.0.0)
116
115
  thor (0.20.0)
117
116
  thread_safe (0.3.6)
118
- tzinfo (1.2.3)
117
+ tzinfo (1.2.4)
119
118
  thread_safe (~> 0.1)
120
119
  websocket-driver (0.6.5)
121
120
  websocket-extensions (>= 0.1.0)
122
- websocket-extensions (0.1.2)
121
+ websocket-extensions (0.1.3)
123
122
 
124
123
  PLATFORMS
125
124
  ruby
@@ -128,9 +127,9 @@ DEPENDENCIES
128
127
  appraisal
129
128
  asset_symlink!
130
129
  bundler (~> 1.5)
131
- rails (= 5.0)
130
+ rails (~> 5.0.0)
132
131
  rake (< 11.0)
133
132
  rspec (~> 2.14.0)
134
133
 
135
134
  BUNDLED WITH
136
- 1.15.4
135
+ 1.16.0
data/gemfiles/5.1.gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.1"
5
+ gem "rails", "~> 5.1.0"
6
6
  gem "appraisal"
7
7
 
8
8
  gemspec path: "../"
@@ -1,45 +1,45 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- asset_symlink (0.1.0)
5
- rails (>= 4, <= 5.1)
4
+ asset_symlink (0.3.0)
5
+ rails (>= 4, < 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.1.0)
11
- actionpack (= 5.1.0)
10
+ actioncable (5.1.4)
11
+ actionpack (= 5.1.4)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (~> 0.6.1)
14
- actionmailer (5.1.0)
15
- actionpack (= 5.1.0)
16
- actionview (= 5.1.0)
17
- activejob (= 5.1.0)
14
+ actionmailer (5.1.4)
15
+ actionpack (= 5.1.4)
16
+ actionview (= 5.1.4)
17
+ activejob (= 5.1.4)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.1.0)
21
- actionview (= 5.1.0)
22
- activesupport (= 5.1.0)
20
+ actionpack (5.1.4)
21
+ actionview (= 5.1.4)
22
+ activesupport (= 5.1.4)
23
23
  rack (~> 2.0)
24
- rack-test (~> 0.6.3)
24
+ rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.1.0)
28
- activesupport (= 5.1.0)
27
+ actionview (5.1.4)
28
+ activesupport (= 5.1.4)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.1.0)
34
- activesupport (= 5.1.0)
33
+ activejob (5.1.4)
34
+ activesupport (= 5.1.4)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.1.0)
37
- activesupport (= 5.1.0)
38
- activerecord (5.1.0)
39
- activemodel (= 5.1.0)
40
- activesupport (= 5.1.0)
36
+ activemodel (5.1.4)
37
+ activesupport (= 5.1.4)
38
+ activerecord (5.1.4)
39
+ activemodel (= 5.1.4)
40
+ activesupport (= 5.1.4)
41
41
  arel (~> 8.0)
42
- activesupport (5.1.0)
42
+ activesupport (5.1.4)
43
43
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
44
  i18n (~> 0.7)
45
45
  minitest (~> 5.1)
@@ -51,49 +51,48 @@ GEM
51
51
  arel (8.0.0)
52
52
  builder (3.2.3)
53
53
  concurrent-ruby (1.0.5)
54
- crass (1.0.2)
54
+ crass (1.0.3)
55
55
  diff-lcs (1.3)
56
- erubi (1.6.1)
57
- globalid (0.4.0)
56
+ erubi (1.7.0)
57
+ globalid (0.4.1)
58
58
  activesupport (>= 4.2.0)
59
- i18n (0.8.6)
59
+ i18n (0.9.1)
60
+ concurrent-ruby (~> 1.0)
60
61
  loofah (2.1.1)
61
62
  crass (~> 1.0.2)
62
63
  nokogiri (>= 1.5.9)
63
- mail (2.6.6)
64
- mime-types (>= 1.16, < 4)
64
+ mail (2.7.0)
65
+ mini_mime (>= 0.1.1)
65
66
  method_source (0.9.0)
66
- mime-types (3.1)
67
- mime-types-data (~> 3.2015)
68
- mime-types-data (3.2016.0521)
67
+ mini_mime (1.0.0)
69
68
  mini_portile2 (2.3.0)
70
- minitest (5.10.3)
71
- nio4r (2.1.0)
69
+ minitest (5.11.1)
70
+ nio4r (2.2.0)
72
71
  nokogiri (1.8.1)
73
72
  mini_portile2 (~> 2.3.0)
74
73
  rack (2.0.3)
75
- rack-test (0.6.3)
76
- rack (>= 1.0)
77
- rails (5.1.0)
78
- actioncable (= 5.1.0)
79
- actionmailer (= 5.1.0)
80
- actionpack (= 5.1.0)
81
- actionview (= 5.1.0)
82
- activejob (= 5.1.0)
83
- activemodel (= 5.1.0)
84
- activerecord (= 5.1.0)
85
- activesupport (= 5.1.0)
86
- bundler (>= 1.3.0, < 2.0)
87
- railties (= 5.1.0)
74
+ rack-test (0.8.2)
75
+ rack (>= 1.0, < 3)
76
+ rails (5.1.4)
77
+ actioncable (= 5.1.4)
78
+ actionmailer (= 5.1.4)
79
+ actionpack (= 5.1.4)
80
+ actionview (= 5.1.4)
81
+ activejob (= 5.1.4)
82
+ activemodel (= 5.1.4)
83
+ activerecord (= 5.1.4)
84
+ activesupport (= 5.1.4)
85
+ bundler (>= 1.3.0)
86
+ railties (= 5.1.4)
88
87
  sprockets-rails (>= 2.0.0)
89
88
  rails-dom-testing (2.0.3)
90
89
  activesupport (>= 4.2.0)
91
90
  nokogiri (>= 1.6)
92
91
  rails-html-sanitizer (1.0.3)
93
92
  loofah (~> 2.0)
94
- railties (5.1.0)
95
- actionpack (= 5.1.0)
96
- activesupport (= 5.1.0)
93
+ railties (5.1.4)
94
+ actionpack (= 5.1.4)
95
+ activesupport (= 5.1.4)
97
96
  method_source
98
97
  rake (>= 0.8.7)
99
98
  thor (>= 0.18.1, < 2.0)
@@ -115,11 +114,11 @@ GEM
115
114
  sprockets (>= 3.0.0)
116
115
  thor (0.20.0)
117
116
  thread_safe (0.3.6)
118
- tzinfo (1.2.3)
117
+ tzinfo (1.2.4)
119
118
  thread_safe (~> 0.1)
120
119
  websocket-driver (0.6.5)
121
120
  websocket-extensions (>= 0.1.0)
122
- websocket-extensions (0.1.2)
121
+ websocket-extensions (0.1.3)
123
122
 
124
123
  PLATFORMS
125
124
  ruby
@@ -128,9 +127,9 @@ DEPENDENCIES
128
127
  appraisal
129
128
  asset_symlink!
130
129
  bundler (~> 1.5)
131
- rails (= 5.1)
130
+ rails (~> 5.1.0)
132
131
  rake (< 11.0)
133
132
  rspec (~> 2.14.0)
134
133
 
135
134
  BUNDLED WITH
136
- 1.15.4
135
+ 1.16.0
@@ -1,3 +1,3 @@
1
1
  module AssetSymlink
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/asset_symlink.rb CHANGED
@@ -7,7 +7,12 @@ module AssetSymlink
7
7
  asset = if !Rails.application.assets.nil?
8
8
  Rails.application.assets.find_asset(private_name).digest_path
9
9
  else
10
- Rails.application.assets_manifest.assets[private_name]
10
+ manifest = if Sprockets::Railtie.respond_to?(:build_manifest)
11
+ Sprockets::Railtie.build_manifest(Rails.application)
12
+ else
13
+ Rails.application.assets_manifest
14
+ end
15
+ manifest.assets[private_name]
11
16
  end
12
17
  digested_location = Rails.root.join('public','assets', asset)
13
18
  public_location = Rails.root.join('public','assets',public_name)
@@ -19,6 +19,7 @@ module Dummy
19
19
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
20
20
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
21
21
  # config.i18n.default_locale = :de
22
+ config.assets.compile = false
22
23
  config.assets.precompile += ['3rdparty/lib.js']
23
24
  config.asset_symlink = ['application.js', {'3rdparty/lib.js' => '3rdparty/all.js'}]
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_symlink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick Cheung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -31,9 +31,9 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4'
34
- - - "<="
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '5.1'
36
+ version: '5.2'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -41,9 +41,9 @@ dependencies:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
43
  version: '4'
44
- - - "<="
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.1'
46
+ version: '5.2'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -101,12 +101,8 @@ files:
101
101
  - README.md
102
102
  - Rakefile
103
103
  - asset_symlink.gemspec
104
- - gemfiles/4.0.gemfile
105
- - gemfiles/4.0.gemfile.lock
106
- - gemfiles/4.1.gemfile
107
- - gemfiles/4.1.gemfile.lock
108
- - gemfiles/4.2.gemfile
109
- - gemfiles/4.2.gemfile.lock
104
+ - gemfiles/4.2.10.gemfile
105
+ - gemfiles/4.2.10.gemfile.lock
110
106
  - gemfiles/5.0.gemfile
111
107
  - gemfiles/5.0.gemfile.lock
112
108
  - gemfiles/5.1.gemfile
@@ -169,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
165
  version: '0'
170
166
  requirements: []
171
167
  rubyforge_project:
172
- rubygems_version: 2.6.13
168
+ rubygems_version: 2.6.14
173
169
  signing_key:
174
170
  specification_version: 4
175
171
  summary: easily make assets available under a consistent public name
@@ -1,105 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- asset_symlink (0.1.0)
5
- rails (>= 4, <= 5.1)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.0.0)
11
- actionpack (= 4.0.0)
12
- mail (~> 2.5.3)
13
- actionpack (4.0.0)
14
- activesupport (= 4.0.0)
15
- builder (~> 3.1.0)
16
- erubis (~> 2.7.0)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- activemodel (4.0.0)
20
- activesupport (= 4.0.0)
21
- builder (~> 3.1.0)
22
- activerecord (4.0.0)
23
- activemodel (= 4.0.0)
24
- activerecord-deprecated_finders (~> 1.0.2)
25
- activesupport (= 4.0.0)
26
- arel (~> 4.0.0)
27
- activerecord-deprecated_finders (1.0.4)
28
- activesupport (4.0.0)
29
- i18n (~> 0.6, >= 0.6.4)
30
- minitest (~> 4.2)
31
- multi_json (~> 1.3)
32
- thread_safe (~> 0.1)
33
- tzinfo (~> 0.3.37)
34
- appraisal (2.2.0)
35
- bundler
36
- rake
37
- thor (>= 0.14.0)
38
- arel (4.0.2)
39
- builder (3.1.4)
40
- diff-lcs (1.3)
41
- erubis (2.7.0)
42
- hike (1.2.3)
43
- i18n (0.8.6)
44
- mail (2.5.5)
45
- mime-types (~> 1.16)
46
- treetop (~> 1.4.8)
47
- mime-types (1.25.1)
48
- minitest (4.7.5)
49
- multi_json (1.12.2)
50
- polyglot (0.3.5)
51
- rack (1.5.5)
52
- rack-test (0.6.3)
53
- rack (>= 1.0)
54
- rails (4.0.0)
55
- actionmailer (= 4.0.0)
56
- actionpack (= 4.0.0)
57
- activerecord (= 4.0.0)
58
- activesupport (= 4.0.0)
59
- bundler (>= 1.3.0, < 2.0)
60
- railties (= 4.0.0)
61
- sprockets-rails (~> 2.0.0)
62
- railties (4.0.0)
63
- actionpack (= 4.0.0)
64
- activesupport (= 4.0.0)
65
- rake (>= 0.8.7)
66
- thor (>= 0.18.1, < 2.0)
67
- rake (10.5.0)
68
- rspec (2.14.1)
69
- rspec-core (~> 2.14.0)
70
- rspec-expectations (~> 2.14.0)
71
- rspec-mocks (~> 2.14.0)
72
- rspec-core (2.14.8)
73
- rspec-expectations (2.14.5)
74
- diff-lcs (>= 1.1.3, < 2.0)
75
- rspec-mocks (2.14.6)
76
- sprockets (2.12.4)
77
- hike (~> 1.2)
78
- multi_json (~> 1.0)
79
- rack (~> 1.0)
80
- tilt (~> 1.1, != 1.3.0)
81
- sprockets-rails (2.0.1)
82
- actionpack (>= 3.0)
83
- activesupport (>= 3.0)
84
- sprockets (~> 2.8)
85
- thor (0.20.0)
86
- thread_safe (0.3.6)
87
- tilt (1.4.1)
88
- treetop (1.4.15)
89
- polyglot
90
- polyglot (>= 0.3.1)
91
- tzinfo (0.3.53)
92
-
93
- PLATFORMS
94
- ruby
95
-
96
- DEPENDENCIES
97
- appraisal
98
- asset_symlink!
99
- bundler (~> 1.5)
100
- rails (= 4.0)
101
- rake (< 11.0)
102
- rspec (~> 2.14.0)
103
-
104
- BUNDLED WITH
105
- 1.15.4
data/gemfiles/4.1.gemfile DELETED
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.1"
6
- gem "appraisal"
7
-
8
- gemspec path: "../"
@@ -1,107 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- asset_symlink (0.1.0)
5
- rails (>= 4, <= 5.1)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.1.0)
11
- actionpack (= 4.1.0)
12
- actionview (= 4.1.0)
13
- mail (~> 2.5.4)
14
- actionpack (4.1.0)
15
- actionview (= 4.1.0)
16
- activesupport (= 4.1.0)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- actionview (4.1.0)
20
- activesupport (= 4.1.0)
21
- builder (~> 3.1)
22
- erubis (~> 2.7.0)
23
- activemodel (4.1.0)
24
- activesupport (= 4.1.0)
25
- builder (~> 3.1)
26
- activerecord (4.1.0)
27
- activemodel (= 4.1.0)
28
- activesupport (= 4.1.0)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.0)
31
- i18n (~> 0.6, >= 0.6.9)
32
- json (~> 1.7, >= 1.7.7)
33
- minitest (~> 5.1)
34
- thread_safe (~> 0.1)
35
- tzinfo (~> 1.1)
36
- appraisal (2.2.0)
37
- bundler
38
- rake
39
- thor (>= 0.14.0)
40
- arel (5.0.1.20140414130214)
41
- builder (3.2.3)
42
- concurrent-ruby (1.0.5)
43
- diff-lcs (1.3)
44
- erubis (2.7.0)
45
- i18n (0.8.6)
46
- json (1.8.6)
47
- mail (2.5.5)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.25.1)
51
- minitest (5.10.3)
52
- polyglot (0.3.5)
53
- rack (1.5.5)
54
- rack-test (0.6.3)
55
- rack (>= 1.0)
56
- rails (4.1.0)
57
- actionmailer (= 4.1.0)
58
- actionpack (= 4.1.0)
59
- actionview (= 4.1.0)
60
- activemodel (= 4.1.0)
61
- activerecord (= 4.1.0)
62
- activesupport (= 4.1.0)
63
- bundler (>= 1.3.0, < 2.0)
64
- railties (= 4.1.0)
65
- sprockets-rails (~> 2.0)
66
- railties (4.1.0)
67
- actionpack (= 4.1.0)
68
- activesupport (= 4.1.0)
69
- rake (>= 0.8.7)
70
- thor (>= 0.18.1, < 2.0)
71
- rake (10.5.0)
72
- rspec (2.14.1)
73
- rspec-core (~> 2.14.0)
74
- rspec-expectations (~> 2.14.0)
75
- rspec-mocks (~> 2.14.0)
76
- rspec-core (2.14.8)
77
- rspec-expectations (2.14.5)
78
- diff-lcs (>= 1.1.3, < 2.0)
79
- rspec-mocks (2.14.6)
80
- sprockets (3.7.1)
81
- concurrent-ruby (~> 1.0)
82
- rack (> 1, < 3)
83
- sprockets-rails (2.3.3)
84
- actionpack (>= 3.0)
85
- activesupport (>= 3.0)
86
- sprockets (>= 2.8, < 4.0)
87
- thor (0.20.0)
88
- thread_safe (0.3.6)
89
- treetop (1.4.15)
90
- polyglot
91
- polyglot (>= 0.3.1)
92
- tzinfo (1.2.3)
93
- thread_safe (~> 0.1)
94
-
95
- PLATFORMS
96
- ruby
97
-
98
- DEPENDENCIES
99
- appraisal
100
- asset_symlink!
101
- bundler (~> 1.5)
102
- rails (= 4.1)
103
- rake (< 11.0)
104
- rspec (~> 2.14.0)
105
-
106
- BUNDLED WITH
107
- 1.15.4
data/gemfiles/4.2.gemfile DELETED
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.2"
6
- gem "appraisal"
7
-
8
- gemspec path: "../"