jekyll-plantuml 1.0.2 → 1.1

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: bc1390b9389ec0f8ffd00c5541e093db5e0b521a
4
- data.tar.gz: 09340b6b7d6e8272977bc330d557e83ae532b481
3
+ metadata.gz: eb9d314ea6d81745336b3f8bcf16c684c4d44789
4
+ data.tar.gz: 12df763a72fae6ba425cb6a56125dcd8e340e58c
5
5
  SHA512:
6
- metadata.gz: 5b29bb4dbc6b53404d24295a075248dc5e6652ffc79cc4d003bd324513af216e6fa537c62110ae96f0ee53fda7d8cbfd78ec7b3ad013126f8bf3ec8614b3020f
7
- data.tar.gz: f6bdcbf3c521689afa189e4f540b80da81b2906f3545668b1a514c9abfc09f615ab9b3825289ee25991133442fbc5cc6d6f1b6ea1e8fba22ab0d8df3e9be48a5
6
+ metadata.gz: 89b48a8adc22e75bd84fb69eb869b954ea6d1456d57c1c9560e8ee2b568fd170e6b78388c3de57aa383813c04dc7ed326ad51aaacf00363708e12a51f854a58d
7
+ data.tar.gz: f3d40ef9a21505cf44c346158df2dafd0fecd26a617299015d22847f39f31f6e1ec7dfd660d285099a0c4de94eb103f156bed67b577679d391665d65d960739c
data/.rultor.yml ADDED
@@ -0,0 +1,23 @@
1
+ assets:
2
+ rubygems.yml: yegor256/home#assets/rubygems.yml
3
+ s3cfg: yegor256/home#assets/s3cfg
4
+ release:
5
+ script: |-
6
+ sudo bundle install
7
+ rake
8
+ rm -rf *.gem
9
+ sed -i "s/1\.0\.snapshot/${tag}/g" lib/version.rb
10
+ git add lib/version.rb
11
+ git commit -m "version set to ${tag}"
12
+ gem build jekyll-plantuml.gemspec
13
+ chmod 0600 ../rubygems.yml
14
+ gem push *.gem --config-file ../rubygems.yml
15
+ commanders:
16
+ - yegor256
17
+ deploy:
18
+ script: bundle
19
+ architect:
20
+ - yegor256
21
+ - davvd
22
+ merge:
23
+ commanders: []
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ cache: bundler
3
+ branches:
4
+ only:
5
+ - master
6
+ install:
7
+ - travis_retry bundle install
8
+ script:
9
+ - rake
10
+
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/jekyll-plantuml.svg)](http://badge.fury.io/rb/jekyll-plantuml)
2
+
1
3
  Install it first:
2
4
 
3
5
  ```
data/Rakefile ADDED
@@ -0,0 +1,45 @@
1
+ # (The MIT License)
2
+ #
3
+ # Copyright (c) 2014 Yegor Bugayenko
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the 'Software'), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
23
+ require 'rubygems'
24
+ require 'rake'
25
+ require 'rdoc'
26
+ require 'rake/clean'
27
+
28
+ def name
29
+ @name ||= File.basename(Dir['*.gemspec'].first, '.*')
30
+ end
31
+
32
+ def version
33
+ Gem::Specification.load(Dir['*.gemspec'].first).version
34
+ end
35
+
36
+ task default: [:clean]
37
+
38
+ require 'rdoc/task'
39
+ desc 'Build RDoc documentation'
40
+ Rake::RDocTask.new do |rdoc|
41
+ rdoc.rdoc_dir = 'rdoc'
42
+ rdoc.title = "#{name} #{version}"
43
+ rdoc.rdoc_files.include('README*')
44
+ rdoc.rdoc_files.include('lib/**/*.rb')
45
+ end
data/TEAM.md ADDED
@@ -0,0 +1,17 @@
1
+ ## Team
2
+
3
+ The following members are in the project team:
4
+
5
+ Role | Members
6
+ ---|---
7
+ PM | @davvd
8
+ CR |
9
+ DEV |
10
+ IMP |
11
+ ARC |
12
+ DES |
13
+ PO | @yegor256
14
+ ITR |
15
+ QA |
16
+ SA |
17
+ HLP |
@@ -1,11 +1,16 @@
1
1
  # coding: utf-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'version'
6
+
2
7
  Gem::Specification.new do |s|
3
8
  s.specification_version = 2 if s.respond_to? :specification_version=
4
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
5
10
  s.rubygems_version = '2.2.2'
6
11
  s.required_ruby_version = '>= 1.9.3'
7
12
  s.name = 'jekyll-plantuml'
8
- s.version = '1.0.2'
13
+ s.version = PlantUML::VERSION
9
14
  s.license = 'MIT'
10
15
  s.summary = "Jekyll PlantUML Automation"
11
16
  s.description = "PlantUML diagrams in Jekyll pages"
@@ -45,7 +45,8 @@ module Jekyll
45
45
  site, site.source, 'uml', "#{name}.svg"
46
46
  )
47
47
  end
48
- "<p><img src='/uml/#{name}.svg' alt='UML' style='width:100%;'/></p>"
48
+ "<p><img src='/uml/#{name}.svg'
49
+ alt='PlantUML diagram' class='plantuml'/></p>"
49
50
  end
50
51
  end
51
52
  end
data/lib/version.rb ADDED
@@ -0,0 +1,25 @@
1
+ # (The MIT License)
2
+ #
3
+ # Copyright (c) 2014 Yegor Bugayenko
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the 'Software'), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
23
+ module PlantUML
24
+ VERSION = '1.1'
25
+ end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-plantuml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-24 00:00:00.000000000 Z
11
+ date: 2015-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>'
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>'
24
+ - - ">"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  description: PlantUML diagrams in Jekyll pages
@@ -32,34 +32,39 @@ extra_rdoc_files:
32
32
  - README.md
33
33
  - LICENSE.txt
34
34
  files:
35
- - .gitignore
35
+ - ".gitignore"
36
+ - ".rultor.yml"
37
+ - ".travis.yml"
36
38
  - Gemfile
37
39
  - LICENSE.txt
38
40
  - README.md
41
+ - Rakefile
42
+ - TEAM.md
39
43
  - jekyll-plantuml.gemspec
40
44
  - lib/jekyll-plantuml.rb
45
+ - lib/version.rb
41
46
  homepage: http://github.com/yegor256/jekyll-plantuml
42
47
  licenses:
43
48
  - MIT
44
49
  metadata: {}
45
50
  post_install_message:
46
51
  rdoc_options:
47
- - --charset=UTF-8
52
+ - "--charset=UTF-8"
48
53
  require_paths:
49
54
  - lib
50
55
  required_ruby_version: !ruby/object:Gem::Requirement
51
56
  requirements:
52
- - - '>='
57
+ - - ">="
53
58
  - !ruby/object:Gem::Version
54
59
  version: 1.9.3
55
60
  required_rubygems_version: !ruby/object:Gem::Requirement
56
61
  requirements:
57
- - - '>='
62
+ - - ">="
58
63
  - !ruby/object:Gem::Version
59
64
  version: '0'
60
65
  requirements: []
61
66
  rubyforge_project:
62
- rubygems_version: 2.0.14
67
+ rubygems_version: 2.4.5.1
63
68
  signing_key:
64
69
  specification_version: 2
65
70
  summary: Jekyll PlantUML Automation