poniard 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0163d066c3e20cea1fbed0c012265482f2cf119d
4
+ data.tar.gz: d787a5fb866cb192c7392df5089a4ea0ea7d43f6
5
+ SHA512:
6
+ metadata.gz: 6c9367058ed0f3f8fbf2ff11b626c3eff4f19e17142edb2c0b551f3e010bdffe6d7d738de2451acbc41567d6dc7827123e46a80aac89d4ed5d27645606007fe0
7
+ data.tar.gz: c8bd0c27c1341c9d56428a62fb23169059e74ffb2f426e58be38deb96ce8d9c6bb2df0174e54083b7850ee4f9bd470d498ab49ec9eaaa3496ab1c3dd1b5953ae
data/HISTORY.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Poniard History
2
2
 
3
+ ## 0.0.3 - 19 March 2014
4
+
5
+ * Support `head` responses.
6
+
3
7
  ## 0.0.2 - 26 January 2013
4
8
 
5
9
  * Hashes can be used directly as sources.
@@ -8,3 +12,4 @@
8
12
  ## 0.0.1 - 25 November 2012
9
13
 
10
14
  * Initial release.
15
+
@@ -17,6 +17,10 @@ module Poniard
17
17
  render action: action, ivars: ivars
18
18
  end
19
19
 
20
+ def head(*args)
21
+ controller.head *args
22
+ end
23
+
20
24
  def render(*args)
21
25
  opts = args.last
22
26
  if opts.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Poniard
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poniard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Xavier Shay
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-26 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,17 +27,15 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: A dependency injector for Rails, allows you to write clean controllers.
@@ -62,27 +57,27 @@ files:
62
57
  - poniard.gemspec
63
58
  homepage: http://github.com/xaviershay/poniard
64
59
  licenses: []
60
+ metadata: {}
65
61
  post_install_message:
66
62
  rdoc_options: []
67
63
  require_paths:
68
64
  - lib
69
65
  required_ruby_version: !ruby/object:Gem::Requirement
70
- none: false
71
66
  requirements:
72
- - - ! '>='
67
+ - - '>='
73
68
  - !ruby/object:Gem::Version
74
69
  version: 1.9.0
75
70
  required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
71
  requirements:
78
- - - ! '>='
72
+ - - '>='
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
81
75
  requirements: []
82
76
  rubyforge_project:
83
- rubygems_version: 1.8.23
77
+ rubygems_version: 2.0.3
84
78
  signing_key:
85
- specification_version: 3
79
+ specification_version: 4
86
80
  summary: A dependency injector for Rails, allows you to write clean controllers.
87
81
  test_files:
88
82
  - spec/injector_spec.rb
83
+ has_rdoc: false