imperator-ext 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/.rspec CHANGED
@@ -1 +1 @@
1
- --color
1
+ --color --format nested
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.3
data/Gemfile CHANGED
@@ -1,16 +1,16 @@
1
- source :rubygems
1
+ source 'http://rubygems.org'
2
2
 
3
3
  gem 'virtus', :git => 'git://github.com/kristianmandrup/virtus.git'
4
- gem 'imperator' #, :git => 'git://github.com/kristianmandrup/imperator.git'
4
+ gem 'imperator'
5
5
 
6
6
  group :test do
7
- gem 'mongoid', '~> 3.0'
7
+ gem 'mongoid', '>= 3.1'
8
8
  end
9
9
 
10
10
  group :development do
11
- gem "rspec", ">= 2.8.0"
11
+ gem "rspec", ">= 2.12"
12
12
  gem "rdoc", ">= 3.12"
13
- gem "bundler", ">= 1.0.0"
14
- gem "jeweler", "~> 1.8.4"
13
+ gem "bundler", ">= 1.1.0"
14
+ gem "jeweler", ">= 1.8.4"
15
15
  gem "simplecov",">= 0.5"
16
16
  end
@@ -1,6 +1,6 @@
1
1
  GIT
2
2
  remote: git://github.com/kristianmandrup/virtus.git
3
- revision: 4b0d2cb9c5ec937b940dad0048fb7396f0e05466
3
+ revision: 900f903e8198e1ff5e3443643321eced8174d8b0
4
4
  specs:
5
5
  virtus (0.5.1)
6
6
  backports (~> 2.6.1)
@@ -8,17 +8,17 @@ GIT
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- activemodel (3.2.7)
12
- activesupport (= 3.2.7)
11
+ activemodel (3.2.13)
12
+ activesupport (= 3.2.13)
13
13
  builder (~> 3.0.0)
14
- activesupport (3.2.7)
15
- i18n (~> 0.6)
14
+ activesupport (3.2.13)
15
+ i18n (= 0.6.1)
16
16
  multi_json (~> 1.0)
17
- backports (2.6.2)
18
- builder (3.0.0)
19
- diff-lcs (1.1.3)
17
+ backports (2.6.7)
18
+ builder (3.0.4)
19
+ diff-lcs (1.2.1)
20
20
  git (1.2.5)
21
- i18n (0.6.0)
21
+ i18n (0.6.1)
22
22
  imperator (0.2.0)
23
23
  activemodel
24
24
  uuidtools
@@ -28,42 +28,42 @@ GEM
28
28
  git (>= 1.2.5)
29
29
  rake
30
30
  rdoc
31
- json (1.7.4)
32
- mongoid (3.0.3)
33
- activemodel (~> 3.1)
34
- moped (~> 1.1)
31
+ json (1.7.7)
32
+ mongoid (3.1.2)
33
+ activemodel (~> 3.2)
34
+ moped (~> 1.4.2)
35
35
  origin (~> 1.0)
36
36
  tzinfo (~> 0.3.22)
37
- moped (1.2.0)
38
- multi_json (1.3.6)
39
- origin (1.0.4)
40
- rake (0.9.2.2)
41
- rdoc (3.12)
37
+ moped (1.4.3)
38
+ multi_json (1.7.1)
39
+ origin (1.0.11)
40
+ rake (10.0.3)
41
+ rdoc (4.0.0)
42
42
  json (~> 1.4)
43
- rspec (2.11.0)
44
- rspec-core (~> 2.11.0)
45
- rspec-expectations (~> 2.11.0)
46
- rspec-mocks (~> 2.11.0)
47
- rspec-core (2.11.1)
48
- rspec-expectations (2.11.2)
49
- diff-lcs (~> 1.1.3)
50
- rspec-mocks (2.11.1)
51
- simplecov (0.6.4)
43
+ rspec (2.13.0)
44
+ rspec-core (~> 2.13.0)
45
+ rspec-expectations (~> 2.13.0)
46
+ rspec-mocks (~> 2.13.0)
47
+ rspec-core (2.13.1)
48
+ rspec-expectations (2.13.0)
49
+ diff-lcs (>= 1.1.3, < 2.0)
50
+ rspec-mocks (2.13.0)
51
+ simplecov (0.7.1)
52
52
  multi_json (~> 1.0)
53
- simplecov-html (~> 0.5.3)
54
- simplecov-html (0.5.3)
55
- tzinfo (0.3.33)
53
+ simplecov-html (~> 0.7.1)
54
+ simplecov-html (0.7.1)
55
+ tzinfo (0.3.37)
56
56
  uuidtools (2.1.3)
57
57
 
58
58
  PLATFORMS
59
59
  ruby
60
60
 
61
61
  DEPENDENCIES
62
- bundler (>= 1.0.0)
62
+ bundler (>= 1.1.0)
63
63
  imperator
64
- jeweler (~> 1.8.4)
65
- mongoid (~> 3.0)
64
+ jeweler (>= 1.8.4)
65
+ mongoid (>= 3.1)
66
66
  rdoc (>= 3.12)
