king_views 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.3
@@ -26,7 +26,7 @@ module KingFormat
26
26
 
27
27
  # Check if a given field is declared as percent
28
28
  def is_percent_field?(fieldname)
29
- self.percent_fields.include?(fieldname) if self.respond_to?(:percent_fields)
29
+ self.percent_fields.include?(fieldname.to_sym)
30
30
  end
31
31
  end
32
32
 
data/king_views.gemspec CHANGED
@@ -1,75 +1,72 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{king_views}
8
- s.version = "1.1.2"
8
+ s.version = "1.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Georg Leciejewski"]
12
- s.date = %q{2010-11-01}
12
+ s.date = %q{2011-01-20}
13
13
  s.description = %q{Clean up your Forms using king_form for dl or labeled forms. Use king_list for an easy markup of tables in your lists and dl-enabled listings in your detail views. }
14
14
  s.email = %q{gl@salesking.eu}
15
15
  s.extra_rdoc_files = [
16
16
  "README.rdoc"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "CHANGELOG.rdoc",
21
- "MIT-LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "king_form/MIT-LICENSE",
26
- "king_form/README.rdoc",
27
- "king_form/Rakefile",
28
- "king_form/lib/king_form.rb",
29
- "king_form/lib/king_form/builder/base.rb",
30
- "king_form/lib/king_form/builder/definition_list.rb",
31
- "king_form/lib/king_form/builder/form_fields.rb",
32
- "king_form/lib/king_form/builder/form_fields_overrides.rb",
33
- "king_form/lib/king_form/builder/labeled.rb",
34
- "king_form/lib/king_form/helper.rb",
35
- "king_form/lib/king_form/nested_form_helper.rb",
36
- "king_form/lib/king_form/overrides.rb",
37
- "king_form/test/king_forms_test.rb",
38
- "king_form/test/test_helper.rb",
39
- "king_format/MIT-LICENSE",
40
- "king_format/README.rdoc",
41
- "king_format/Rakefile",
42
- "king_format/lib/helpers/date_helper.rb",
43
- "king_format/lib/helpers/formatting_helper.rb",
44
- "king_format/lib/helpers/money_helper.rb",
45
- "king_format/lib/king_format.rb",
46
- "king_format/lib/model_mixins/has_date_fields.rb",
47
- "king_format/lib/model_mixins/has_money_fields.rb",
48
- "king_format/lib/model_mixins/has_percent_fields.rb",
49
- "king_format/test/king_format_test.rb",
50
- "king_format/test/test_helper.rb",
51
- "king_list/MIT-LICENSE",
52
- "king_list/README.rdoc",
53
- "king_list/Rakefile",
54
- "king_list/lib/king_list.rb",
55
- "king_list/lib/king_list/app_helper.rb",
56
- "king_list/lib/king_list/builder/show.rb",
57
- "king_list/lib/king_list/builder/table.rb",
58
- "king_list/lib/king_list/list_helper.rb",
59
- "king_list/lib/king_list/overrides.rb",
60
- "king_list/test/king_list_test.rb",
61
- "king_list/test/test_helper.rb",
62
- "king_views.gemspec",
63
- "lib/king_views.rb"
19
+ "CHANGELOG.rdoc",
20
+ "MIT-LICENSE",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "king_form/MIT-LICENSE",
25
+ "king_form/README.rdoc",
26
+ "king_form/Rakefile",
27
+ "king_form/lib/king_form.rb",
28
+ "king_form/lib/king_form/builder/base.rb",
29
+ "king_form/lib/king_form/builder/definition_list.rb",
30
+ "king_form/lib/king_form/builder/form_fields.rb",
31
+ "king_form/lib/king_form/builder/form_fields_overrides.rb",
32
+ "king_form/lib/king_form/builder/labeled.rb",
33
+ "king_form/lib/king_form/helper.rb",
34
+ "king_form/lib/king_form/nested_form_helper.rb",
35
+ "king_form/lib/king_form/overrides.rb",
36
+ "king_form/test/king_forms_test.rb",
37
+ "king_form/test/test_helper.rb",
38
+ "king_format/MIT-LICENSE",
39
+ "king_format/README.rdoc",
40
+ "king_format/Rakefile",
41
+ "king_format/lib/helpers/date_helper.rb",
42
+ "king_format/lib/helpers/formatting_helper.rb",
43
+ "king_format/lib/helpers/money_helper.rb",
44
+ "king_format/lib/king_format.rb",
45
+ "king_format/lib/model_mixins/has_date_fields.rb",
46
+ "king_format/lib/model_mixins/has_money_fields.rb",
47
+ "king_format/lib/model_mixins/has_percent_fields.rb",
48
+ "king_format/test/king_format_test.rb",
49
+ "king_format/test/test_helper.rb",
50
+ "king_list/MIT-LICENSE",
51
+ "king_list/README.rdoc",
52
+ "king_list/Rakefile",
53
+ "king_list/lib/king_list.rb",
54
+ "king_list/lib/king_list/app_helper.rb",
55
+ "king_list/lib/king_list/builder/show.rb",
56
+ "king_list/lib/king_list/builder/table.rb",
57
+ "king_list/lib/king_list/list_helper.rb",
58
+ "king_list/lib/king_list/overrides.rb",
59
+ "king_list/test/king_list_test.rb",
60
+ "king_list/test/test_helper.rb",
61
+ "king_views.gemspec",
62
+ "lib/king_views.rb"
64
63
  ]
65
64
  s.homepage = %q{http://github.com/salesking/king_views}
66
- s.rdoc_options = ["--charset=UTF-8"]
67
65
  s.require_paths = ["lib"]
68
- s.rubygems_version = %q{1.3.7}
66
+ s.rubygems_version = %q{1.4.1}
69
67
  s.summary = %q{Ultraclean haml views with list and forms helpers for rails}
70
68
 
71
69
  if s.respond_to? :specification_version then
72
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
73
70
  s.specification_version = 3
74
71
 
75
72
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_views
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-01 00:00:00 +01:00
18
+ date: 2011-01-20 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -28,7 +28,6 @@ extensions: []
28
28
  extra_rdoc_files:
29
29
  - README.rdoc
30
30
  files:
31
- - .gitignore
32
31
  - CHANGELOG.rdoc
33
32
  - MIT-LICENSE
34
33
  - README.rdoc
@@ -78,8 +77,8 @@ homepage: http://github.com/salesking/king_views
78
77
  licenses: []
79
78
 
80
79
  post_install_message:
81
- rdoc_options:
82
- - --charset=UTF-8
80
+ rdoc_options: []
81
+
83
82
  require_paths:
84
83
  - lib
85
84
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -103,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
102
  requirements: []
104
103
 
105
104
  rubyforge_project:
106
- rubygems_version: 1.3.7
105
+ rubygems_version: 1.4.1
107
106
  signing_key:
108
107
  specification_version: 3
109
108
  summary: Ultraclean haml views with list and forms helpers for rails
data/.gitignore DELETED
@@ -1,20 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
- ## Netbeans
16
- nbproject/*
17
-
18
- ## PROJECT::GENERAL
19
- rdoc
20
- pkg