rails-protip 0.1.0 → 0.1.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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MmMxNzBiYTlkODllMzdlMmI3M2NkNTg0OTNlNTU5ZDBiMjI5NTcyYQ==
5
- data.tar.gz: !binary |-
6
- MmE1ZDI3MWQzNTY4ZDAxNDM0MTQzZmMzODZlOTBjN2UzZmQ2MDE4MA==
2
+ SHA1:
3
+ metadata.gz: 1f7cb24a40d3fe2262f21822a792c4e1fb4d0f0a
4
+ data.tar.gz: 0ccf2a4b33cd666bbdabe0a3ec0a22424e2af9cc
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NDhiMjg0NDQ5NjRkNjI4Y2Y1ZDc5MDg2OWYzN2EyODNlMWFmYmQzZjM4NDc0
10
- NDNhMzgxYWQ4MDhiMTA5ZGViYmIxNTI5YTBkMzJmY2QyZGY4MTUyNTZjMGUy
11
- ZTkxMmM5MWRmNDI0ODA3ZGU2ZGFiZTE5MWU0YTZhMmNlZTkyNjM=
12
- data.tar.gz: !binary |-
13
- YjlhNmU3N2Q2MzVlODg1MThmMGQ1NjVlN2E5YjljZDgyYTNhOWJkMjI2Mzc3
14
- ZmNhNWExNjU0NjRkODRiNjA1MjA4NjJiMzcxZDg0NzNlNmU0ZTYxMDhhZTkz
15
- MzdlNTAwMDk2MTdiZDlkN2RlOTI3NzY2YWE0ZmI3NGUwYWEzOWY=
6
+ metadata.gz: daf9bc7fdb91132d2bc8414f0374a44e0f5a4aa47ad16879d24f71ae73cffbbd11c70bc4e9eabb9c9875e9f708209749e46af8b7c6cb0eb53093a1123df05cd1
7
+ data.tar.gz: d6b6c48d1c2dda2fe89e3708959a43300b621b1f2a51961ea0d25f480c63d860420d758fababb8ef534d654287042ab8889dc9143c43ea6394e238b96528af3a
data/.travis.yml CHANGED
@@ -1,4 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- before_install: gem install bundler -v 1.10.6
4
+ - 2.0.0
5
+ - 2.1.4
6
+ - 2.1.5
7
+ - 2.2.1
8
+ before_install: gem install bundler -v 1.10.6
data/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # Rails::Protip
2
2
 
3
+ [![Build Status](https://travis-ci.org/ethirajsrinivasan/rails-protip.svg?branch=master)](https://travis-ci.org/ethirajsrinivasan/rails-protip)
4
+ [![Code Climate](https://codeclimate.com/github/ethirajsrinivasan/rails-protip/badges/gpa.svg)](https://codeclimate.com/github/ethirajsrinivasan/rails-protip)
5
+ [![security](https://hakiri.io/github/ethirajsrinivasan/rails-protip/master.svg)](https://hakiri.io/github/ethirajsrinivasan/rails-protip/master)
6
+
7
+
3
8
  rails-protip is tooltip gem based on jquery protip plugin
4
- TODO: Delete this and the text above, and describe your gem
9
+
5
10
 
6
11
  ## Installation
7
12
 
@@ -23,7 +28,7 @@ To use this gem add this require statement to your application.js file:
23
28
 
24
29
  //= require protip
25
30
 
26
- and in application.css file as follows
31
+ and in application.css file as follows
27
32
 
28
33
  *= require protip
29
34
 
@@ -38,10 +43,10 @@ You can also set default configuration in protip.yml under config folder, exampl
38
43
 
39
44
  Support for animation is also provided, example
40
45
 
41
- <div class="protip" data-pt-animate="infinite bounce" data-pt-title="You must be at least 18!">Go to the bar!</div>
46
+ <div class="protip" data-pt-animate="infinite bounce" data-pt-title="You must be at least 18!">Go to the bar!</div>
47
+
48
+ For further usage check http://protip.rocks
42
49
 
43
- For further usage check http://protip.rocks
44
-
45
50
  ## Contributing
46
51
 
47
52
  Bug reports and pull requests are welcome on GitHub at https://github.com/ethirajsrinivasan/rails-protip.
data/Rakefile CHANGED
@@ -1 +1,4 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ RSpec::Core::RakeTask.new
4
+ task :default => :spec
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Protip
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/rails-protip.gemspec CHANGED
@@ -26,7 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
-
29
+ spec.required_ruby_version = '>= 1.9.3'
30
30
  spec.add_development_dependency "bundler", "~> 1.10"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency 'rspec'
32
33
  end
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-protip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ethi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
11
+ date: 2015-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: Tooltip gem based on jquery protip
42
56
  email:
43
57
  - ethirajsrinivasan@gmail.com
@@ -45,8 +59,8 @@ executables: []
45
59
  extensions: []
46
60
  extra_rdoc_files: []
47
61
  files:
48
- - .gitignore
49
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
50
64
  - Gemfile
51
65
  - LICENSE.txt
52
66
  - README.md
@@ -72,12 +86,12 @@ require_paths:
72
86
  - lib
73
87
  required_ruby_version: !ruby/object:Gem::Requirement
74
88
  requirements:
75
- - - ! '>='
89
+ - - ">="
76
90
  - !ruby/object:Gem::Version
77
- version: '0'
91
+ version: 1.9.3
78
92
  required_rubygems_version: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ! '>='
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  requirements: []