ng_classify 0.0.2 → 0.0.4

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: 14f59c24dec0bad9dcd7295252a4e1b1a31fe0a1
4
- data.tar.gz: f8d14767efd838110bd2873f094ad83ca60cc1c3
3
+ metadata.gz: 824c4047eb23a2e94584bd707f9feb23b123e80a
4
+ data.tar.gz: 340e6a5af2d6afd3c50335741c608a89b9a84bd2
5
5
  SHA512:
6
- metadata.gz: 09f0c78727d33ff00d062161a9eb4d3083fabf3933d28cf33542adc4c49bd6986eee43cb3015ba6413b5c1f6c57cbd8cbb24892b02fccf6889a9445ae02772d3
7
- data.tar.gz: 43180888202361c1cc08ec6f86cf06a689ddfa0c53f758e53f651f8a6e8432c372e7bfde8d9431f0c6ac81c4c3e75f82b5c66b45a766782318493cacc8c4711c
6
+ metadata.gz: e2480fde4d106b1212737d25dbffdea5f549b3e832b30130ff20ba03d20a9d18df9634e1c59893affa3eb6ef24c8241ce80e43ff97ee46907371e31501bbe8bb
7
+ data.tar.gz: 2f254abb473e079e4f729b9e9ed0e7b10acb64878cb51917ebfa76b3cb0cc78c01c711e4606fa727c294351e9436998f673f0215858537e85bd4d56c677636a0
data/Gemfile.lock CHANGED
@@ -1,87 +1,102 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ng_classify (0.0.1)
5
- rails (~> 4.1.1)
4
+ ng_classify (0.0.3)
5
+ actionpack (>= 3.0, < 4.2)
6
+ activesupport (>= 3.0, < 4.2)
7
+ commonjs (~> 0.2, >= 0.2.7)
8
+ rails (>= 3.2)
9
+ railties (>= 3.0, < 4.2)
10
+ therubyracer (~> 0.12, >= 0.12.1)
6
11
 
7
12
  GEM
8
13
  remote: https://rubygems.org/
9
14
  specs:
10
- actionmailer (4.1.6)
11
- actionpack (= 4.1.6)
12
- actionview (= 4.1.6)
13
- mail (~> 2.5, >= 2.5.4)
14
- actionpack (4.1.6)
15
- actionview (= 4.1.6)
16
- activesupport (= 4.1.6)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- actionview (4.1.6)
20
- activesupport (= 4.1.6)
21
- builder (~> 3.1)
15
+ actionmailer (3.2.21)
16
+ actionpack (= 3.2.21)
17
+ mail (~> 2.5.4)
18
+ actionpack (3.2.21)
19
+ activemodel (= 3.2.21)
20
+ activesupport (= 3.2.21)
21
+ builder (~> 3.0.0)
22
22
  erubis (~> 2.7.0)
23
- activemodel (4.1.6)
24
- activesupport (= 4.1.6)
25
- builder (~> 3.1)
26
- activerecord (4.1.6)
27
- activemodel (= 4.1.6)
28
- activesupport (= 4.1.6)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.6)
31
- i18n (~> 0.6, >= 0.6.9)
32
- json (~> 1.7, >= 1.7.7)
33
- minitest (~> 5.1)
34
- thread_safe (~> 0.1)
35
- tzinfo (~> 1.1)
36
- arel (5.0.1.20140414130214)
37
- builder (3.2.2)
23
+ journey (~> 1.0.4)
24
+ rack (~> 1.4.5)
25
+ rack-cache (~> 1.2)
26
+ rack-test (~> 0.6.1)
27
+ sprockets (~> 2.2.1)
28
+ activemodel (3.2.21)
29
+ activesupport (= 3.2.21)
30
+ builder (~> 3.0.0)
31
+ activerecord (3.2.21)
32
+ activemodel (= 3.2.21)
33
+ activesupport (= 3.2.21)
34
+ arel (~> 3.0.2)
35
+ tzinfo (~> 0.3.29)
36
+ activeresource (3.2.21)
37
+ activemodel (= 3.2.21)
38
+ activesupport (= 3.2.21)
39
+ activesupport (3.2.21)
40
+ i18n (~> 0.6, >= 0.6.4)
41
+ multi_json (~> 1.0)
42
+ arel (3.0.3)
43
+ builder (3.0.4)
44
+ commonjs (0.2.7)
38
45
  erubis (2.7.0)
