fob 0.0.2 → 0.0.3

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: 3680faf0d0544b9520d59b050afba98433c1dcfd
4
- data.tar.gz: dbc4664797ac88c4f4c2162cbba1802f61a325e1
3
+ metadata.gz: a7d985a2420c37036cb4a7deb8d64a43c6b89c38
4
+ data.tar.gz: 1aa7d2e23323e6b596e65a0fda18597c3c990ad7
5
5
  SHA512:
6
- metadata.gz: 4d7dcfc0c637f70e42ecf1178168b46247748ba46f6524efece3a4a6056216f1f7157eda2358d78c08e3bf0cc2418161f8149b4b3bc46eb4722a84995b4d1bf7
7
- data.tar.gz: 0fa609503b17725270d10f45ae52e435891e4eec7743ff2e2b6141ef9aa15674a6c9c7e4292b44561f7c85e94a7b87da996d01b4b3a1965669e30408592d8a38
6
+ metadata.gz: 54ea92eafe8eaf619f991f254615e3fd485ea48a5acc5c2c0e2b9744fd22b74dd90049d97505ffbd9eef727a0917fd49f8e3f6a50e5828fe24d9f1c387b133c1
7
+ data.tar.gz: 2af50c6d31a3f31c09058c98115bdaa8dea1f18ffc0a6703b0a43bd83da09300cb7abcfa4ad7094b22673697eb9ba3a70ff8c325b962963ab26e2a94f5a27909
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -4,25 +4,25 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'fob/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "fob"
7
+ spec.name = 'fob'
8
8
  spec.version = Fob::VERSION
9
- spec.authors = ["Alex Peachey"]
10
- spec.email = ["alex.peachey@gmail.com"]
9
+ spec.authors = ['Alex Peachey']
10
+ spec.email = ['alex.peachey@gmail.com']
11
11
  spec.description = %q{Form OBjects made easy.}
12
12
  spec.summary = %q{Don't bulk up your models or controllers. Stay away from accepts_nested_attributes_for. Put form logic where it belongs, in a FOB!}
13
- spec.homepage = "https://github.com/alexpeachey/fob"
14
- spec.license = "MIT"
13
+ spec.homepage = 'https://github.com/alexpeachey/fob'
14
+ spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
19
+ spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency "virtus"
22
- spec.add_dependency "activemodel"
21
+ spec.add_dependency 'virtus', '~> 1.0.1'
22
+ spec.add_dependency 'activemodel', '>= 3.2'
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.3"
25
- spec.add_development_dependency "rake"
26
- spec.add_development_dependency "rspec"
27
- spec.add_development_dependency "simplecov"
24
+ spec.add_development_dependency 'bundler', '~> 1.3'
25
+ spec.add_development_dependency 'rake', '~> 10.0.4'
26
+ spec.add_development_dependency 'rspec', '~> 2.14.1'
27
+ spec.add_development_dependency 'simplecov', '~> 0.7.1'
28
28
  end
@@ -1,7 +1,7 @@
1
1
  module Fob
2
2
 
3
3
  class Fob
4
- include Virtus
4
+ include Virtus.model
5
5
  extend ActiveModel::Naming
6
6
  include ActiveModel::Conversion
7
7
  include ActiveModel::Validations
@@ -1,3 +1,3 @@
1
1
  module Fob
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Peachey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-21 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '3.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,44 +56,44 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 10.0.4
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 10.0.4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 2.14.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 2.14.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 0.7.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: 0.7.1
97
97
  description: Form OBjects made easy.
98
98
  email:
99
99
  - alex.peachey@gmail.com
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.0.3
135
+ rubygems_version: 2.2.1
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: Don't bulk up your models or controllers. Stay away from accepts_nested_attributes_for.