meta_presenter 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -6
- data/meta_presenter.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dafe12c2d0102434b73bd52a3cae71e3440740c446e820b8662712b5ef4eadcf
|
4
|
+
data.tar.gz: 560a8503f1b03eff464209141890f3abe5ee584d65678125de8a36626e58547b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75cb715a37300dfecf0f000b8e15852f4151c70a136612c059f2839a8f98e8626a477e4c8a7332308f042d105353d43533d8287e78228f5fce9f6758137112ed
|
7
|
+
data.tar.gz: 1e1e3d6b586785072e71aae7ea7982e0157e99fa853f8c2624867d0f9b080b4354eb460d6167cec98b5d2f0214f2b34a40771442fd0368d984f04e085cee3f04
|
data/.travis.yml
CHANGED
@@ -8,6 +8,7 @@ rvm:
|
|
8
8
|
- 2.3.0
|
9
9
|
- 2.4.0
|
10
10
|
- 2.5.0
|
11
|
+
- 2.6.0
|
11
12
|
gemfile:
|
12
13
|
- gemfiles/rails3.gemfile
|
13
14
|
- gemfiles/rails4.gemfile
|
@@ -20,6 +21,8 @@ matrix:
|
|
20
21
|
gemfile: gemfiles/rails5.gemfile
|
21
22
|
- rvm: 2.5.0
|
22
23
|
gemfile: gemfiles/rails3.gemfile
|
24
|
+
- rvm: 2.6.0
|
25
|
+
gemfile: gemfiles/rails3.gemfile
|
23
26
|
script: bundle exec rspec
|
24
27
|
before_install:
|
25
28
|
- gem install bundler -v '< 2'
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![logo](https://user-images.githubusercontent.com/28652/50427588-2289cf80-087a-11e9-82e1-ae212adf0d07.png)](https://metapresenter.com)
|
4
4
|
|
5
|
-
MetaPresenter is a Ruby gem for writing highly focused and testable view
|
5
|
+
MetaPresenter is a Ruby gem for writing highly focused and testable Rails view presenter classes. For each controller/action pair you get a presenter class in `app/presenters` that you can use in your views with with `presenter.method_name`. This helps you decompose your helper logic into tight, easily testable classes. There's even a DSL for method delegation on objects to reduce boilerplate.
|
6
6
|
|
7
7
|
![overlay-shape-clean-sm](https://user-images.githubusercontent.com/28652/50854229-828c7580-1352-11e9-824b-a78c9a2404fb.png)
|
8
8
|
|
@@ -217,10 +217,6 @@ Make sure the specs pass, bump the version number in meta_presenter.gemspec, bui
|
|
217
217
|
* add support for layout-level presenters
|
218
218
|
* add Rails 6 support once it comes out (hopefully just have to add a gemfiles/actionpack6.gemfile and it will run with the Appraisal suite)
|
219
219
|
|
220
|
-
## TODO (lower priority)
|
221
|
-
* add backwards compatibility for actionsupport3, will require enabling it in the Appraisal file and then fixing any bugs in the build
|
222
|
-
* add Middleman support (?)
|
223
|
-
|
224
220
|
## Contributing
|
225
221
|
|
226
222
|
1. Fork it
|
@@ -232,4 +228,4 @@ Make sure the specs pass, bump the version number in meta_presenter.gemspec, bui
|
|
232
228
|
|
233
229
|
## License
|
234
230
|
|
235
|
-
See the [LICENSE](https://github.com/szTheory/meta_presenter/blob/master/LICENSE.txt) file.
|
231
|
+
See the [LICENSE](https://github.com/szTheory/meta_presenter/blob/master/LICENSE.txt) file.
|
data/meta_presenter.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'meta_presenter'
|
5
|
-
s.version = '0.2.
|
5
|
+
s.version = '0.2.3'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ['szTheory']
|
8
8
|
s.description = %q{Write highly focused and testable view presenter classes for your Rails controllers and actions}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta_presenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- szTheory
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: '0'
|
204
204
|
requirements: []
|
205
|
-
rubygems_version: 3.0.
|
205
|
+
rubygems_version: 3.0.1
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: MetaPresenter is a Ruby gem for writing highly focused and testable view
|