planit-rails 0.1.0 → 0.1.1

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: 7f5d728b099c59681d4aede79d30ec01cd9e308f
4
- data.tar.gz: 1a9491e90ddf0b58d7d848084ea71fea2e7827b7
3
+ metadata.gz: 639bec399a0b8d7beaae2b2e693ce26823e14126
4
+ data.tar.gz: 7e65e0839abaac96d79021e493470f897628841d
5
5
  SHA512:
6
- metadata.gz: d51becd23001287d205b5456491f6ffde3f940d928344a7405c23435fc9c94a103e71b2f055672d1736e1c418f5f06eb874e66ca5c960d54480654a314a0a38a
7
- data.tar.gz: 1d9d81d4667b2b0787bc2181a866a7a4bad6e364806f1c45fe5f4504535069f827d1301b33d53497372f91d16fb9e5635141388539051b40aad963d124aa8ff5
6
+ metadata.gz: 2df62e44c5bfb6729e2a545314783e52f557444ad6e75a7de27e25ab40d7c32611e6ecb89ad53cd77c1fce4e73f7bfc11f2b7613b43911796ecbf56782a5b416
7
+ data.tar.gz: 17fdd4c3c3f730ae210f5f93be4297c31b77954070a701b797524d8a93d8c03b8fc03d11c3918eddf40e735e6e3819379d85b6de9c273c74ccd672b7308a23ff
data/README.md CHANGED
@@ -1,3 +1,52 @@
1
- # Planit Rails
1
+ Planit Rails
2
+ ================
2
3
 
3
- The planit library is still being developed. This gem will be published when the library is available.
4
+ PlanitJS is a tool built on jQuery to help you interact with markers/hotspots
5
+ on an image or blank container. This gem adds the script and stylesheet to your
6
+ asset pipeline.
7
+
8
+ Refer to [PlanitJS](https://github.com/planitjs/planit) for PlanitJS's usage.
9
+
10
+ Installation
11
+ ----------------
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'planit-rails'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install planit-rails
26
+
27
+ ## Usage
28
+
29
+ Load the scripts, and don't forget jQuery:
30
+
31
+ **application.js**
32
+
33
+ ```js
34
+ //= require jquery
35
+ //= require planit
36
+ ```
37
+
38
+ You can also add the stylesheet as well:
39
+
40
+ **application.scss**
41
+
42
+ ```scss
43
+ @import "planit";
44
+ ```
45
+
46
+ ## Contributing
47
+
48
+ 1. Fork it ( https://github.com/[my-github-username]/planit-rails/fork )
49
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
50
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
51
+ 4. Push to the branch (`git push origin my-new-feature`)
52
+ 5. Create a new Pull Request
@@ -1,5 +1,5 @@
1
1
  module Planit
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/planit-rails.gemspec CHANGED
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.add_dependency "jquery-rails"
22
+
21
23
  spec.add_development_dependency "bundler", "~> 1.7"
22
24
  spec.add_development_dependency "rake", "~> 10.0"
23
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planit-rails
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
  - Sean C Davis
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jquery-rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement