ngannotate-rails 1.2.1 → 1.2.2

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: d3ae1fd4a520fe29b59b9f528941b06f4d9b5410
4
- data.tar.gz: c2cb80e6f62dd5933370c65542f40a52ec9f425a
3
+ metadata.gz: d321756333cfdc888086dcadb08501f170d244e6
4
+ data.tar.gz: 56f3bb8aa83857ed2767524e28b1e0dcde34f976
5
5
  SHA512:
6
- metadata.gz: 70b8eeddf91cae42ebefeae12e86f63720563154fce0acf2f1e6cfeace3d02947f51145e8cf18469781700f6304a53259d0b0251b1d36be3d1d55f37786b448f
7
- data.tar.gz: 015589225138a76636629049b80af960ccac1351f827e8cf18eb270817d06b31d464ac20b07e56bfd11411c6d0dd5050a273e4111c773fde2eac7b7340b80719
6
+ metadata.gz: cce02388c0c33c545b7ba4919fdd3c68bb1f7d8e21afd8bdb10395960a6171c921170f169a4f262bf5e23584e9c392050b165d6e9927cb18aa6f1d53f41c9607
7
+ data.tar.gz: 7455f3e5d381eb7927afdf5e7fc5aac75f1677b85bdeacde37c557878fc4d1cff3acf4d5411f45a769dfbb047e1d0e95aabc3ea2cf89659eaa6c4d273efc10c7
@@ -1,7 +1,7 @@
1
1
  module Ngannotate
2
- def self.sprockets_v3?
2
+ def self.sprockets_v2?
3
3
  gem = Gem.loaded_specs['sprockets']
4
- !(gem.version.to_s =~ /\A3\..*\z/).nil?
4
+ !(gem.version.to_s =~ /\A2\..*\z/).nil?
5
5
  end
6
6
  end
7
7
 
@@ -1,8 +1,8 @@
1
1
  require 'active_support/core_ext/class/attribute'
2
- if Ngannotate.sprockets_v3?
3
- require 'ngannotate/processor3'
4
- else
2
+ if Ngannotate.sprockets_v2?
5
3
  require 'ngannotate/processor'
4
+ else
5
+ require 'ngannotate/processor3'
6
6
  end
7
7
 
8
8
  module Ngannotate
@@ -1,5 +1,5 @@
1
1
  module Ngannotate
2
2
  module Rails
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngannotate-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kari Ikonen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-10 00:00:00.000000000 Z
11
+ date: 2016-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails