fooltip 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 31e9cfc455b0995543b12d29441c387a1fcd570b
4
+ data.tar.gz: 475f5ed67318bec4856b61129e26ee93f64e218d
5
+ SHA512:
6
+ metadata.gz: 906ea9b5037e88eb25d4b62df2fa48ec7f10e7b5e574cd77f406e303901fa1679f5e3f4142543f989507a5d2133324adb9d9f0df4281e26fbe995b4910b6bb18
7
+ data.tar.gz: 7d8b4a909bfa97fcb1994071f4fac02fdb48a9832349790ef0f3299416208993d01c6ac189d599b4ee2dbf9915aca3bf0e0c86c5602fa813bd9c76c34b34a16b
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2013 Intesys S.r.l.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,15 @@
1
+ = Fooltip
2
+
3
+ *STATUS*: In development - not ready to be used.
4
+
5
+ {<img src="https://travis-ci.org/intesys/fooltip.png?branch=master" alt="Build Status" />}[https://travis-ci.org/intesys/fooltip]
6
+ {<img src="https://codeclimate.com/github/intesys/fooltip.png" alt="Code Climate" />}[https://codeclimate.com/github/intesys/fooltip]
7
+ {<img src="https://coveralls.io/repos/intesys/fooltip/badge.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/intesys/fooltip]
8
+ {<img src="https://badge.fury.io/rb/fooltip.png" alt="Gem Version" />}[http://badge.fury.io/rb/fooltip]
9
+
10
+ Fooltip - when a tooltip just isn't enough...
11
+
12
+
13
+ == Title
14
+
15
+ Text
data/Rakefile ADDED
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'Fooltip'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ Bundler::GemHelper.install_tasks
24
+
25
+
26
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
27
+ load 'rails/tasks/engine.rake'
28
+
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec)
31
+ task default: :spec
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree .
@@ -0,0 +1,13 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,4 @@
1
+ module Fooltip
2
+ class ApplicationController < ActionController::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Fooltip
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,10 @@
1
+ !!! 5
2
+ %html
3
+ %head
4
+ %meta{name: "viewport", content: "width=device-width, initial-scale=1, maximum-scale=1"}
5
+ %title Fooltip
6
+ = stylesheet_link_tag 'fooltip/application', media: "all"
7
+ = javascript_include_tag 'fooltip/application'
8
+ = csrf_meta_tags
9
+ %body
10
+ = yield
data/config/routes.rb ADDED
@@ -0,0 +1,2 @@
1
+ Fooltip::Engine.routes.draw do
2
+ end
@@ -0,0 +1,14 @@
1
+ module Fooltip
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Fooltip
4
+ config.generators do |g|
5
+ g.template_engine :haml
6
+ g.integration_tool :rspec
7
+ g.test_framework :rspec, view_specs: false
8
+ g.fixture_replacement :factory_girl, dir: 'spec/factories'
9
+ g.orm :active_record
10
+ g.stylesheets true
11
+ #g.form_builder :simple_form
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,3 @@
1
+ module Fooltip
2
+ VERSION = "0.0.1"
3
+ end
data/lib/fooltip.rb ADDED
@@ -0,0 +1,11 @@
1
+ require "globalize3"
2
+ require "fooltip/engine"
3
+
4
+ module Fooltip
5
+ #include ActiveSupport::Configurable
6
+
7
+ #config.x = :X
8
+ #config_accessor :x
9
+
10
+ #autoload :MyModule, 'fooltip/my_module'
11
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: UTF-8
2
+
3
+ #namespace :fooltip do
4
+ #
5
+ # desc "A Task"
6
+ # task a_task: :environment do
7
+ # end
8
+ #
9
+ #end
@@ -0,0 +1,7 @@
1
+ # encoding: UTF-8
2
+ desc "Setup test db and run tests"
3
+ task test: :environment do
4
+ Rake::Task['app:db:migrate'].execute
5
+ Rake::Task['app:db:test:prepare'].execute
6
+ Rake::Task['spec'].execute
7
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fooltip
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Intesys S.r.l.
8
+ - Daniel Jonasson
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 3.1.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 3.1.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: globalize3
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: 0.3.0
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: 0.3.0
42
+ description: Fooltip - when a tooltip just isn't enough.
43
+ email:
44
+ - daniel.jonasson@intesys.it
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - app/controllers/fooltip/application_controller.rb
50
+ - app/views/layouts/fooltip/application.html.haml
51
+ - app/helpers/fooltip/application_helper.rb
52
+ - app/assets/javascripts/fooltip/application.js
53
+ - app/assets/stylesheets/fooltip/application.css
54
+ - config/routes.rb
55
+ - lib/tasks/fooltip_tasks.rake
56
+ - lib/tasks/testing_tasks.rake
57
+ - lib/fooltip/engine.rb
58
+ - lib/fooltip/version.rb
59
+ - lib/fooltip.rb
60
+ - MIT-LICENSE
61
+ - Rakefile
62
+ - README.rdoc
63
+ homepage: https://github.com/intesys/fooltip
64
+ licenses: []
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.0.0
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Fooltip - when a tooltip just isn't enough.
86
+ test_files: []