middleman-vcs-time 0.0.1 → 0.0.2

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: 8419316a8a532e9570bbdbe24ce377b32deb9f73
4
- data.tar.gz: 4a9351146191c762c070723d114b0cf7e4697f9d
3
+ metadata.gz: c3c57d4010d8e3812669ada2d2c441090c50337d
4
+ data.tar.gz: 546359e518647b00920466f4fa2a521320a061bf
5
5
  SHA512:
6
- metadata.gz: 40cf40fe1966d1ec79b31f4df85fee42d4ad5a87a735e57568c531aa37ecf81bf48de2b19093e53a3494f79d553eeb4320c665c67965fcbf686b26538de17dba
7
- data.tar.gz: db3ef3a2d71e357479f37aeecdcb01e58c4460b548d987d85455ce511365363e379465bdb6a6ac5ff5bb8d9701ef8684fe0d91818ae94a619c6699849a2de23f
6
+ metadata.gz: b6655ff092f0767d93903fbaa0fd96486e408e8519869f68a3e9b138c6df363d1a3ff5cf81a59bf28d98567137aa7022e029bab2c54b22080297a0d60a4045ad
7
+ data.tar.gz: 36067bc635df446d34becf91858b436081f5e6069c9b07e3b485da75be50d3b90542f521716082217580f8090f6c14b566fbb6c7a5f624b129e14aeb029364e4
@@ -0,0 +1,9 @@
1
+ before_install:
2
+ - sudo apt-get install --quiet git
3
+ env:
4
+ - CUCUMBER_FORMAT=pretty
5
+ language: ruby
6
+ rvm:
7
+ - 2.0.0
8
+ - 2.1.0
9
+ script: bundle exec rake test
data/Gemfile CHANGED
@@ -6,6 +6,8 @@ group :development do
6
6
  gem 'middleman', github: 'middleman/middleman', branch: 'v3-stable'
7
7
  gem 'rake'
8
8
  gem 'rdoc'
9
+ gem 'travis'
10
+ gem 'websocket-native'
9
11
  gem 'yard'
10
12
  end
11
13
 
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # middleman-vcs-time
2
2
 
3
+ [![Gem Version][gem-version-badge]][gem-version]
4
+ [![Build Status][build-status-badge]][build-status]
5
+
3
6
  Provides means to look up the last-modified times of [Middleman][] sitemap
4
7
  resources according to a version control system.
5
8
 
@@ -32,4 +35,8 @@ current_page.mtime # => 2014-01-20 17:31:50 -0800
32
35
  ```
33
36
 
34
37
 
38
+ [build-status]: https://travis-ci.org/AndrewKvalheim/middleman-vcs-time
39
+ [build-status-badge]: https://travis-ci.org/AndrewKvalheim/middleman-vcs-time.png?branch=master
40
+ [gem-version]: https://badge.fury.io/rb/middleman-vcs-time
41
+ [gem-version-badge]: https://badge.fury.io/rb/middleman-vcs-time.png
35
42
  [middleman]: http://middlemanapp.com/
@@ -12,7 +12,9 @@ module Middleman
12
12
  end
13
13
 
14
14
  def self.load
15
- Middleman::Sitemap::Resource.include ResourceIncludes
15
+ Middleman::Sitemap::Resource.class_eval do
16
+ include ResourceIncludes
17
+ end
16
18
  end
17
19
  end
18
20
  end
@@ -36,7 +36,10 @@ module Middleman
36
36
  def self.load
37
37
  if available?
38
38
  super
39
- Middleman::Sitemap::Resource.include ResourceIncludes
39
+
40
+ Middleman::Sitemap::Resource.class_eval do
41
+ include ResourceIncludes
42
+ end
40
43
  end
41
44
  end
42
45
 
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'middleman-vcs-time'
6
- gem.version = '0.0.1'
6
+ gem.version = '0.0.2'
7
7
  gem.platform = Gem::Platform::RUBY
8
8
  gem.required_ruby_version = '~> 2.0'
9
9
  gem.license = 'MIT'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-vcs-time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kvalheim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-08 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
+ - ".travis.yml"
35
36
  - Gemfile
36
37
  - LICENSE.md
37
38
  - README.md
@@ -44,6 +45,7 @@ files:
44
45
  - fixtures/git-app/config.rb
45
46
  - fixtures/git-app/dotgit/HEAD
46
47
  - fixtures/git-app/dotgit/ORIG_HEAD
48
+ - fixtures/git-app/dotgit/branches/.gitkeep
47
49
  - fixtures/git-app/dotgit/config
48
50
  - fixtures/git-app/dotgit/description
49
51
  - fixtures/git-app/dotgit/index
@@ -55,6 +57,8 @@ files:
55
57
  - fixtures/git-app/dotgit/objects/pack/pack-bc8ae5eaa7a0c137a3db0e68dc4f537bab66f10e.idx
56
58
  - fixtures/git-app/dotgit/objects/pack/pack-bc8ae5eaa7a0c137a3db0e68dc4f537bab66f10e.pack
57
59
  - fixtures/git-app/dotgit/packed-refs
60
+ - fixtures/git-app/dotgit/refs/heads/.gitkeep
61
+ - fixtures/git-app/dotgit/refs/tags/.gitkeep
58
62
  - fixtures/git-app/source/show-mtime.html.erb
59
63
  - fixtures/git-app/source/show-mtime_moved.html.erb
60
64
  - fixtures/git-app/source/show-mtime_untracked.html.erb
@@ -101,6 +105,7 @@ test_files:
101
105
  - fixtures/git-app/config.rb
102
106
  - fixtures/git-app/dotgit/HEAD
103
107
  - fixtures/git-app/dotgit/ORIG_HEAD
108
+ - fixtures/git-app/dotgit/branches/.gitkeep
104
109
  - fixtures/git-app/dotgit/config
105
110
  - fixtures/git-app/dotgit/description
106
111
  - fixtures/git-app/dotgit/index
@@ -112,6 +117,8 @@ test_files:
112
117
  - fixtures/git-app/dotgit/objects/pack/pack-bc8ae5eaa7a0c137a3db0e68dc4f537bab66f10e.idx
113
118
  - fixtures/git-app/dotgit/objects/pack/pack-bc8ae5eaa7a0c137a3db0e68dc4f537bab66f10e.pack
114
119
  - fixtures/git-app/dotgit/packed-refs
120
+ - fixtures/git-app/dotgit/refs/heads/.gitkeep
121
+ - fixtures/git-app/dotgit/refs/tags/.gitkeep
115
122
  - fixtures/git-app/source/show-mtime.html.erb
116
123
  - fixtures/git-app/source/show-mtime_moved.html.erb
117
124
  - fixtures/git-app/source/show-mtime_untracked.html.erb