usmu 1.4.3-java → 1.4.4-java

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: af9fd4edb700f4c5c0fc7654f9b9b37962d1639b
4
- data.tar.gz: 15d80e5179c0d0fece259dbd50916860ded8bf2d
3
+ metadata.gz: f9dc9e766de53f66d0f7b791f1f11f067c125d01
4
+ data.tar.gz: 81de219aa3ac8c671606ebfe9b11d7e16707929f
5
5
  SHA512:
6
- metadata.gz: efc0b2ef86a88941fdff706fc73647c11e0a37cb479c4f59628d524e09715fcd47c6611514c24457846f00847534d73dda9686dfe2fe4d0cc8564da1e3845fb0
7
- data.tar.gz: bca83c9e95255de25010062723c4bb00b3e5d0772717f661ecab2e3ce08cf3fa1c125038e7c04ae5d65ff8ba54c937b9eaec0a3a42c9230478ccf5e7579d2230
6
+ metadata.gz: 10fa1067e7fc670cfc870e409e5bd1bc8a4cf46f628831374d0b062f2e04699bbf754ebae4f1f0d4316dbe0dbcf9ff169a038f7ada165c5ff312239a86a2d3ef
7
+ data.tar.gz: 930086e119f6887041a56d4d05b3438be05f7ea341be22dd38bd512d97e2c357124f37d3ae506113ad51274dc1dbf1056323a136b82d54406f0889d6d8ed5ae6
data/.rspec CHANGED
@@ -4,3 +4,4 @@
4
4
  --require spec_helper
5
5
  --format documentation
6
6
  --no-profile
7
+ -r rspec_junit_formatter
@@ -0,0 +1 @@
1
+ 2.3.0@usmu
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # usmu
2
2
 
3
- [![Build Status](https://travis-ci.org/usmu/usmu.svg?branch=master)](https://travis-ci.org/usmu/usmu)
3
+ [![Circle CI](https://circleci.com/gh/usmu/usmu/tree/master.svg?style=svg)](https://circleci.com/gh/usmu/usmu/tree/master)
4
4
  [![Dependency Status](https://gemnasium.com/usmu/usmu.svg)](https://gemnasium.com/usmu/usmu)
5
5
  [![Code Climate](https://codeclimate.com/github/usmu/usmu/badges/gpa.svg)](https://codeclimate.com/github/usmu/usmu)
6
6
 
@@ -44,7 +44,7 @@ As a baseline `usmu` will pull in Slim for layouts and Redcarpet for content wri
44
44
  Tilt API to render all layouts and content, therefore you should be able to use anything supported by Tilt including
45
45
  Sass, Less, Textile and [many others][tilt-support], you just need to ensure you have the correct gems installed.
46
46
 
47
- If you want to further [configure the way your template's are processed][template-options] then you can specify
47
+ If you want to further [configure the way your template's are processed][template-options] then you can specify
48
48
  configurations for each template engine. Just add it to your `usmu.yml`:
49
49
 
50
50
  ```yaml
data/bin/usmu CHANGED
File without changes
@@ -0,0 +1,7 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.3.0
4
+
5
+ test:
6
+ override:
7
+ - bundle exec rspec --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml
@@ -187,7 +187,19 @@ module Usmu
187
187
  #
188
188
  # This is used to determine which settings to use from the configuration file.
189
189
  def provider_name
190
- Tilt.default_mapping.lazy_map[@type].select {|x| x[0] == template_class.name }.first[1].split('/').last
190
+ provider = Tilt.default_mapping.lazy_map[@type].select {|x| x[0] == template_class.name }.first
191
+ if provider
192
+ # Use the require path to choose out a name.
193
+ provider[1].split('/').last
194
+ else
195
+ # Approximate using class name if we can't track down a require path.
196
+ provider = template_class.name.split('::').last
197
+ if provider.end_with? 'Template'
198
+ provider[0..-9].downcase
199
+ else
200
+ provider.downcase
201
+ end
202
+ end
191
203
  end
192
204
 
193
205
  # @!attribute [r] content_path
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Usmu
3
3
  # The current version string for the gem
4
- VERSION = '1.4.3'
4
+ VERSION = '1.4.4'
5
5
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.test_files = spec.files.grep(%r{^(test-site|spec)/})
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
24
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.2.0')
25
25
 
26
26
  spec.add_dependency 'slim', '~> 3.0'
27
27
  spec.add_dependency 'tilt', '~> 2.0'
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency 'bundler', '~> 1.6'
35
35
  spec.add_development_dependency 'rake', '~> 10.0'
36
36
  spec.add_development_dependency 'rspec', '~> 3.1'
37
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0.2'
37
38
  spec.add_development_dependency 'yard', '~> 0.8'
38
39
  spec.add_development_dependency 'guard', '~> 2.8'
39
40
  spec.add_development_dependency 'guard-rspec', '~> 4.3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usmu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: java
6
6
  authors:
7
7
  - Matthew Scharley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-04 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slim
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '3.1'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec_junit_formatter
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.2'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.2'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: yard
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -246,7 +260,7 @@ extra_rdoc_files: []
246
260
  files:
247
261
  - ".gitignore"
248
262
  - ".rspec"
249
- - ".travis.yml"
263
+ - ".ruby-version"
250
264
  - ".yardopts"
251
265
  - CHANGELOG.md
252
266
  - CONTRIBUTING.md
@@ -256,6 +270,7 @@ files:
256
270
  - README.md
257
271
  - Rakefile
258
272
  - bin/usmu
273
+ - circle.yml
259
274
  - lib/usmu.rb
260
275
  - lib/usmu/collections.rb
261
276
  - lib/usmu/configuration.rb
@@ -350,7 +365,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
350
365
  requirements:
351
366
  - - ">="
352
367
  - !ruby/object:Gem::Version
353
- version: 2.0.0
368
+ version: 2.2.0
354
369
  required_rubygems_version: !ruby/object:Gem::Requirement
355
370
  requirements:
356
371
  - - ">="
@@ -358,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
358
373
  version: '0'
359
374
  requirements: []
360
375
  rubyforge_project:
361
- rubygems_version: 2.4.5.1
376
+ rubygems_version: 2.5.1
362
377
  signing_key:
363
378
  specification_version: 4
364
379
  summary: A static site generator with a web-based frontend for editing.
@@ -1,36 +0,0 @@
1
- sudo: required
2
- dist: trusty
3
-
4
- language: ruby
5
- before_install:
6
- # This was an attempt to get rbx working under trusty. Seems there's some sort of conflict with libssl going on.
7
- #- sudo apt-get update && sudo apt-get install openssl libssl1.0.0 --yes
8
- #- sudo apt-get --purge remove libssl1.0.0 --yes
9
- #- sudo apt-get install libssl1.0.0 --yes
10
- - gem install bundler
11
- install: bundle install --jobs 3 --retry 3 --without mutant --path vendor/bundle
12
- script: bundle exec rake ci
13
- rvm:
14
- - 2.3.0
15
- - 2.2.4
16
- - 2.1.8
17
- - 2.0.0
18
- - ruby-head
19
- - rbx
20
- matrix:
21
- include:
22
- - rvm: jruby
23
- env: JRUBY_OPTS='--2.0'
24
- - rvm: jruby-head
25
- env: JRUBY_OPTS='--2.0'
26
- allow_failures:
27
- - rvm: jruby
28
- - rvm: jruby-head
29
- - rvm: rbx
30
- addons:
31
- code_climate:
32
- repo_token: 5ac0735331c1749a461eae94f89cd2011cc001979f9941d7241f97caeff7bde1
33
-
34
- cache:
35
- directories:
36
- - vendor