fooltip 0.0.12 → 0.0.13

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: 3b357c74e49ff09760c906792754edcf2e1b7b73
4
- data.tar.gz: dfda46b22893c97597e2b5ce7fdcb435b888a649
3
+ metadata.gz: a51330eb3f01f46e0039c8ea0906d1a6842dfb95
4
+ data.tar.gz: 2461d5b6fd6e0fbdd042b97b13906fd56509702d
5
5
  SHA512:
6
- metadata.gz: b507e4a52ff693d5b3dfda834f7eec548b0fc6f3fbd4c87f0c71c81d20dca2364a55a80a758653a399a90ee054008ccfbaee95ad567c540c73db0f5d4abcbd4b
7
- data.tar.gz: 6f477d509918083d304ac9cb33d9d29449b95f730df552cc93782e529da42affdeb62c8bac7f76c7fe1c53f97a345f1dcf3d2d7713ed3a69e1f844de3820d180
6
+ metadata.gz: 20aa373e4367c7e6df38be40969a8df7e692196fd74e57fb109a2c2b07735eaada77e2468a508c64e65c2338ef814d201e7ed951831d7e204b53b39decde17bd
7
+ data.tar.gz: 53e1510f1dcb76dcd69e936d6cd1088df37e70c0cfbe1bacfbb8e4564119ad7554f74491e806896bcbdce061f1523e369288be9ec47cdb341feef88eba49e601
@@ -2,7 +2,6 @@ module Fooltip
2
2
  class Container < ::ActiveRecord::Base
3
3
  mount_uploader :image, ImageUploader
4
4
  translates :title, :description, fallbacks_for_empty_translations: true
5
- attr_accessible :description, :title, :translations_attributes, :links_attributes, :image, :remove_image
6
5
  has_many :links, dependent: :destroy
7
6
  has_many :associations, dependent: :destroy
8
7
  has_many :popups, through: :links
@@ -3,7 +3,6 @@ module Fooltip
3
3
  PLACEMENT_MAPPINGS = { 1 => 'top', 2 => 'right', 3 => 'bottom', 4 => 'left' }
4
4
  TRIGGER_MAPPINGS = { 1 => 'click', 2 => 'hover', 3 => 'focus', 4 => 'manual' }
5
5
 
6
- attr_accessible :container_id, :popup_id, :placement, :trigger, :x, :y
7
6
  belongs_to :container
8
7
  belongs_to :popup
9
8
 
@@ -2,8 +2,6 @@ module Fooltip
2
2
  class Popup < ::ActiveRecord::Base
3
3
  translates :title, :content, fallbacks_for_empty_translations: true
4
4
  accepts_nested_attributes_for :translations
5
- attr_accessible :content, :title, :identifier, :min_width, :min_height,
6
- :max_width, :max_height, :translations_attributes
7
5
  has_many :links, dependent: :destroy
8
6
  has_many :containers, through: :links
9
7
  validates :identifier, presence: true
data/lib/fooltip.rb CHANGED
@@ -1,9 +1,8 @@
1
- require "globalize3"
1
+ require "globalize"
2
2
  require "carrierwave"
3
3
  require "haml"
4
4
  require "jquery-rails"
5
5
  require "sass-rails"
6
- require "bootstrap-sass"
7
6
  require "fooltip/engine"
8
7
  require "fooltip/active_record"
9
8
 
@@ -2,7 +2,6 @@ module Fooltip
2
2
  module ActiveRecord
3
3
 
4
4
  def has_fooltips
5
- attr_accessible :fooltip_associations_attributes
6
5
  has_many :fooltip_associations, as: :owner, class_name: "Fooltip::Association", dependent: :destroy
7
6
  has_many :fooltips, through: :fooltip_associations, source: :container, class_name: "Fooltip::Container"
8
7
  accepts_nested_attributes_for :fooltip_associations, reject_if: :all_blank, allow_destroy: true
@@ -1,3 +1,3 @@
1
1
  module Fooltip
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fooltip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Intesys S.r.l.
@@ -9,126 +9,106 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-14 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.1.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.1.0
28
28
  - !ruby/object:Gem::Dependency
29
- name: globalize3
29
+ name: globalize
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - '>='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.3.0
34
+ version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - '>='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.3.0
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: carrierwave
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.8.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.8.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: mini_magick
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.4'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.4'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: haml
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: sass-rails
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '3.1'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '3.1'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: jquery-rails
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - '>='
103
103
  - !ruby/object:Gem::Version