39
46
  hike (1.2.3)
40
47
  i18n (0.6.11)
48
+ journey (1.0.4)
41
49
  json (1.8.1)
42
- mail (2.6.1)
43
- mime-types (>= 1.16, < 3)
44
- mime-types (2.3)
45
- minitest (5.4.1)
50
+ libv8 (3.16.14.7)
51
+ mail (2.5.4)
52
+ mime-types (~> 1.16)
53
+ treetop (~> 1.4.8)
54
+ mime-types (1.25.1)
46
55
  multi_json (1.10.1)
47
- rack (1.5.2)
56
+ polyglot (0.3.5)
57
+ rack (1.4.5)
58
+ rack-cache (1.2)
59
+ rack (>= 0.4)
60
+ rack-ssl (1.3.4)
61
+ rack
48
62
  rack-test (0.6.2)
49
63
  rack (>= 1.0)
50
- rails (4.1.6)
51
- actionmailer (= 4.1.6)
52
- actionpack (= 4.1.6)
53
- actionview (= 4.1.6)
54
- activemodel (= 4.1.6)
55
- activerecord (= 4.1.6)
56
- activesupport (= 4.1.6)
57
- bundler (>= 1.3.0, < 2.0)
58
- railties (= 4.1.6)
59
- sprockets-rails (~> 2.0)
60
- railties (4.1.6)
61
- actionpack (= 4.1.6)
62
- activesupport (= 4.1.6)
64
+ rails (3.2.21)
65
+ actionmailer (= 3.2.21)
66
+ actionpack (= 3.2.21)
67
+ activerecord (= 3.2.21)
68
+ activeresource (= 3.2.21)
69
+ activesupport (= 3.2.21)
70
+ bundler (~> 1.0)
71
+ railties (= 3.2.21)
72
+ railties (3.2.21)
73
+ actionpack (= 3.2.21)
74
+ activesupport (= 3.2.21)
75
+ rack-ssl (~> 1.3.2)
63
76
  rake (>= 0.8.7)
64
- thor (>= 0.18.1, < 2.0)
65
- rake (10.3.2)
66
- sprockets (2.12.2)
77
+ rdoc (~> 3.4)
78
+ thor (>= 0.14.6, < 2.0)
79
+ rake (10.4.1)
80
+ rdoc (3.12.2)
81
+ json (~> 1.4)
82
+ ref (1.0.5)
83
+ sprockets (2.2.3)
67
84
  hike (~> 1.2)
68
85
  multi_json (~> 1.0)
69
86
  rack (~> 1.0)
70
87
  tilt (~> 1.1, != 1.3.0)
71
- sprockets-rails (2.1.4)
72
- actionpack (>= 3.0)
73
- activesupport (>= 3.0)
74
- sprockets (~> 2.8)
75
- sqlite3 (1.3.9)
88
+ therubyracer (0.12.1)
89
+ libv8 (~> 3.16.14.0)
90
+ ref
76
91
  thor (0.19.1)
77
- thread_safe (0.3.4)
78
92
  tilt (1.4.1)
79
- tzinfo (1.2.2)
80
- thread_safe (~> 0.1)
93
+ treetop (1.4.15)
94
+ polyglot
95
+ polyglot (>= 0.3.1)
96
+ tzinfo (0.3.42)
81
97
 
82
98
  PLATFORMS
83
99
  ruby
84
100
 
85
101
  DEPENDENCIES
86
102
  ng_classify!
87
- sqlite3
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2014 YOURNAME
1
+ Copyright 2014 Penn Su
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,8 +1,8 @@
1
- = NgClassify
1
+ # NgClassify
2
2
 
3
3
  This project rocks and uses MIT-LICENSE.
4
4
 
5
- = Usage
5
+ ## Usage
6
6
 
7
7
  Add `gem ng_classify` to your Gemfile
8
8
  Run `bundle install`
@@ -10,7 +10,7 @@ Create a file with extension `.coffee.ng-classify`
10
10
  Done!
11
11
 
12
12
 
13
- = Configuration
13
+ ## Configuration
14
14
 
