js-model-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 119a84ac67bfb5417bc51e5bc5db8ae05a796d6e
4
+ data.tar.gz: f2666a9f7f7123607a63ec97e9dba655f1d4875a
5
+ SHA512:
6
+ metadata.gz: 2ec37de3cdc3e5ff32a48db0d740dedb29461442c455b2f1697e654018322f25d11bb49bc22b834a5c52aed7167df004d7f05cb6ff4fb3695e86da30a1ee6e67
7
+ data.tar.gz: 82b83710f2b993ac19bf9c2431d6c337551aa8ff0358d1984d6409e17637647db0b803d3cb9e08fc0687fe8b91a73be29703120a70ad46189414587b14cde9d4
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in js-model-rails.gemspec
4
4
  gemspec
@@ -1,6 +1,7 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "js-model/version"
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'js-model/version'
4
5
 
5
6
  Gem::Specification.new do |s|
6
7
  s.name = "js-model-rails"
@@ -10,13 +11,16 @@ Gem::Specification.new do |s|
10
11
  s.homepage = "https://github.com/benpickles/js-model-rails"
11
12
  s.summary = 'Work with models in your JavaScript in your Rails'
12
13
  s.description = s.summary
14
+ s.homepage = ''
15
+ s.license = 'MIT'
13
16
 
14
- s.rubyforge_project = "js-model-rails"
15
-
16
- s.files = `git ls-files`.split("\n")
17
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.files = `git ls-files`.split($/)
18
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
19
20
  s.require_paths = ["lib"]
20
21
 
21
- s.add_dependency 'railties', '~> 3.0'
22
+ s.add_dependency 'railties', '>= 3.0'
23
+
24
+ s.add_development_dependency 'bundler', '~> 1.3'
25
+ s.add_development_dependency 'rake'
22
26
  end
@@ -1 +1,2 @@
1
- require 'js-model'
1
+ require 'js-model/engine'
2
+ require 'js-model/version'
File without changes
@@ -1,3 +1,3 @@
1
1
  module JsModel
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,27 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js-model-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ben Pickles
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-03-07 00:00:00.000000000 Z
11
+ date: 2013-07-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
- requirement: &70245243659460 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *70245243659460
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
25
55
  description: Work with models in your JavaScript in your Rails
26
56
  email:
27
57
  - spideryoung@gmail.com
@@ -34,34 +64,33 @@ files:
34
64
  - README.md
35
65
  - Rakefile
36
66
  - js-model-rails.gemspec
37
- - lib/assets/javascripts/js-model/index.js
38
- - lib/assets/javascripts/js-model/js-model.js
39
67
  - lib/js-model-rails.rb
40
- - lib/js-model.rb
68
+ - lib/js-model/engine.rb
41
69
  - lib/js-model/version.rb
42
- homepage: https://github.com/benpickles/js-model-rails
43
- licenses: []
70
+ - vendor/assets/javascripts/js-model/index.js
71
+ - vendor/assets/javascripts/js-model/js-model.js
72
+ homepage: ''
73
+ licenses:
74
+ - MIT
75
+ metadata: {}
44
76
  post_install_message:
45
77
  rdoc_options: []
46
78
  require_paths:
47
79
  - lib
48
80
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
81
  requirements:
51
- - - ! '>='
82
+ - - '>='
52
83
  - !ruby/object:Gem::Version
53
84
  version: '0'
54
85
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
86
  requirements:
57
- - - ! '>='
87
+ - - '>='
58
88
  - !ruby/object:Gem::Version
59
89
  version: '0'
60
90
  requirements: []
61
- rubyforge_project: js-model-rails
62
- rubygems_version: 1.8.15
91
+ rubyforge_project:
92
+ rubygems_version: 2.0.3
63
93
  signing_key:
64
- specification_version: 3
94
+ specification_version: 4
65
95
  summary: Work with models in your JavaScript in your Rails
66
96
  test_files: []
67
- has_rdoc: