wiserespond 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -4
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/test/{test_controller.rb → application_controller_test.rb} +0 -0
- data/wiserespond.gemspec +3 -3
- metadata +14 -14
data/README.md
CHANGED
@@ -1,9 +1,20 @@
|
|
1
|
-
[![Build Status](https://secure.travis-ci.org/igor-alexandrov/
|
1
|
+
[![Build Status](https://secure.travis-ci.org/igor-alexandrov/wiserespond.png)](http://travis-ci.org/igor-alexandrov/wiserespond)
|
2
2
|
|
3
3
|
# wiserespond
|
4
4
|
|
5
5
|
Rails 3 responders to make you controllers DRY.
|
6
6
|
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this to your Gemfile:
|
10
|
+
|
11
|
+
gem 'wiserespond'
|
12
|
+
|
13
|
+
then do:
|
14
|
+
|
15
|
+
bundle
|
16
|
+
|
17
|
+
|
7
18
|
## How does it work?
|
8
19
|
|
9
20
|
### Without `wiserespond`
|
@@ -127,7 +138,7 @@ Make your controllers as DRY as you can!
|
|
127
138
|
* [www.sdelki.ru](http://www.sdelki.ru)
|
128
139
|
* [www.lienlog.com](http://www.lienlog.com)
|
129
140
|
|
130
|
-
Know other projects?
|
141
|
+
Know other projects? Then contact me and I will add them to the list.
|
131
142
|
|
132
143
|
## Contributing to wiserespond
|
133
144
|
|
@@ -142,5 +153,4 @@ Know other projects? Just contact me and I will add them here.
|
|
142
153
|
## Copyright
|
143
154
|
|
144
155
|
Copyright (c) 2012 Igor Alexandrov. See LICENSE.txt for
|
145
|
-
further details.
|
146
|
-
|
156
|
+
further details.
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0
|
File without changes
|
data/wiserespond.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "wiserespond"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "1.0.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Igor Alexandrov"]
|
12
|
-
s.date = "2012-03-
|
12
|
+
s.date = "2012-03-18"
|
13
13
|
s.description = "With wiserespond you can easily setup your controllers to respond to :html and :js content types."
|
14
14
|
s.email = "igor.alexandrov@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
"lib/wiserespond/rails.rb",
|
31
31
|
"lib/wiserespond/rails/engine.rb",
|
32
32
|
"lib/wiserespond/rails/railtie.rb",
|
33
|
+
"test/application_controller_test.rb",
|
33
34
|
"test/dummy/README.rdoc",
|
34
35
|
"test/dummy/Rakefile",
|
35
36
|
"test/dummy/app/assets/javascripts/application.js",
|
@@ -64,7 +65,6 @@ Gem::Specification.new do |s|
|
|
64
65
|
"test/dummy/public/favicon.ico",
|
65
66
|
"test/dummy/script/rails",
|
66
67
|
"test/helper.rb",
|
67
|
-
"test/test_controller.rb",
|
68
68
|
"wiserespond.gemspec"
|
69
69
|
]
|
70
70
|
s.homepage = "http://github.com/igor-alexandrov/wiserespond"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wiserespond
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70229577898120 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70229577898120
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3-ruby
|
27
|
-
requirement: &
|
27
|
+
requirement: &70229577893960 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70229577893960
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &70229577909700 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70229577909700
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &70229577904720 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.0.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70229577904720
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: jeweler
|
60
|
-
requirement: &
|
60
|
+
requirement: &70229577917960 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 1.6.4
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70229577917960
|
69
69
|
description: With wiserespond you can easily setup your controllers to respond to
|
70
70
|
:html and :js content types.
|
71
71
|
email: igor.alexandrov@gmail.com
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- lib/wiserespond/rails.rb
|
89
89
|
- lib/wiserespond/rails/engine.rb
|
90
90
|
- lib/wiserespond/rails/railtie.rb
|
91
|
+
- test/application_controller_test.rb
|
91
92
|
- test/dummy/README.rdoc
|
92
93
|
- test/dummy/Rakefile
|
93
94
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -122,7 +123,6 @@ files:
|
|
122
123
|
- test/dummy/public/favicon.ico
|
123
124
|
- test/dummy/script/rails
|
124
125
|
- test/helper.rb
|
125
|
-
- test/test_controller.rb
|
126
126
|
- wiserespond.gemspec
|
127
127
|
homepage: http://github.com/igor-alexandrov/wiserespond
|
128
128
|
licenses:
|
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
segments:
|
141
141
|
- 0
|
142
|
-
hash: -
|
142
|
+
hash: -3895462990281156701
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|