noty-rails 2.0.3 → 2.0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: da7126a6aa2104d1f9eef088c391b916f9362013
4
+ data.tar.gz: 9734bd14d19a8800b4671df9b48aa3c79927e41e
5
+ SHA512:
6
+ metadata.gz: 88c76143bd44a966537a663c1934f28bd6f3acb7afa1139d508c33267e0739a96c7baaa0446ae8d67d26166b5e0ef975f3b7fa3eed31ca3e8bf7b2f35ccefe3c
7
+ data.tar.gz: 4cc10b81033bb487a62893f1e1f81f7eb33a724619f4bd944063e090fb6a4aba955d0aab7d9b8245c2f382651a6bdbda0200efa2523e28310f024ecdb6176916
data/README.md CHANGED
@@ -10,8 +10,9 @@ gem 'noty-rails'
10
10
  Look at the [official installation instructions](http://needim.github.com/noty/#installation)
11
11
 
12
12
  ## Where to put require statement
13
- Since you can set some default config of Noty including layout
14
- I think it is more sensible to put the require statements in the same file (As you have to require the layout and theme files you need)
13
+ Since you can set some default config of Noty including layout
14
+ I think it is more sensible to put the require statements in the same file
15
+ As you have to require the layout and theme files you need
15
16
  ```coffeescript
16
17
  # app/assets/javascripts/shared/flashes/noty-config.js.coffee
17
18
  #= require noty/jquery.noty
@@ -23,3 +24,9 @@ $ = jQuery
23
24
  $.noty.defaults.timeout = 8000
24
25
  $.noty.defaults.layout = 'bottom'
25
26
  ```
27
+
28
+ # Changelog
29
+
30
+ ### 2.0.3.1
31
+
32
+ - Make it compatible with Rails 4 version (Now is an instance of `Gem::Version`)
@@ -1,5 +1,5 @@
1
1
  module Noty
2
2
  module Rails
3
- VERSION = "2.0.3"
3
+ VERSION = "2.0.3.1"
4
4
  end
5
5
  end
data/lib/noty-rails.rb CHANGED
@@ -2,10 +2,10 @@ require "noty-rails/version"
2
2
 
3
3
  module Noty
4
4
  module Rails
5
- if defined?(::Rails) and ::Rails.version >= "3.1"
6
- class Rails::Engine < ::Rails::Engine
7
- # this class enables the asset pipeline
8
- end
9
- end
5
+ if defined?(::Rails) and ::Rails.version.to_s >= "3.1"
6
+ class Rails::Engine < ::Rails::Engine
7
+ # this class enables the asset pipeline
8
+ end
9
+ end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noty-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
5
- prerelease:
4
+ version: 2.0.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - PikachuEXE
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
11
+ date: 2013-03-25 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: This gem provides Noty, a jQuery Notification Plugin, for your Rails
15
14
  application.
@@ -43,26 +42,25 @@ files:
43
42
  - vendor/assets/javascripts/noty/themes/default.js
44
43
  homepage: https://github.com/noty/noty-rails
45
44
  licenses: []
45
+ metadata: {}
46
46
  post_install_message:
47
47
  rdoc_options: []
48
48
  require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
- none: false
52
51
  requirements:
53
- - - ! '>='
52
+ - - '>='
54
53
  - !ruby/object:Gem::Version
55
54
  version: '0'
56
55
  required_rubygems_version: !ruby/object:Gem::Requirement
57
- none: false
58
56
  requirements:
59
- - - ! '>='
57
+ - - '>='
60
58
  - !ruby/object:Gem::Version
61
59
  version: '0'
62
60
  requirements: []
63
61
  rubyforge_project:
64
- rubygems_version: 1.8.24
62
+ rubygems_version: 2.0.3
65
63
  signing_key:
66
- specification_version: 3
64
+ specification_version: 4
67
65
  summary: Noty asset pipeline provider/wrapper
68
66
  test_files: []