hyphenify 0.0.6 → 0.0.7

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: a6502040bd6c2e6f497804e4a1a88049345a4f14
4
- data.tar.gz: 597a4fe7aa13070f34c1b36004b2e628f96400da
3
+ metadata.gz: 14b01552e86923ac958c8bd2509b34a35f4cb933
4
+ data.tar.gz: 764e17fc46694e771ed23283351a0ef22fd143e2
5
5
  SHA512:
6
- metadata.gz: 42f92490257ab961e30cc8e1593824637e4efdd6e17e10cf6ead10059a33944313e69b9a19b14809f27c7a676ba36478ada03ea17b8090f92f1988136b0275d3
7
- data.tar.gz: d3b5b295d77866a1573f85d6fbd73695e60d1a82fcd8c23f6587952e7715e65de75b0858cd3f553dc411b3894150c898a7259144a91ed992111c93d1c82376eb
6
+ metadata.gz: 0ac0d72c8d5b251640300b8ac32c9983a627b51d0247c76c558e569aa583ad6844369ef9df405612c5c19ea2137dfdc912a783a5235a7ca3576e769f9c347d26
7
+ data.tar.gz: 03cee98772f520b9e30eef6ddf21ecffeb0e77b3ec15d2414cfa0b27c01e01a9624445b0642406fb7bff0e0e064ba5ad147acbae622f54ba4405664b7264905e
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2013 Mattways
1
+ Copyright 2013 Museways
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- {<img src="https://codeclimate.com/github/mattways/hyphenify.png" />}[https://codeclimate.com/github/mattways/hyphenify] {<img src="https://travis-ci.org/mattways/hyphenify.png?branch=master" alt="Build Status" />}[https://travis-ci.org/mattways/hyphenify] {<img src="https://gemnasium.com/mattways/hyphenify.png" alt="Dependency Status" />}[https://gemnasium.com/mattways/hyphenify]
1
+ {<img src="https://badge.fury.io/rb/hyphenify.png" alt="Gem Version" />}[http://badge.fury.io/rb/hyphenify] {<img src="https://codeclimate.com/github/museways/hyphenify.png" />}[https://codeclimate.com/github/museways/hyphenify] {<img src="https://travis-ci.org/museways/hyphenify.png?branch=master" alt="Build Status" />}[https://travis-ci.org/museways/hyphenify] {<img src="https://gemnasium.com/museways/hyphenify.png" alt="Dependency Status" />}[https://gemnasium.com/museways/hyphenify]
2
2
 
3
3
  = Hyphenify
4
4
 
@@ -9,7 +9,7 @@ module Hyphenify
9
9
 
10
10
  private
11
11
 
12
- def tag_options_with_hyphen(options, escape = true)
12
+ def tag_options_with_hyphen(options, escape=true)
13
13
  options.stringify_keys!
14
14
  %w[id class for].each { |key| options[key] = options[key].to_s.dasherize if options.has_key? key }
15
15
  tag_options_without_hyphen options, escape
@@ -1,5 +1,5 @@
1
1
  module Hyphenify
2
2
 
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
 
5
5
  end
@@ -37,3 +37,45 @@ Started GET "/" for 127.0.0.1 at 2013-08-18 22:39:00 -0300
37
37
  Processing by PagesController#index as HTML
38
38
  Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
39
39
   (0.1ms) rollback transaction
40
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
41
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
42
+  (0.1ms) SELECT version FROM "schema_migrations"
43
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
44
+  (0.1ms) begin transaction
45
+ -----------------------------------------------------------------
46
+ TagsTest: test_forms_tags_should_return_id_and_class_with_hyphens
47
+ -----------------------------------------------------------------
48
+ Started GET "/form" for 127.0.0.1 at 2013-11-30 14:46:12 -0200
49
+ Processing by PagesController#form as HTML
50
+ Rendered pages/form.html.erb within layouts/application (8.4ms)
51
+ Completed 200 OK in 45ms (Views: 44.6ms | ActiveRecord: 0.0ms)
52
+  (0.1ms) rollback transaction
53
+  (0.1ms) begin transaction
54
+ -----------------------------------------------------------
55
+ TagsTest: test_tags_should_return_id_and_class_with_hyphens
56
+ -----------------------------------------------------------
57
+ Started GET "/" for 127.0.0.1 at 2013-11-30 14:46:12 -0200
58
+ Processing by PagesController#index as HTML
59
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
60
+  (0.1ms) rollback transaction
61
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
62
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
63
+  (0.1ms) SELECT version FROM "schema_migrations"
64
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
65
+  (0.1ms) begin transaction
66
+ -----------------------------------------------------------------
67
+ TagsTest: test_forms_tags_should_return_id_and_class_with_hyphens
68
+ -----------------------------------------------------------------
69
+ Started GET "/form" for 127.0.0.1 at 2014-03-01 17:19:48 -0200
70
+ Processing by PagesController#form as HTML
71
+ Rendered pages/form.html.erb within layouts/application (10.1ms)
72
+ Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms)
73
+  (0.1ms) rollback transaction
74
+  (0.1ms) begin transaction
75
+ -----------------------------------------------------------
76
+ TagsTest: test_tags_should_return_id_and_class_with_hyphens
77
+ -----------------------------------------------------------
78
+ Started GET "/" for 127.0.0.1 at 2014-03-01 17:19:48 -0200
79
+ Processing by PagesController#index as HTML
80
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
81
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,57 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyphenify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
- - Mattways
7
+ - Museways
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-19 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.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: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
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
40
  version: '0'
41
41
  description: Hacks tags helpers to always use hyphens.
42
42
  email:
43
- - contact@mattways.com
43
+ - hello@museways.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - MIT-LICENSE
49
+ - README.rdoc
50
+ - Rakefile
51
+ - lib/hyphenify.rb
48
52
  - lib/hyphenify/action_view/base.rb
49
53
  - lib/hyphenify/railtie.rb
50
54
  - lib/hyphenify/version.rb
51
- - lib/hyphenify.rb
52
- - MIT-LICENSE
53
- - Rakefile
54
- - README.rdoc
55
+ - test/dummy/README.rdoc
56
+ - test/dummy/Rakefile
55
57
  - test/dummy/app/assets/javascripts/application.js
56
58
  - test/dummy/app/assets/stylesheets/application.css
57
59
  - test/dummy/app/controllers/application_controller.rb
@@ -63,6 +65,7 @@ files:
63
65
  - test/dummy/bin/bundle
64
66
  - test/dummy/bin/rails
65
67
  - test/dummy/bin/rake
68
+ - test/dummy/config.ru
66
69
  - test/dummy/config/application.rb
67
70
  - test/dummy/config/boot.rb
68
71
  - test/dummy/config/database.yml
@@ -79,7 +82,6 @@ files:
79
82
  - test/dummy/config/initializers/wrap_parameters.rb
80
83
  - test/dummy/config/locales/en.yml
81
84
  - test/dummy/config/routes.rb
82
- - test/dummy/config.ru
83
85
  - test/dummy/db/development.sqlite3
84
86
  - test/dummy/db/schema.rb
85
87
  - test/dummy/log/development.log
@@ -88,8 +90,6 @@ files:
88
90
  - test/dummy/public/422.html
89
91
  - test/dummy/public/500.html
90
92
  - test/dummy/public/favicon.ico
91
- - test/dummy/Rakefile
92
- - test/dummy/README.rdoc
93
93
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
94
94
  - test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
95
95
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
@@ -98,7 +98,7 @@ files:
98
98
  - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
99
99
  - test/tags_test.rb
100
100
  - test/test_helper.rb
101
- homepage: https://github.com/mattways/hyphenify
101
+ homepage: https://github.com/museways/hyphenify
102
102
  licenses:
103
103
  - MIT
104
104
  metadata: {}
@@ -108,20 +108,20 @@ require_paths:
108
108
  - lib
109
109
  required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - '>='
111
+ - - ">="
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.0.3
121
+ rubygems_version: 2.2.2
122
122
  signing_key:
123
123
  specification_version: 4
124
- summary: Force hyphens in tags helpers.
124
+ summary: Hyphens for Rails.
125
125
  test_files:
126
126
  - test/dummy/app/assets/javascripts/application.js
127
127
  - test/dummy/app/assets/stylesheets/application.css