15
15
  You can also configure the naming convention of the components as well.
16
16
 
data/lib/ng_classify.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'ng_classify/version'
2
+ require 'commonjs'
2
3
  require 'rails'
3
4
 
4
5
  module NgClassify
@@ -50,7 +51,7 @@ module NgClassify
50
51
  value: NgClassify.value
51
52
  }
52
53
  env = CommonJS::Environment.new(V8::Context.new, :path => File.expand_path(File.join('..'), __FILE__))
53
- result = env.require('ng-classify-commonjs.js').call(data, options)
54
+ env.require('ng-classify-commonjs.js').call(data, options)
54
55
  end
55
56
  end
56
57
 
@@ -1,3 +1,3 @@
1
1
  module NgClassify
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
data/ng_classify.gemspec CHANGED
@@ -19,10 +19,10 @@ Write less JavaScript. Write less CoffeeScript. Write less Angular."
19
19
  s.test_files = Dir["test/**/*"]
20
20
  s.require_paths = ['lib']
21
21
 
22
- s.add_runtime_dependency 'therubyracer', '~> 0.12', '>= 0.12.1'
23
- s.add_runtime_dependency 'commonjs', '~> 0.2', '>= 0.2.7'
24
- s.add_runtime_dependency 'rails', '~> 4.1', '>= 4.1.1'
25
- s.add_runtime_dependency 'activesupport', ['>= 3.0', '< 4.2']
26
- s.add_runtime_dependency 'actionpack', ['>= 3.0', '< 4.2']
27
- s.add_runtime_dependency 'railties', ['>= 3.0', '< 4.2']
22
+ s.add_runtime_dependency 'therubyracer', '~> 0.12', '>= 0.12.1'
23
+ s.add_runtime_dependency 'commonjs', '~> 0.2', '>= 0.2.7'
24
+ s.add_runtime_dependency 'rails', '>= 3.2', '< 5'
25
+ s.add_runtime_dependency 'activesupport', '>= 3.0', '< 5'
26
+ s.add_runtime_dependency 'actionpack', '>= 3.0', '< 5'
27
+ s.add_runtime_dependency 'railties', '>= 3.0', '< 5'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ng_classify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Penn Su
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-21 00:00:00.000000000 Z
11
+ date: 2015-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: therubyracer
@@ -54,22 +54,22 @@ dependencies:
54
54
  name: rails
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '4.1'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
- version: 4.1.1
59
+ version: '3.2'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '5'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '4.1'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
- version: 4.1.1
69
+ version: '3.2'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '5'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: activesupport
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -79,7 +79,7 @@ dependencies:
79
79
  version: '3.0'
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.2'
82
+ version: '5'
83
83
  type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '3.0'
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '4.2'
92
+ version: '5'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: actionpack
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: '3.0'
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: '4.2'
102
+ version: '5'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
@@ -109,7 +109,7 @@ dependencies:
109
109
  version: '3.0'
110
110
  - - "<"
111
111
  - !ruby/object:Gem::Version
112
- version: '4.2'
112
+ version: '5'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: railties
115
115
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +119,7 @@ dependencies:
119
119
  version: '3.0'
120
120
  - - "<"
121
121
  - !ruby/object:Gem::Version
122
- version: '4.2'
122
+ version: '5'
123
123
  type: :runtime
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
@@ -129,7 +129,7 @@ dependencies:
129
129
  version: '3.0'
130
130
  - - "<"
131
131
  - !ruby/object:Gem::Version
132
- version: '4.2'
132
+ version: '5'
133
133
  description: |-
134
134
  Convert CoffeeScript classes to AngularJS modules
135
135
  Write less JavaScript. Write less CoffeeScript. Write less Angular.
@@ -143,7 +143,7 @@ files:
143
143
  - Gemfile
144
144
  - Gemfile.lock
145
145
  - MIT-LICENSE
146
- - README.rdoc
146
+ - README.md
147
147
  - Rakefile
148
148
  - lib/ng-classify-commonjs.js
149
149
  - lib/ng_classify.rb
@@ -250,3 +250,4 @@ test_files:
250
250
  - test/dummy/README.rdoc
251
251
  - test/ng_classify_test.rb
252
252
  - test/test_helper.rb
253
+ has_rdoc: