showcase 0.1.7 → 0.2.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/.travis.yml +9 -1
- data/Appraisals +8 -0
- data/Gemfile +3 -0
- data/README.md +186 -21
- data/Rakefile +14 -1
- data/gemfiles/activerecord3.gemfile +8 -0
- data/gemfiles/activerecord4.gemfile +8 -0
- data/lib/generators/showcase/presenter/presenter_generator.rb +2 -0
- data/lib/generators/showcase/presenter/templates/presenter.rb +2 -1
- data/lib/showcase/helpers/config_object.rb +28 -0
- data/lib/showcase/helpers/html_options.rb +22 -0
- data/lib/showcase/helpers/seo_meta_builder.rb +56 -0
- data/lib/showcase/presenter.rb +1 -0
- data/lib/showcase/railtie.rb +12 -0
- data/lib/showcase/traits/base.rb +23 -0
- data/lib/showcase/traits/link_to.rb +37 -0
- data/lib/showcase/traits/record.rb +61 -0
- data/lib/showcase/traits/seo.rb +27 -0
- data/lib/showcase/traits/share.rb +61 -0
- data/lib/showcase/traits.rb +11 -0
- data/lib/showcase/version.rb +1 -1
- data/lib/showcase.rb +2 -0
- data/showcase.gemspec +3 -0
- data/spec/fixtures.rb +16 -0
- data/spec/helpers/config_object_spec.rb +45 -0
- data/spec/helpers/seo_meta_builder_spec.rb +95 -0
- data/spec/helpers_spec.rb +34 -0
- data/spec/{showcase_spec.rb → presenter_spec.rb} +1 -37
- data/spec/spec_helper.rb +12 -0
- data/spec/traits/base_spec.rb +56 -0
- data/spec/traits/link_to_spec.rb +123 -0
- data/spec/traits/record_spec.rb +59 -0
- data/spec/traits/seo_spec.rb +37 -0
- data/spec/traits/share_spec.rb +60 -0
- metadata +67 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: showcase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -52,6 +52,34 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-html-matchers
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
description: A barebone and framework agnostic presenter implementation
|
56
84
|
email:
|
57
85
|
- stefano.verna@welaika.com
|
@@ -60,21 +88,44 @@ extensions: []
|
|
60
88
|
extra_rdoc_files: []
|
61
89
|
files:
|
62
90
|
- .gitignore
|
91
|
+
- .rspec
|
63
92
|
- .travis.yml
|
93
|
+
- Appraisals
|
64
94
|
- Gemfile
|
65
95
|
- LICENSE.txt
|
66
96
|
- README.md
|
67
97
|
- Rakefile
|
98
|
+
- gemfiles/activerecord3.gemfile
|
99
|
+
- gemfiles/activerecord4.gemfile
|
68
100
|
- lib/generators/showcase/presenter/USAGE
|
69
101
|
- lib/generators/showcase/presenter/presenter_generator.rb
|
70
102
|
- lib/generators/showcase/presenter/templates/presenter.rb
|
71
103
|
- lib/showcase.rb
|
72
104
|
- lib/showcase/helpers.rb
|
105
|
+
- lib/showcase/helpers/config_object.rb
|
106
|
+
- lib/showcase/helpers/html_options.rb
|
107
|
+
- lib/showcase/helpers/seo_meta_builder.rb
|
73
108
|
- lib/showcase/presenter.rb
|
109
|
+
- lib/showcase/railtie.rb
|
110
|
+
- lib/showcase/traits.rb
|
111
|
+
- lib/showcase/traits/base.rb
|
112
|
+
- lib/showcase/traits/link_to.rb
|
113
|
+
- lib/showcase/traits/record.rb
|
114
|
+
- lib/showcase/traits/seo.rb
|
115
|
+
- lib/showcase/traits/share.rb
|
74
116
|
- lib/showcase/version.rb
|
75
117
|
- showcase.gemspec
|
76
118
|
- spec/fixtures.rb
|
77
|
-
- spec/
|
119
|
+
- spec/helpers/config_object_spec.rb
|
120
|
+
- spec/helpers/seo_meta_builder_spec.rb
|
121
|
+
- spec/helpers_spec.rb
|
122
|
+
- spec/presenter_spec.rb
|
123
|
+
- spec/spec_helper.rb
|
124
|
+
- spec/traits/base_spec.rb
|
125
|
+
- spec/traits/link_to_spec.rb
|
126
|
+
- spec/traits/record_spec.rb
|
127
|
+
- spec/traits/seo_spec.rb
|
128
|
+
- spec/traits/share_spec.rb
|
78
129
|
homepage: https://github.com/welaika/showcase
|
79
130
|
licenses: []
|
80
131
|
metadata: {}
|
@@ -89,16 +140,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
140
|
version: '0'
|
90
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
142
|
requirements:
|
92
|
-
- - '
|
143
|
+
- - '>'
|
93
144
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
145
|
+
version: 1.3.1
|
95
146
|
requirements: []
|
96
147
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.0.
|
148
|
+
rubygems_version: 2.0.3
|
98
149
|
signing_key:
|
99
150
|
specification_version: 4
|
100
151
|
summary: A barebone and framework agnostic presenter implementation
|
101
152
|
test_files:
|
102
153
|
- spec/fixtures.rb
|
103
|
-
- spec/
|
104
|
-
|
154
|
+
- spec/helpers/config_object_spec.rb
|
155
|
+
- spec/helpers/seo_meta_builder_spec.rb
|
156
|
+
- spec/helpers_spec.rb
|
157
|
+
- spec/presenter_spec.rb
|
158
|
+
- spec/spec_helper.rb
|
159
|
+
- spec/traits/base_spec.rb
|
160
|
+
- spec/traits/link_to_spec.rb
|
161
|
+
- spec/traits/record_spec.rb
|
162
|
+
- spec/traits/seo_spec.rb
|
163
|
+
- spec/traits/share_spec.rb
|