panoramic 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -3
- data/Gemfile +2 -0
- data/Gemfile.lock +119 -101
- data/lib/panoramic/resolver.rb +1 -1
- data/panoramic.gemspec +9 -7
- data/spec/dummy/config/application.rb +0 -3
- metadata +36 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef920a5c8affee673acb640c3141a2eeb9d430d4
|
4
|
+
data.tar.gz: 249d3c775741ce5404aac7b22e7e2f802504284c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba566e7e0afa5fdaa5f603bd4802ba7e3558236e0876b07ad4e4c902b2842147726311007eb63ba4c0710995170e0151855001e27c1ca64ad810f0783c652f44
|
7
|
+
data.tar.gz: 79f312b622f6c5696b1be22d9d6b5ce43b7a997807e4f2056f117322d92ed35f80cd13d203df25e08b4906a7637b09d6b07e145893dc30b6d7bf433b45fb49f6
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,137 +1,154 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
panoramic (0.0.
|
5
|
-
rails (>=
|
4
|
+
panoramic (0.0.7)
|
5
|
+
rails (>= 4.2.0)
|
6
|
+
rails-controller-testing
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
9
10
|
specs:
|
10
|
-
|
11
|
-
actionpack (=
|
12
|
-
|
13
|
-
|
11
|
+
actioncable (5.1.5)
|
12
|
+
actionpack (= 5.1.5)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (~> 0.6.1)
|
15
|
+
actionmailer (5.1.5)
|
16
|
+
actionpack (= 5.1.5)
|
17
|
+
actionview (= 5.1.5)
|
18
|
+
activejob (= 5.1.5)
|
14
19
|
mail (~> 2.5, >= 2.5.4)
|
15
|
-
rails-dom-testing (~>
|
16
|
-
actionpack (
|
17
|
-
actionview (=
|
18
|
-
activesupport (=
|
19
|
-
rack (~>
|
20
|
-
rack-test (
|
21
|
-
rails-dom-testing (~>
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
actionpack (5.1.5)
|
22
|
+
actionview (= 5.1.5)
|
23
|
+
activesupport (= 5.1.5)
|
24
|
+
rack (~> 2.0)
|
25
|
+
rack-test (>= 0.6.3)
|
26
|
+
rails-dom-testing (~> 2.0)
|
22
27
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
-
actionview (
|
24
|
-
activesupport (=
|
28
|
+
actionview (5.1.5)
|
29
|
+
activesupport (= 5.1.5)
|
25
30
|
builder (~> 3.1)
|
26
|
-
|
27
|
-
rails-dom-testing (~>
|
28
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
29
|
-
activejob (
|
30
|
-
activesupport (=
|
31
|
-
globalid (>= 0.3.
|
32
|
-
activemodel (
|
33
|
-
activesupport (=
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
31
|
+
erubi (~> 1.4)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.1.5)
|
35
|
+
activesupport (= 5.1.5)
|
36
|
+
globalid (>= 0.3.6)
|
37
|
+
activemodel (5.1.5)
|
38
|
+
activesupport (= 5.1.5)
|
39
|
+
activerecord (5.1.5)
|
40
|
+
activemodel (= 5.1.5)
|
41
|
+
activesupport (= 5.1.5)
|
42
|
+
arel (~> 8.0)
|
43
|
+
activesupport (5.1.5)
|
44
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
40
45
|
i18n (~> 0.7)
|
41
|
-
json (~> 1.7, >= 1.7.7)
|
42
46
|
minitest (~> 5.1)
|
43
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
44
47
|
tzinfo (~> 1.1)
|
45
|
-
arel (
|
46
|
-
builder (3.2.
|
48
|
+
arel (8.0.0)
|
49
|
+
builder (3.2.3)
|
47
50
|
capybara (2.5.0)
|
48
51
|
mime-types (>= 1.16)
|
49
52
|
nokogiri (>= 1.3.3)
|
50
53
|
rack (>= 1.0.0)
|
51
54
|
rack-test (>= 0.5.4)
|
52
55
|
xpath (~> 2.0)
|
53
|
-
concurrent-ruby (1.0.
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
56
|
+
concurrent-ruby (1.0.5)
|
57
|
+
crass (1.0.3)
|
58
|
+
diff-lcs (1.3)
|
59
|
+
docile (1.3.0)
|
60
|
+
erubi (1.7.1)
|
61
|
+
factory_girl (4.9.0)
|
58
62
|
activesupport (>= 3.0.0)
|
59
|
-
globalid (0.
|
60
|
-
activesupport (>= 4.
|
61
|
-
i18n (0.
|
62
|
-
|
63
|
-
|
63
|
+
globalid (0.4.1)
|
64
|
+
activesupport (>= 4.2.0)
|
65
|
+
i18n (0.9.5)
|
66
|
+
concurrent-ruby (~> 1.0)
|
67
|
+
json (2.1.0)
|
68
|
+
loofah (2.2.1)
|
69
|
+
crass (~> 1.0.2)
|
64
70
|
nokogiri (>= 1.5.9)
|
65
|
-
mail (2.
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
rails
|
71
|
+
mail (2.7.0)
|
72
|
+
mini_mime (>= 0.1.1)
|
73
|
+
method_source (0.9.0)
|
74
|
+
mime-types (3.1)
|
75
|
+
mime-types-data (~> 3.2015)
|
76
|
+
mime-types-data (3.2016.0521)
|
77
|
+
mini_mime (1.0.0)
|
78
|
+
mini_portile2 (2.3.0)
|
79
|
+
minitest (5.11.3)
|
80
|
+
nio4r (2.3.0)
|
81
|
+
nokogiri (1.8.2)
|
82
|
+
mini_portile2 (~> 2.3.0)
|
83
|
+
rack (2.0.4)
|
84
|
+
rack-test (0.8.3)
|
85
|
+
rack (>= 1.0, < 3)
|
86
|
+
rails (5.1.5)
|
87
|
+
actioncable (= 5.1.5)
|
88
|
+
actionmailer (= 5.1.5)
|
89
|
+
actionpack (= 5.1.5)
|
90
|
+
actionview (= 5.1.5)
|
91
|
+
activejob (= 5.1.5)
|
92
|
+
activemodel (= 5.1.5)
|
93
|
+
activerecord (= 5.1.5)
|
94
|
+
activesupport (= 5.1.5)
|
95
|
+
bundler (>= 1.3.0)
|
96
|
+
railties (= 5.1.5)
|
97
|
+
sprockets-rails (>= 2.0.0)
|
98
|
+
rails-controller-testing (1.0.2)
|
99
|
+
actionpack (~> 5.x, >= 5.0.1)
|
100
|
+
actionview (~> 5.x, >= 5.0.1)
|
101
|
+
activesupport (~> 5.x)
|
102
|
+
rails-dom-testing (2.0.3)
|
103
|
+
activesupport (>= 4.2.0)
|
104
|
+
nokogiri (>= 1.6)
|
92
105
|
rails-html-sanitizer (1.0.3)
|
93
106
|
loofah (~> 2.0)
|
94
|
-
railties (
|
95
|
-
actionpack (=
|
96
|
-
activesupport (=
|
107
|
+
railties (5.1.5)
|
108
|
+
actionpack (= 5.1.5)
|
109
|
+
activesupport (= 5.1.5)
|
110
|
+
method_source
|
97
111
|
rake (>= 0.8.7)
|
98
112
|
thor (>= 0.18.1, < 2.0)
|
99
|
-
rake (
|
100
|
-
rspec-core (3.
|
101
|
-
rspec-support (~> 3.
|
102
|
-
rspec-expectations (3.
|
113
|
+
rake (12.3.0)
|
114
|
+
rspec-core (3.7.1)
|
115
|
+
rspec-support (~> 3.7.0)
|
116
|
+
rspec-expectations (3.7.0)
|
103
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
-
rspec-support (~> 3.
|
105
|
-
rspec-mocks (3.
|
118
|
+
rspec-support (~> 3.7.0)
|
119
|
+
rspec-mocks (3.7.0)
|
106
120
|
diff-lcs (>= 1.2.0, < 2.0)
|
107
|
-
rspec-support (~> 3.
|
108
|
-
rspec-rails (3.
|
109
|
-
actionpack (>= 3.0
|
110
|
-
activesupport (>= 3.0
|
111
|
-
railties (>= 3.0
|
112
|
-
rspec-core (~> 3.
|
113
|
-
rspec-expectations (~> 3.
|
114
|
-
rspec-mocks (~> 3.
|
115
|
-
rspec-support (~> 3.
|
116
|
-
rspec-support (3.
|
117
|
-
simplecov (0.
|
118
|
-
docile (~> 1.1
|
119
|
-
json (
|
121
|
+
rspec-support (~> 3.7.0)
|
122
|
+
rspec-rails (3.7.2)
|
123
|
+
actionpack (>= 3.0)
|
124
|
+
activesupport (>= 3.0)
|
125
|
+
railties (>= 3.0)
|
126
|
+
rspec-core (~> 3.7.0)
|
127
|
+
rspec-expectations (~> 3.7.0)
|
128
|
+
rspec-mocks (~> 3.7.0)
|
129
|
+
rspec-support (~> 3.7.0)
|
130
|
+
rspec-support (3.7.1)
|
131
|
+
simplecov (0.16.1)
|
132
|
+
docile (~> 1.1)
|
133
|
+
json (>= 1.8, < 3)
|
120
134
|
simplecov-html (~> 0.10.0)
|
121
|
-
simplecov-html (0.10.
|
122
|
-
sprockets (3.
|
135
|
+
simplecov-html (0.10.2)
|
136
|
+
sprockets (3.7.1)
|
123
137
|
concurrent-ruby (~> 1.0)
|
124
138
|
rack (> 1, < 3)
|
125
|
-
sprockets-rails (3.
|
139
|
+
sprockets-rails (3.2.1)
|
126
140
|
actionpack (>= 4.0)
|
127
141
|
activesupport (>= 4.0)
|
128
142
|
sprockets (>= 3.0.0)
|
129
|
-
sqlite3 (1.3.
|
130
|
-
thor (0.
|
131
|
-
thread_safe (0.3.
|
132
|
-
tzinfo (1.2.
|
143
|
+
sqlite3 (1.3.13)
|
144
|
+
thor (0.20.0)
|
145
|
+
thread_safe (0.3.6)
|
146
|
+
tzinfo (1.2.5)
|
133
147
|
thread_safe (~> 0.1)
|
134
|
-
|
148
|
+
websocket-driver (0.6.5)
|
149
|
+
websocket-extensions (>= 0.1.0)
|
150
|
+
websocket-extensions (0.1.3)
|
151
|
+
xpath (2.1.0)
|
135
152
|
nokogiri (~> 1.3)
|
136
153
|
|
137
154
|
PLATFORMS
|
@@ -141,10 +158,11 @@ DEPENDENCIES
|
|
141
158
|
capybara (~> 2.5.0)
|
142
159
|
factory_girl
|
143
160
|
panoramic!
|
161
|
+
rails-controller-testing
|
144
162
|
rake
|
145
163
|
rspec-rails (~> 3.0)
|
146
164
|
simplecov
|
147
165
|
sqlite3
|
148
166
|
|
149
167
|
BUNDLED WITH
|
150
|
-
1.
|
168
|
+
1.16.1
|
data/lib/panoramic/resolver.rb
CHANGED
@@ -13,7 +13,7 @@ module Panoramic
|
|
13
13
|
:format => normalize_array(details[:formats]),
|
14
14
|
:handler => normalize_array(details[:handlers]),
|
15
15
|
:partial => partial || false
|
16
|
-
}
|
16
|
+
}.merge(details[:additional_criteria].presence || {})
|
17
17
|
|
18
18
|
@@model.find_model_templates(conditions).map do |record|
|
19
19
|
initialize_template(record)
|
data/panoramic.gemspec
CHANGED
@@ -2,19 +2,21 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "panoramic"
|
5
|
-
s.version ='0.0.
|
5
|
+
s.version ='0.0.7'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ["Andrea Pavoni"]
|
8
8
|
s.email = ["andrea.pavoni@gmail.com"]
|
9
9
|
s.homepage = "http://github.com/apeacox/panoramic"
|
10
10
|
s.summary = %q{Stores rails views on database}
|
11
|
-
s.description = %q{
|
11
|
+
s.description = %q{A gem to store Rails views on database}
|
12
|
+
s.license = 'MIT'
|
12
13
|
|
13
|
-
s.
|
14
|
-
s.add_development_dependency
|
15
|
-
s.add_development_dependency
|
16
|
-
s.add_development_dependency
|
17
|
-
s.add_development_dependency "
|
14
|
+
s.add_runtime_dependency 'rails', '~> 4'
|
15
|
+
s.add_development_dependency 'rails-controller-testing', '~> 0'
|
16
|
+
s.add_development_dependency 'capybara', '~> 2.5', '>= 2.5.0'
|
17
|
+
s.add_development_dependency 'factory_girl', '~> 0'
|
18
|
+
s.add_development_dependency "simplecov", '~> 0'
|
19
|
+
s.add_development_dependency "sqlite3", '~> 0'
|
18
20
|
s.add_development_dependency "rspec-rails", '~> 3.0'
|
19
21
|
|
20
22
|
s.files = `git ls-files`.split("\n")
|
@@ -24,8 +24,5 @@ module Dummy
|
|
24
24
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
25
25
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
26
26
|
# config.i18n.default_locale = :de
|
27
|
-
|
28
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
29
|
-
config.active_record.raise_in_transactional_callbacks = true
|
30
27
|
end
|
31
28
|
end
|
metadata
CHANGED
@@ -1,34 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panoramic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Pavoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails-controller-testing
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
25
32
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: capybara
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.5'
|
48
|
+
- - ">="
|
32
49
|
- !ruby/object:Gem::Version
|
33
50
|
version: 2.5.0
|
34
51
|
type: :development
|
@@ -36,48 +53,51 @@ dependencies:
|
|
36
53
|
version_requirements: !ruby/object:Gem::Requirement
|
37
54
|
requirements:
|
38
55
|
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.5'
|
58
|
+
- - ">="
|
39
59
|
- !ruby/object:Gem::Version
|
40
60
|
version: 2.5.0
|
41
61
|
- !ruby/object:Gem::Dependency
|
42
62
|
name: factory_girl
|
43
63
|
requirement: !ruby/object:Gem::Requirement
|
44
64
|
requirements:
|
45
|
-
- - "
|
65
|
+
- - "~>"
|
46
66
|
- !ruby/object:Gem::Version
|
47
67
|
version: '0'
|
48
68
|
type: :development
|
49
69
|
prerelease: false
|
50
70
|
version_requirements: !ruby/object:Gem::Requirement
|
51
71
|
requirements:
|
52
|
-
- - "
|
72
|
+
- - "~>"
|
53
73
|
- !ruby/object:Gem::Version
|
54
74
|
version: '0'
|
55
75
|
- !ruby/object:Gem::Dependency
|
56
76
|
name: simplecov
|
57
77
|
requirement: !ruby/object:Gem::Requirement
|
58
78
|
requirements:
|
59
|
-
- - "
|
79
|
+
- - "~>"
|
60
80
|
- !ruby/object:Gem::Version
|
61
81
|
version: '0'
|
62
82
|
type: :development
|
63
83
|
prerelease: false
|
64
84
|
version_requirements: !ruby/object:Gem::Requirement
|
65
85
|
requirements:
|
66
|
-
- - "
|
86
|
+
- - "~>"
|
67
87
|
- !ruby/object:Gem::Version
|
68
88
|
version: '0'
|
69
89
|
- !ruby/object:Gem::Dependency
|
70
90
|
name: sqlite3
|
71
91
|
requirement: !ruby/object:Gem::Requirement
|
72
92
|
requirements:
|
73
|
-
- - "
|
93
|
+
- - "~>"
|
74
94
|
- !ruby/object:Gem::Version
|
75
95
|
version: '0'
|
76
96
|
type: :development
|
77
97
|
prerelease: false
|
78
98
|
version_requirements: !ruby/object:Gem::Requirement
|
79
99
|
requirements:
|
80
|
-
- - "
|
100
|
+
- - "~>"
|
81
101
|
- !ruby/object:Gem::Version
|
82
102
|
version: '0'
|
83
103
|
- !ruby/object:Gem::Dependency
|
@@ -94,7 +114,7 @@ dependencies:
|
|
94
114
|
- - "~>"
|
95
115
|
- !ruby/object:Gem::Version
|
96
116
|
version: '3.0'
|
97
|
-
description:
|
117
|
+
description: A gem to store Rails views on database
|
98
118
|
email:
|
99
119
|
- andrea.pavoni@gmail.com
|
100
120
|
executables: []
|
@@ -154,7 +174,8 @@ files:
|
|
154
174
|
- spec/support/describe_private.rb
|
155
175
|
- spec/support/factories.rb
|
156
176
|
homepage: http://github.com/apeacox/panoramic
|
157
|
-
licenses:
|
177
|
+
licenses:
|
178
|
+
- MIT
|
158
179
|
metadata: {}
|
159
180
|
post_install_message:
|
160
181
|
rdoc_options: []
|
@@ -172,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
193
|
version: '0'
|
173
194
|
requirements: []
|
174
195
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.
|
196
|
+
rubygems_version: 2.6.13
|
176
197
|
signing_key:
|
177
198
|
specification_version: 4
|
178
199
|
summary: Stores rails views on database
|