signature-pad-rails 0.4 → 0.5

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: 148bb45938957a9d988c3944a87a8812bd682c96
4
- data.tar.gz: e273a56c58d452ef03da259546064897dfd70fa1
3
+ metadata.gz: ffa94ab3788112a518d9c8ebd0834d9fed2f3316
4
+ data.tar.gz: 8bc966549a04937f312760a5559c9ab4f6dbfb5e
5
5
  SHA512:
6
- metadata.gz: 7252d202dce67f540df3a804ccc8e7c9cc53ec4a51ab31fede2dfa726cb73b6ed73091c606d0d8bb5ac0e60ac759cbcfe31d3de6ee13795970f998c3eb0bc447
7
- data.tar.gz: 75202ac4cd1de37576416124aa9331f167b833a29708b55353dd8770f67822c4a572465a43d3f274169620beedb8f6e01dd2b643de37ea8cbd3d12e9cc4e9f9e
6
+ metadata.gz: 86b30b5f50870f2010a998e2336adc02c1e1f7444e30695482f1ff00b516b0cf038d5090695f9dfb1793c300ac37e9b537acb97b870bdb4e3b2a4b6aa32265fd
7
+ data.tar.gz: ed7e87f6b819ab5f89845cfb8a56fb7f492fb4961f78d384c712d6294e5f781f8a12c4c9fab5f6d65b515816468b899e6bd6d66c39426b15e15a4e9e8e665736
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 0.5 (15 February 2016)
2
+
3
+ - added flashcanvas.swf to precompiled assets in engine
4
+ - tested with rails5.0.0.beta2, increased to rails < 5.1 in gemspec
5
+ - incremented version
6
+
7
+ ## 0.4 (10 March 2015)
8
+
9
+ - added support for Rails 3
10
+
11
+ ## 0.3 (09 March 2015)
12
+
13
+ - upgraded Signature Pad to 2.5.2 (from 2.5.1)
14
+
1
15
  ## 0.2 (09 July 2014)
2
16
 
3
17
  - packaged assets into signature-pad/ subdirectory
data/README.md CHANGED
@@ -4,15 +4,15 @@ Thomas Bradley's Signature Pad! For Rails! So great.
4
4
 
5
5
  This gem provides:
6
6
 
7
- * Signature Pad 2.5.1 (js, css, font, and cursor)
7
+ * Signature Pad 2.5.2 (js, css, font, and cursor)
8
8
  * flashcanvas.js (js and swf)
9
9
  * json2 (js)
10
10
 
11
11
  The versions of flashcanvcas and json2 are as provided with the original Signature Pad package.
12
12
 
13
13
  To read more about Signature Pad, see http://thomasjbradley.ca/lab/signature-pad/. The Signature Pad source code
14
- is at https://github.com/thomasjbradley/signature-pad. If you wish to make changes to Signature pad itself,
15
- fork the Signature Pad project itself and contribute your changes back to that project.
14
+ is at https://github.com/thomasjbradley/signature-pad. If you wish to make changes to Signature Pad itself,
15
+ fork Thomas Bradley's Signature Pad project and contribute your changes back to that project.
16
16
 
17
17
 
18
18
  ## Installation
@@ -53,6 +53,14 @@ or
53
53
  src: url("<%= asset_path 'signature-pad/journal.eot' %>");
54
54
 
55
55
 
56
+ ## Requirements
57
+
58
+ signature-pad-rails requires:
59
+
60
+ * rails 3.x or 4.x
61
+ * jquery-rails 3.0.0 or greater
62
+
63
+
56
64
  ## Usage
57
65
 
58
66
  See the Signature Pad documentation at http://thomasjbradley.ca/lab/signature-pad/.
@@ -4,6 +4,11 @@ module Signature
4
4
  module Pad
5
5
  module Rails
6
6
  class Engine < ::Rails::Engine
7
+
8
+ initializer 'signature-pad-rails.assets' do |app|
9
+ app.config.assets.precompile += %w( signature-pad/flashcanvas.swf )
10
+ end
11
+
7
12
  end
8
13
  end
9
14
  end
@@ -1,7 +1,7 @@
1
1
  module Signature
2
2
  module Pad
3
3
  module Rails
4
- VERSION = "0.4"
4
+ VERSION = "0.5"
5
5
  SIGNATURE_PAD_VERSION = "2.5.2"
6
6
  end
7
7
  end
@@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.require_paths = ["lib"]
18
18
 
19
- spec.add_dependency "rails", ">= 3.0.0", "< 5.0"
20
- spec.add_dependency "jquery-rails", ">= 3.0.0", "< 5.0"
19
+ spec.add_dependency "rails", ">= 3.0.0", "< 5.1"
20
+ spec.add_dependency "jquery-rails", ">= 3.0.0", "< 5.1"
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signature-pad-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Tomich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-10 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.0'
22
+ version: '5.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 3.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.0'
32
+ version: '5.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: jquery-rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 3.0.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.0'
42
+ version: '5.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 3.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.0'
52
+ version: '5.1'
53
53
  description: This gem provides Tom Bradley's Signature Pad jquery plugin, plus json2
54
54
  and flashcanvas. See http://thomasjbradley.ca/lab/signature-pad/
55
55
  email:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project:
102
- rubygems_version: 2.2.2
102
+ rubygems_version: 2.5.1
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: Use Tom Bradley's Signature Pad with rails