html_gen 0.0.13 → 0.0.15

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: 132c41c56cc99d2520198d3a9cbe86a8e697e950
4
- data.tar.gz: d6132cc6f28ce9ec5cdcb4fcfeb7be49a1b0b342
3
+ metadata.gz: 45be3ace0d7870004c297d3b504a04922d1d80cd
4
+ data.tar.gz: 8b1068701f4907d576c7e543ee49ba381f57fbfb
5
5
  SHA512:
6
- metadata.gz: 6a7c5a17deebf100eb21fef88227ad3d191291ca3e98c38d52f57ddd64ad5c7b5dd46392951fa1874f7b4bcc5003d350cc2f9d601bc41ca48855bd6573d8cdf3
7
- data.tar.gz: 44b22116af2f3c85ddf5b62bffc03d135f56f4e6b21519eaa9e075f6e0494c9b157bb29f8a6b6e22695b46c575d8c268fd47dfd0c70fcdcad93b6e899e382c8c
6
+ metadata.gz: bd421565eb57651260adfda78b763dde5e6a603aa1df844339e7a86a8c9a83cbecde1aab093ea1632087e17d2da5b47868ff40759798fad64d0434828803121c
7
+ data.tar.gz: 86b345b9bfa59793f45afd125b81f9e868b5352562cfcc91b956b5f9234acdf9d936369e693ecced8a37c3cc1d106aa698faa9105b93d73482a5157acbcbd498
data/Gemfile CHANGED
@@ -3,16 +3,16 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
 
6
- gem "string-cases"
7
6
  gem "codeclimate-test-reporter", group: :test, require: nil
7
+ gem "string-cases"
8
8
 
9
9
  # Add dependencies to develop your gem here.
10
10
  # Include everything needed to run rake, tests, features, etc.
11
- group :development do
12
- gem "rspec", "~> 2.8.0"
13
- gem "rdoc", "~> 3.12"
11
+ group :development, :test do
12
+ gem "best_practice_project", "0.0.10", require: false
14
13
  gem "bundler", ">= 1.0.0"
15
- gem "jeweler", "~> 2.1"
16
- gem "best_practice_project", github: "kaspernj/best_practice_project", require: false
14
+ gem "jeweler", "2.3.3"
15
+ gem "rdoc", "~> 3.12"
16
+ gem "rspec", "3.5.0"
17
17
  gem "rubocop", require: false
18
18
  end
@@ -1,104 +1,108 @@
1
- GIT
2
- remote: git://github.com/kaspernj/best_practice_project.git
3
- revision: 85edcdab3e63de1374de10f01fcf4a621099aae2
4
- specs:
5
- best_practice_project (0.0.8)
6
- auto_autoloader
7
-
8
1
  GEM
9
2
  remote: http://rubygems.org/
10
3
  specs:
11
- addressable (2.4.0)
4
+ addressable (2.5.0)
5
+ public_suffix (~> 2.0, >= 2.0.2)
12
6
  ast (2.2.0)
13
- auto_autoloader (0.0.4)
7
+ auto_autoloader (0.0.5)
14
8
  string-cases
15
- builder (3.2.2)
9
+ best_practice_project (0.0.10)
10
+ auto_autoloader (>= 0.0.5)
11
+ builder (3.2.3)
16
12
  codeclimate-test-reporter (0.4.6)
17
13
  simplecov (>= 0.7.1, < 1.0.0)
18
14
  descendants_tracker (0.0.4)
19
15
  thread_safe (~> 0.3, >= 0.3.1)
20
- diff-lcs (1.1.3)
16
+ diff-lcs (1.3)
21
17
  docile (1.1.5)
22
18
  faraday (0.9.2)
23
19
  multipart-post (>= 1.2, < 3)
24
20
  git (1.3.0)
25
- github_api (0.14.5)
26
- addressable (~> 2.4.0)
27
- descendants_tracker (~> 0.0.4)
21
+ github_api (0.11.3)
22
+ addressable (~> 2.3)
23
+ descendants_tracker (~> 0.0.1)
28
24
  faraday (~> 0.8, < 0.10)
29
- hashie (>= 3.4)
30
- oauth2 (~> 1.0)
31
- hashie (3.4.4)
25
+ hashie (>= 1.2)
26
+ multi_json (>= 1.7.5, < 2.0)
27
+ nokogiri (~> 1.6.0)
28
+ oauth2
29
+ hashie (3.5.5)
32
30
  highline (1.7.8)
33
- jeweler (2.1.1)
31
+ jeweler (2.3.3)
34
32
  builder
35
33
  bundler (>= 1.0)
36
34
  git (>= 1.2.5)
37
- github_api
35
+ github_api (~> 0.11.0)
38
36
  highline (>= 1.6.15)
39
37
  nokogiri (>= 1.5.10)
38
+ psych (~> 2.2)
40
39
  rake
41
40
  rdoc
42
- semver
41
+ semver2
43
42
  json (1.8.2)
44
- jwt (1.5.4)
43
+ jwt (1.5.6)
45
44
  mini_portile2 (2.1.0)
46
45
  multi_json (1.10.1)
47
- multi_xml (0.5.5)
46
+ multi_xml (0.6.0)
48
47
  multipart-post (2.0.0)
49
- nokogiri (1.6.8)
48
+ nokogiri (1.6.8.1)
50
49
  mini_portile2 (~> 2.1.0)
51
- pkg-config (~> 1.1.7)
52
- oauth2 (1.2.0)
53
- faraday (>= 0.8, < 0.10)
50
+ oauth2 (1.3.0)
51
+ faraday (>= 0.8, < 0.11)
54
52
  jwt (~> 1.0)
55
53
  multi_json (~> 1.3)
56
54
  multi_xml (~> 0.5)
57
55
  rack (>= 1.2, < 3)
58
56
  parser (2.3.0.1)
59
57
  ast (~> 2.2)
60
- pkg-config (1.1.7)
61
58
  powerpack (0.1.1)
59
+ psych (2.2.2)
60
+ public_suffix (2.0.5)
62
61
  rack (2.0.1)
63
62
  rainbow (2.0.0)
64
- rake (11.2.2)
63
+ rake (12.0.0)
65
64
  rdoc (3.12.2)
66
65
  json (~> 1.4)
67
- rspec (2.8.0)
68
- rspec-core (~> 2.8.0)
69
- rspec-expectations (~> 2.8.0)
70
- rspec-mocks (~> 2.8.0)
71
- rspec-core (2.8.0)
72
- rspec-expectations (2.8.0)
73
- diff-lcs (~> 1.1.2)
74
- rspec-mocks (2.8.0)
66
+ rspec (3.5.0)
67
+ rspec-core (~> 3.5.0)
68
+ rspec-expectations (~> 3.5.0)
69
+ rspec-mocks (~> 3.5.0)
70
+ rspec-core (3.5.4)
71
+ rspec-support (~> 3.5.0)
72
+ rspec-expectations (3.5.0)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.5.0)
75
+ rspec-mocks (3.5.0)
76
+ diff-lcs (>= 1.2.0, < 2.0)
77
+ rspec-support (~> 3.5.0)
78
+ rspec-support (3.5.0)
75
79
  rubocop (0.36.0)
76
80
  parser (>= 2.3.0.0, < 3.0)
77
81
  powerpack (~> 0.1)
78
82
  rainbow (>= 1.99.1, < 3.0)
79
83
  ruby-progressbar (~> 1.7)
80
84
  ruby-progressbar (1.7.5)
81
- semver (1.0.1)
85
+ semver2 (3.4.2)
82
86
  simplecov (0.9.1)
83
87
  docile (~> 1.1.0)
84
88
  multi_json (~> 1.0)
85
89
  simplecov-html (~> 0.8.0)
86
90
  simplecov-html (0.8.0)
87
91
  string-cases (0.0.0)
88
- thread_safe (0.3.5)
92
+ thread_safe (0.3.6)
89
93
 
90
94
  PLATFORMS
91
95
  ruby
92
96
 
93
97
  DEPENDENCIES
94
- best_practice_project!
98
+ best_practice_project (= 0.0.10)
95
99
  bundler (>= 1.0.0)
96
100
  codeclimate-test-reporter
97
- jeweler (~> 2.1)
101
+ jeweler (= 2.3.3)
98
102
  rdoc (~> 3.12)
99
- rspec (~> 2.8.0)
103
+ rspec (= 3.5.0)
100
104
  rubocop
101
105
  string-cases
102
106
 
103
107
  BUNDLED WITH
104
- 1.12.5
108
+ 1.13.7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.13
1
+ 0.0.15
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: html_gen 0.0.13 ruby lib
5
+ # stub: html_gen 0.0.15 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "html_gen"
9
- s.version = "0.0.13"
8
+ s.name = "html_gen".freeze
9
+ s.version = "0.0.15"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Kasper Johansen"]
14
- s.date = "2016-08-27"
15
- s.description = "A small framework for generating HTML."
16
- s.email = "k@spernj.org"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Kasper Johansen".freeze]
14
+ s.date = "2017-04-07"
15
+ s.description = "A small framework for generating HTML.".freeze
16
+ s.email = "k@spernj.org".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.md"
@@ -39,39 +39,39 @@ Gem::Specification.new do |s|
39
39
  "spec/html_gen_spec.rb",
40
40
  "spec/spec_helper.rb"
41
41
  ]
42
- s.homepage = "http://github.com/kaspernj/html_gen"
43
- s.licenses = ["MIT"]
44
- s.rubygems_version = "2.5.1"
45
- s.summary = "A small framework for generating HTML."
42
+ s.homepage = "http://github.com/kaspernj/html_gen".freeze
43
+ s.licenses = ["MIT".freeze]
44
+ s.rubygems_version = "2.6.8".freeze
45
+ s.summary = "A small framework for generating HTML.".freeze
46
46
 
47
47
  if s.respond_to? :specification_version then
48
48
  s.specification_version = 4
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<string-cases>, [">= 0"])
52
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
53
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
54
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
55
- s.add_development_dependency(%q<jeweler>, ["~> 2.1"])
56
- s.add_development_dependency(%q<best_practice_project>, [">= 0"])
57
- s.add_development_dependency(%q<rubocop>, [">= 0"])
51
+ s.add_runtime_dependency(%q<string-cases>.freeze, [">= 0"])
52
+ s.add_development_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
53
+ s.add_development_dependency(%q<bundler>.freeze, [">= 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.3"])
55
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
56
+ s.add_development_dependency(%q<rspec>.freeze, ["= 3.5.0"])
57
+ s.add_development_dependency(%q<rubocop>.freeze, [">= 0"])
58
58
  else
59
- s.add_dependency(%q<string-cases>, [">= 0"])
60
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
61
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
62
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
63
- s.add_dependency(%q<jeweler>, ["~> 2.1"])
64
- s.add_dependency(%q<best_practice_project>, [">= 0"])
65
- s.add_dependency(%q<rubocop>, [">= 0"])
59
+ s.add_dependency(%q<string-cases>.freeze, [">= 0"])
60
+ s.add_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
61
+ s.add_dependency(%q<bundler>.freeze, [">= 1.0.0"])
62
+ s.add_dependency(%q<jeweler>.freeze, ["= 2.3.3"])
63
+ s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
64
+ s.add_dependency(%q<rspec>.freeze, ["= 3.5.0"])
65
+ s.add_dependency(%q<rubocop>.freeze, [">= 0"])
66
66
  end
67
67
  else
68
- s.add_dependency(%q<string-cases>, [">= 0"])
69
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
70
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
71
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
72
- s.add_dependency(%q<jeweler>, ["~> 2.1"])
73
- s.add_dependency(%q<best_practice_project>, [">= 0"])
74
- s.add_dependency(%q<rubocop>, [">= 0"])
68
+ s.add_dependency(%q<string-cases>.freeze, [">= 0"])
69
+ s.add_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
70
+ s.add_dependency(%q<bundler>.freeze, [">= 1.0.0"])
71
+ s.add_dependency(%q<jeweler>.freeze, ["= 2.3.3"])
72
+ s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
73
+ s.add_dependency(%q<rspec>.freeze, ["= 3.5.0"])
74
+ s.add_dependency(%q<rubocop>.freeze, [">= 0"])
75
75
  end
76
76
  end
77
77
 
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # ele.html #=> "<a href=\"http://www.youtube.com\" style=\"font-weight: bold;\" class=\"custom_link\">\n\t<b>\n\t\tTitle of link\n\t</b>\n</a>\n"
12
12
  class HtmlGen::Element
13
- FORBIDDEN_SHORT = %w(div script span).freeze
13
+ FORBIDDEN_SHORT = %w(div i script span).freeze
14
14
 
15
15
  # Attributes hash which will be used to generate attributes-elements.
16
16
  #===Example
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-27 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: string-cases
@@ -25,75 +25,75 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rspec
28
+ name: best_practice_project
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.8.0
33
+ version: 0.0.10
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.8.0
40
+ version: 0.0.10
41
41
  - !ruby/object:Gem::Dependency
42
- name: rdoc
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '3.12'
47
+ version: 1.0.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3.12'
54
+ version: 1.0.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: bundler
56
+ name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.0
61
+ version: 2.3.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.0.0
68
+ version: 2.3.3
69
69
  - !ruby/object:Gem::Dependency
70
- name: jeweler
70
+ name: rdoc
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: '3.12'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '3.12'
83
83
  - !ruby/object:Gem::Dependency
84
- name: best_practice_project
84
+ name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 3.5.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: 3.5.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements: []
157
157
  rubyforge_project:
158
- rubygems_version: 2.5.1
158
+ rubygems_version: 2.6.8
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: A small framework for generating HTML.