104
104
  version: 1.0.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: 1.0.0
112
- - !ruby/object:Gem::Dependency
113
- name: bootstrap-sass
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: '2.0'
119
- - - "<"
120
- - !ruby/object:Gem::Version
121
- version: '3'
122
- type: :runtime
123
- prerelease: false
124
- version_requirements: !ruby/object:Gem::Requirement
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- version: '2.0'
129
- - - "<"
130
- - !ruby/object:Gem::Version
131
- version: '3'
132
112
  description: Fooltip - when a tooltip just isn't enough.
133
113
  email:
134
114
  - daniel.jonasson@intesys.it
@@ -136,84 +116,84 @@ executables: []
136
116
  extensions: []
137
117
  extra_rdoc_files: []
138
118
  files:
139
- - MIT-LICENSE
140
- - README.rdoc
141
- - Rakefile
142
- - app/assets/images/fooltip/link.png
143
- - app/assets/images/fooltip/link_highlight.png
144
- - app/assets/javascripts/fooltip/application.js
145
- - app/assets/javascripts/fooltip/containers.js
146
- - app/assets/stylesheets/fooltip/application.css.sass
147
- - app/assets/stylesheets/fooltip/containers.css.sass
148
119
  - app/controllers/fooltip/application_controller.rb
149
120
  - app/controllers/fooltip/containers_controller.rb
150
- - app/helpers/fooltip/application_helper.rb
151
- - app/helpers/fooltip/containers_helper.rb
152
- - app/models/fooltip/association.rb
153
- - app/models/fooltip/container.rb
154
- - app/models/fooltip/link.rb
155
- - app/models/fooltip/popup.rb
156
121
  - app/uploaders/fooltip/image_uploader.rb
157
- - app/views/fooltip/containers/_container.html.haml
158
122
  - app/views/fooltip/containers/show.html.haml
123
+ - app/views/fooltip/containers/_container.html.haml
159
124
  - app/views/layouts/fooltip/application.html.haml
125
+ - app/models/fooltip/popup.rb
126
+ - app/models/fooltip/association.rb
127
+ - app/models/fooltip/container.rb
128
+ - app/models/fooltip/link.rb
129
+ - app/helpers/fooltip/containers_helper.rb
130
+ - app/helpers/fooltip/application_helper.rb
131
+ - app/assets/javascripts/fooltip/containers.js
132
+ - app/assets/javascripts/fooltip/application.js
133
+ - app/assets/stylesheets/fooltip/application.css.sass
134
+ - app/assets/stylesheets/fooltip/containers.css.sass
135
+ - app/assets/images/fooltip/link_highlight.png
136
+ - app/assets/images/fooltip/link.png
160
137
  - config/routes.rb
161
138
  - db/migrate/20130402091259_create_fooltip_tables.rb
162
- - lib/fooltip.rb
163
- - lib/fooltip/active_record.rb
164
- - lib/fooltip/engine.rb
165
- - lib/fooltip/version.rb
166
139
  - lib/tasks/fooltip_tasks.rake
167
140
  - lib/tasks/testing_tasks.rake
141
+ - lib/fooltip/engine.rb
142
+ - lib/fooltip/version.rb
143
+ - lib/fooltip/active_record.rb
144
+ - lib/fooltip.rb
145
+ - MIT-LICENSE
146
+ - Rakefile
147
+ - README.rdoc
168
148
  - spec/controllers/fooltip/containers_controller_spec.rb
149
+ - spec/uploaders/image_uploader_spec.rb
150
+ - spec/models/fooltip/link_spec.rb
151
+ - spec/models/fooltip/association_spec.rb
152
+ - spec/models/fooltip/container_spec.rb
153
+ - spec/models/fooltip/popup_spec.rb
169
154
  - spec/data/logo.gif
170
- - spec/data/models.rb
171
155
  - spec/data/schema.rb
156
+ - spec/data/models.rb
157
+ - spec/spec_helper.rb
158
+ - spec/helpers/fooltip/containers_helper_spec.rb
159
+ - spec/fooltip_spec.rb
160
+ - spec/factories/fooltip/links.rb
161
+ - spec/factories/fooltip/containers.rb
162
+ - spec/factories/fooltip/popups.rb
163
+ - spec/factories_spec.rb
172
164
  - spec/dummy/README.rdoc
165
+ - spec/dummy/db/test.sqlite3
166
+ - spec/dummy/db/schema.rb
167
+ - spec/dummy/db/development.sqlite3
168
+ - spec/dummy/config.ru
169
+ - spec/dummy/public/500.html
170
+ - spec/dummy/public/uploads/fooltip/container/image/2/test_small.png
171
+ - spec/dummy/public/uploads/fooltip/container/image/1/test_small.png
172
+ - spec/dummy/public/favicon.ico
173
+ - spec/dummy/public/422.html
174
+ - spec/dummy/public/404.html
173
175
  - spec/dummy/Rakefile
174
- - spec/dummy/app/assets/javascripts/application.js
175
- - spec/dummy/app/assets/stylesheets/application.css
176
176
  - spec/dummy/app/controllers/application_controller.rb
177
- - spec/dummy/app/helpers/application_helper.rb
178
177
  - spec/dummy/app/views/layouts/application.html.haml
179
- - spec/dummy/config.ru
180
- - spec/dummy/config/application.rb
181
- - spec/dummy/config/boot.rb
182
- - spec/dummy/config/database.yml
183
- - spec/dummy/config/environment.rb
178
+ - spec/dummy/app/helpers/application_helper.rb
179
+ - spec/dummy/app/assets/javascripts/application.js
180
+ - spec/dummy/app/assets/stylesheets/application.css
181
+ - spec/dummy/script/rails
182
+ - spec/dummy/config/environments/test.rb
184
183
  - spec/dummy/config/environments/development.rb
185
184
  - spec/dummy/config/environments/production.rb
186
- - spec/dummy/config/environments/test.rb
187
- - spec/dummy/config/initializers/backtrace_silencers.rb
185
+ - spec/dummy/config/environment.rb
186
+ - spec/dummy/config/routes.rb
187
+ - spec/dummy/config/locales/en.yml
188
+ - spec/dummy/config/database.yml
189
+ - spec/dummy/config/boot.rb
190
+ - spec/dummy/config/application.rb
191
+ - spec/dummy/config/initializers/wrap_parameters.rb
188
192
  - spec/dummy/config/initializers/inflections.rb
189
193
  - spec/dummy/config/initializers/mime_types.rb
190
194
  - spec/dummy/config/initializers/secret_token.rb
195
+ - spec/dummy/config/initializers/backtrace_silencers.rb
191
196
  - spec/dummy/config/initializers/session_store.rb
192
- - spec/dummy/config/initializers/wrap_parameters.rb
193
- - spec/dummy/config/locales/en.yml
194
- - spec/dummy/config/routes.rb
195
- - spec/dummy/db/development.sqlite3
196
- - spec/dummy/db/schema.rb
197
- - spec/dummy/db/test.sqlite3
198
- - spec/dummy/public/404.html
199
- - spec/dummy/public/422.html
200
- - spec/dummy/public/500.html
201
- - spec/dummy/public/favicon.ico
202
- - spec/dummy/public/uploads/fooltip/container/image/1/test_small.png
203
- - spec/dummy/public/uploads/fooltip/container/image/2/test_small.png
204
- - spec/dummy/script/rails
205
- - spec/factories/fooltip/containers.rb
206
- - spec/factories/fooltip/links.rb
207
- - spec/factories/fooltip/popups.rb
208
- - spec/factories_spec.rb
209
- - spec/fooltip_spec.rb
210
- - spec/helpers/fooltip/containers_helper_spec.rb
211
- - spec/models/fooltip/association_spec.rb
212
- - spec/models/fooltip/container_spec.rb
213
- - spec/models/fooltip/link_spec.rb
214
- - spec/models/fooltip/popup_spec.rb
215
- - spec/spec_helper.rb
216
- - spec/uploaders/image_uploader_spec.rb
217
197
  homepage: https://github.com/intesys/fooltip
218
198
  licenses: []
219
199
  metadata: {}
@@ -223,17 +203,17 @@ require_paths:
223
203
  - lib
224
204
  required_ruby_version: !ruby/object:Gem::Requirement
225
205
  requirements:
226
- - - ">="
206
+ - - '>='
227
207
  - !ruby/object:Gem::Version
228
208
  version: '0'
229
209
  required_rubygems_version: !ruby/object:Gem::Requirement
230
210
  requirements:
231
- - - ">="
211
+ - - '>='
232
212
  - !ruby/object:Gem::Version
233
213
  version: '0'
234
214
  requirements: []
235
215
  rubyforge_project:
236
- rubygems_version: 2.2.0
216
+ rubygems_version: 2.0.14
237
217
  signing_key:
238
218
  specification_version: 4
239
219
  summary: Fooltip - when a tooltip just isn't enough.