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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3484de7a6c858f54f6201c48ea1316778c287e8
4
- data.tar.gz: 348040f2ae3bec77b8b15972881554e22dfd1373
3
+ metadata.gz: ef920a5c8affee673acb640c3141a2eeb9d430d4
4
+ data.tar.gz: 249d3c775741ce5404aac7b22e7e2f802504284c
5
5
  SHA512:
6
- metadata.gz: a33a457703b4537f021e126eb7013b08999f6da892d34153c75397627230cf8a3a5a9bda182437d49ab8234d5c42c5985544ca48c77a5793fa0cd6879f2a7623
7
- data.tar.gz: b8de6b181357e5db23eaf7121bd849dbc7a0c3279d780fa5ff1b0c17d6347d13171d10a056a5154f66bef22d7d0e4e254c880b5c697ad7b5f4add18337f192e9
6
+ metadata.gz: ba566e7e0afa5fdaa5f603bd4802ba7e3558236e0876b07ad4e4c902b2842147726311007eb63ba4c0710995170e0151855001e27c1ca64ad810f0783c652f44
7
+ data.tar.gz: 79f312b622f6c5696b1be22d9d6b5ce43b7a997807e4f2056f117322d92ed35f80cd13d203df25e08b4906a7637b09d6b07e145893dc30b6d7bf433b45fb49f6
@@ -1,5 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.0
5
- - 2.2.0
3
+ - 2.5.0
data/Gemfile CHANGED
@@ -1,6 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
+ gem 'rails-controller-testing'
5
+
4
6
  group :test do
5
7
  gem 'rake'
6
8
  end
@@ -1,137 +1,154 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panoramic (0.0.6)
5
- rails (>= 3.0.7)
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
- actionmailer (4.2.5.1)
11
- actionpack (= 4.2.5.1)
12
- actionview (= 4.2.5.1)
13
- activejob (= 4.2.5.1)
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 (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.5.1)
17
- actionview (= 4.2.5.1)
18
- activesupport (= 4.2.5.1)
19
- rack (~> 1.6)
20
- rack-test (~> 0.6.2)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
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 (4.2.5.1)
24
- activesupport (= 4.2.5.1)
28
+ actionview (5.1.5)
29
+ activesupport (= 5.1.5)
25
30
  builder (~> 3.1)
26
- erubis (~> 2.7.0)
27
- rails-dom-testing (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- activejob (4.2.5.1)
30
- activesupport (= 4.2.5.1)
31
- globalid (>= 0.3.0)
32
- activemodel (4.2.5.1)
33
- activesupport (= 4.2.5.1)
34
- builder (~> 3.1)
35
- activerecord (4.2.5.1)
36
- activemodel (= 4.2.5.1)
37
- activesupport (= 4.2.5.1)
38
- arel (~> 6.0)
39
- activesupport (4.2.5.1)
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 (6.0.3)
46
- builder (3.2.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.0)
54
- diff-lcs (1.2.5)
55
- docile (1.1.5)
56
- erubis (2.7.0)
57
- factory_girl (4.5.0)
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.3.6)
60
- activesupport (>= 4.1.0)
61
- i18n (0.7.0)
62
- json (1.8.3)
63
- loofah (2.0.3)
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.6.3)
66
- mime-types (>= 1.16, < 3)
67
- mime-types (2.99.1)
68
- mini_portile2 (2.0.0)
69
- minitest (5.8.4)
70
- nokogiri (1.6.7.2)
71
- mini_portile2 (~> 2.0.0.rc2)
72
- rack (1.6.4)
73
- rack-test (0.6.3)
74
- rack (>= 1.0)
75
- rails (4.2.5.1)
76
- actionmailer (= 4.2.5.1)
77
- actionpack (= 4.2.5.1)
78
- actionview (= 4.2.5.1)
79
- activejob (= 4.2.5.1)
80
- activemodel (= 4.2.5.1)
81
- activerecord (= 4.2.5.1)
82
- activesupport (= 4.2.5.1)
83
- bundler (>= 1.3.0, < 2.0)
84
- railties (= 4.2.5.1)
85
- sprockets-rails
86
- rails-deprecated_sanitizer (1.0.3)
87
- activesupport (>= 4.2.0.alpha)
88
- rails-dom-testing (1.0.7)
89
- activesupport (>= 4.2.0.beta, < 5.0)
90
- nokogiri (~> 1.6.0)
91
- rails-deprecated_sanitizer (>= 1.0.1)
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 (4.2.5.1)
95
- actionpack (= 4.2.5.1)
96
- activesupport (= 4.2.5.1)
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 (10.5.0)
100
- rspec-core (3.4.3)
101
- rspec-support (~> 3.4.0)
102
- rspec-expectations (3.4.0)
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.4.0)
105
- rspec-mocks (3.4.1)
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.4.0)
108
- rspec-rails (3.4.2)
109
- actionpack (>= 3.0, < 4.3)
110
- activesupport (>= 3.0, < 4.3)
111
- railties (>= 3.0, < 4.3)
112
- rspec-core (~> 3.4.0)
113
- rspec-expectations (~> 3.4.0)
114
- rspec-mocks (~> 3.4.0)
115
- rspec-support (~> 3.4.0)
116
- rspec-support (3.4.1)
117
- simplecov (0.11.2)
118
- docile (~> 1.1.0)
119
- json (~> 1.8)
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.0)
122
- sprockets (3.5.2)
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.0.2)
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.11)
130
- thor (0.19.1)
131
- thread_safe (0.3.5)
132
- tzinfo (1.2.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
- xpath (2.0.0)
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.11.2
168
+ 1.16.1
@@ -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)
@@ -2,19 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "panoramic"
5
- s.version ='0.0.6'
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{Stores rails views on database}
11
+ s.description = %q{A gem to store Rails views on database}
12
+ s.license = 'MIT'
12
13
 
13
- s.add_dependency 'rails', ">= 3.0.7"
14
- s.add_development_dependency "capybara", "~> 2.5.0"
15
- s.add_development_dependency "factory_girl"
16
- s.add_development_dependency "simplecov"
17
- s.add_development_dependency "sqlite3"
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.6
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: 2016-02-24 00:00:00.000000000 Z
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: 3.0.7
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: 3.0.7
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: Stores rails views on database
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.4.5.1
196
+ rubygems_version: 2.6.13
176
197
  signing_key:
177
198
  specification_version: 4
178
199
  summary: Stores rails views on database