yuml 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/lib/yuml.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d301a5a94555df94b0aeb705e58c0e18d10b2f29
4
- data.tar.gz: 2058b126b7b21ff0e81b627ec18b533f6aa6d171
3
+ metadata.gz: f3f9891582d589bd54d921e4e9f809917166af7a
4
+ data.tar.gz: 5e9ab82dbe3e0a8921f065423a8e638081eaffcb
5
5
  SHA512:
6
- metadata.gz: 01756670bbb5f097a1e90fcbb872483ccc09156b923928da5d2850d811873d688c78355d3e86655d8cff1d67d6ee3773bb7c2d26f51ba8904eec0c24a91e959e
7
- data.tar.gz: 7ea6a585f33b5edf0c521ea7f017271cdbd5c0f3d70782cf64aa6ab13ec6dc2cdcc29d322ea5c2f7ebba3b2075e3d3cf589bae42cbd1f928446412effe8b161b
6
+ metadata.gz: 57ea65c7173f929768e0b0b5fec44fabc08a5bbe6bf4ff59b7762fbb767a0cec5f093f77f9c50cfbd56eb44439be3354ea15fd64c1fcb9314e0c73b47c6e6055
7
+ data.tar.gz: f2461b929fe84828c5dff19633f143c15d0b213b98eda120538e7f64ef5851d0cb8e0baea1cc7345dd825952c1bf5ff1c1603437d847eea29d8316090b4e7577
data/README.md CHANGED
@@ -7,6 +7,8 @@ A Ruby DSL for generating UML built on yuml.me, visit the [homepage](http://dere
7
7
  To build a UML document start with this block of code. Everything inside the block will be used to describe the uml document you want to create.
8
8
 
9
9
  ```ruby
10
+ require 'yuml'
11
+
10
12
  YUML.generate(file: 'tmp.pdf') do |uml|
11
13
  ...
12
14
  end
@@ -54,7 +54,7 @@ module YUML
54
54
  end
55
55
 
56
56
  def fetch_uml(file)
57
- uri = URI("http://yuml.me/diagram/class/#{yuml}.pdf")
57
+ uri = URI("https://yuml.me/diagram/class/#{yuml}.pdf")
58
58
  response = Net::HTTP.get_response(uri)
59
59
  File.write(file, response.body)
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yuml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Stride
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 2.4.5.1
65
+ rubygems_version: 2.6.8
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: A Ruby DSL for generating UML