jekyll-minibundle 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,14 +15,14 @@ module Jekyll::Minibundle::Test
15
15
 
16
16
  assert stamp_file.write('_site')
17
17
 
18
- org_mtime = mtime_of(old_destination)
18
+ org_mtime = file_mtime_of(old_destination)
19
19
  last_markup = stamp_file.destination_path_for_markup
20
20
  ensure_file_mtime_changes { File.write(source, 'h1 {}') }
21
21
 
22
22
  # preserve fingerprint and content seen in last markup phase
23
23
  refute stamp_file.write('_site')
24
24
  assert_equal org_markup, last_markup
25
- assert_equal org_mtime, mtime_of(old_destination)
25
+ assert_equal org_mtime, file_mtime_of(old_destination)
26
26
  assert_equal File.read(site_fixture_path(STAMP_SOURCE_PATH)), File.read(old_destination)
27
27
 
28
28
  last_markup = stamp_file.destination_path_for_markup
@@ -33,7 +33,7 @@ module Jekyll::Minibundle::Test
33
33
 
34
34
  # see updated fingerprint in the next round
35
35
  refute_equal org_markup, last_markup
36
- assert_operator mtime_of(new_destination), :>, org_mtime
36
+ assert_operator file_mtime_of(new_destination), :>, org_mtime
37
37
  assert_equal File.read(source), File.read(new_destination)
38
38
  end
39
39
  end
@@ -48,14 +48,14 @@ module Jekyll::Minibundle::Test
48
48
 
49
49
  assert stamp_file.write('_site')
50
50
 
51
- org_mtime = mtime_of(destination)
51
+ org_mtime = file_mtime_of(destination)
52
52
  ensure_file_mtime_changes { FileUtils.touch(source) }
53
53
  last_markup = stamp_file.destination_path_for_markup
54
54
  stamp_file.destination_path_for_markup
55
55
 
56
56
  assert stamp_file.write('_site')
57
57
  assert_equal org_markup, last_markup
58
- assert_operator mtime_of(destination), :>, org_mtime
58
+ assert_operator file_mtime_of(destination), :>, org_mtime
59
59
  assert_equal File.read(source), File.read(destination)
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-minibundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tuomas Kareinen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2017-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,40 +52,54 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.10'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '11.1'
75
+ version: '12.0'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '11.1'
82
+ version: '12.0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 0.39.0
89
+ version: 0.46.0
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 0.39.0
96
+ version: 0.46.0
83
97
  description: |
84
98
  A straightforward asset bundling plugin for Jekyll, utilizing external
85
99
  minification tool of your choice. It provides asset concatenation for
86
- bundling and asset fingerprinting with MD5 digest for cache
87
- busting. There are no other runtime dependencies besides the
88
- minification tool (not even other gems).
100
+ bundling and asset fingerprinting with MD5 digest for cache busting.
101
+ There are no other runtime dependencies besides the minification tool
102
+ (not even other gems).
89
103
  email: tkareine@gmail.com
90
104
  executables: []
91
105
  extensions: []
@@ -175,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
189
  version: '0'
176
190
  requirements: []
177
191
  rubyforge_project:
178
- rubygems_version: 2.6.4
192
+ rubygems_version: 2.6.8
179
193
  signing_key:
180
194
  specification_version: 4
181
195
  summary: A minimalistic asset bundling plugin for Jekyll