67
- rspec (>= 2.8.0)
67
+ rspec (>= 2.12)
68
68
  simplecov (>= 0.5)
69
69
  virtus!
data/README.md CHANGED
@@ -8,6 +8,10 @@ The current integrations are for:
8
8
 
9
9
  The gem is designed to simplify designing commands for REST actions and includes some useful macros to facilitate common patterns.
10
10
 
11
+ ### Gothas!
12
+
13
+ If you get an error that `Imperator:Mongoid` isn't defined, it is because you need to include the `mongoid` gem before this gem so that Mongoid is defined and 'imperator/mongoid' will only then be loaded (required) ;)
14
+
11
15
  ## Mongoid imperator
12
16
 
13
17
  The Mongoid integration provides the class method `#attributes_for`,
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "imperator-ext"
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2012-08-17"
12
+ s.date = "2013-03-22"
13
13
  s.description = "Factories, Macros, REST helpers and Mongoid integration"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.files = [
20
20
  ".document",
21
21
  ".rspec",
22
+ ".rvmrc",
22
23
  "Gemfile",
23
24
  "Gemfile.lock",
24
25
  "LICENSE.txt",
@@ -57,7 +58,7 @@ Gem::Specification.new do |s|
57
58
  s.homepage = "http://github.com/kristianmandrup/imperator-ext"
58
59
  s.licenses = ["MIT"]
59
60
  s.require_paths = ["lib"]
60
- s.rubygems_version = "1.8.24"
61
+ s.rubygems_version = "1.8.25"
61
62
  s.summary = "Various extensions for Imperator"
62
63
 
63
64
  if s.respond_to? :specification_version then
@@ -66,27 +67,27 @@ Gem::Specification.new do |s|
66
67
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
68
  s.add_runtime_dependency(%q<virtus>, [">= 0"])
68
69
  s.add_runtime_dependency(%q<imperator>, [">= 0"])
69
- s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
70
+ s.add_development_dependency(%q<rspec>, [">= 2.12"])
70
71
  s.add_development_dependency(%q<rdoc>, [">= 3.12"])
71
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
72
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
72
+ s.add_development_dependency(%q<bundler>, [">= 1.1.0"])
73
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
73
74
  s.add_development_dependency(%q<simplecov>, [">= 0.5"])
74
75
  else
75
76
  s.add_dependency(%q<virtus>, [">= 0"])
76
77
  s.add_dependency(%q<imperator>, [">= 0"])
77
- s.add_dependency(%q<rspec>, [">= 2.8.0"])
78
+ s.add_dependency(%q<rspec>, [">= 2.12"])
78
79
  s.add_dependency(%q<rdoc>, [">= 3.12"])
79
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
80
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
80
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
81
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
81
82
  s.add_dependency(%q<simplecov>, [">= 0.5"])
82
83
  end
83
84
  else
84
85
  s.add_dependency(%q<virtus>, [">= 0"])
85
86
  s.add_dependency(%q<imperator>, [">= 0"])
86
- s.add_dependency(%q<rspec>, [">= 2.8.0"])
87
+ s.add_dependency(%q<rspec>, [">= 2.12"])
87
88
  s.add_dependency(%q<rdoc>, [">= 3.12"])
88
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
89
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
89
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
90
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
90
91
  s.add_dependency(%q<simplecov>, [">= 0.5"])
91
92
  end
92
93
  end
@@ -2,7 +2,7 @@ module Imperator
2
2
  module Rails
3
3
  class Engine < ::Rails::Engine
4
4
  initializer 'Imperator ext setup' do
5
- config.auto_load_paths += Dir[Rails.root.join('app/commands')]
5
+ config.autoload_paths += Dir[Rails.root.join('app/commands')]
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imperator-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-17 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: 2.8.0
53
+ version: '2.12'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.8.0
61
+ version: '2.12'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rdoc
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ! '>='
84
84
  - !ruby/object:Gem::Version
85
- version: 1.0.0
85
+ version: 1.1.0
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,13 +90,13 @@ dependencies:
90
90
  requirements:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
- version: 1.0.0
93
+ version: 1.1.0
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: jeweler
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
- - - ~>
99
+ - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
101
  version: 1.8.4
102
102
  type: :development
@@ -104,7 +104,7 @@ dependencies:
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - ~>
107
+ - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
109
  version: 1.8.4
110
110
  - !ruby/object:Gem::Dependency
@@ -133,6 +133,7 @@ extra_rdoc_files:
133
133
  files:
134
134
  - .document
135
135
  - .rspec
136
+ - .rvmrc
136
137
  - Gemfile
137
138
  - Gemfile.lock
138
139
  - LICENSE.txt
@@ -182,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
183
  version: '0'
183
184
  segments:
184
185
  - 0
185
- hash: 1670776621181325968
186
+ hash: 1288174777722538323
186
187
  required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  none: false
188
189
  requirements:
@@ -191,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
192
  version: '0'
192
193
  requirements: []
193
194
  rubyforge_project:
194
- rubygems_version: 1.8.24
195
+ rubygems_version: 1.8.25
195
196
  signing_key:
196
197
  specification_version: 3
197
198
  summary: Various extensions for Imperator