campo 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig CHANGED
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,5 @@
1
+ v0.3.4 Added `password` convenience method.
2
+
1
3
  v0.3.2 Blocks are now passed on for .literal and .bit_of_ruby
2
4
 
3
5
  v0.3.1 Fixed possible bit of dodgy interpolation in Haml_Ruby_Insert
data/lib/campo.rb CHANGED
@@ -87,6 +87,13 @@ module Campo
87
87
  input( name, :text, label, attributes )
88
88
  end
89
89
 
90
+
91
+ # @param (see #text)
92
+ def password( name, label=nil, attributes={} )
93
+ input( name, :password, label, attributes )
94
+ end
95
+
96
+
90
97
  # @param (see #text)
91
98
  def radio( name, label=nil, attributes={} )
92
99
  input( name, :radio, label, attributes )
data/lib/campo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Campo
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: campo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -50,12 +50,12 @@ cert_chain:
50
50
  -----END CERTIFICATE-----
51
51
 
52
52
  '
53
- date: 2011-12-10 00:00:00.000000000 +00:00
53
+ date: 2011-12-17 00:00:00.000000000 +00:00
54
54
  default_executable:
55
55
  dependencies:
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: haml
58
- requirement: &2153759240 !ruby/object:Gem::Requirement
58
+ requirement: &2157040780 !ruby/object:Gem::Requirement
59
59
  none: false
60
60
  requirements:
61
61
  - - ~>
@@ -63,7 +63,7 @@ dependencies:
63
63
  version: 3.1.1
64
64
  type: :runtime
65
65
  prerelease: false
66
- version_requirements: *2153759240
66
+ version_requirements: *2157040780
67
67
  description: ! ' Form builder for Haml
68
68
 
69
69
  '
metadata.gz.sig CHANGED
Binary file