apimaster 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -7,8 +7,8 @@ Developing
7
7
  ----------
8
8
 
9
9
  gem install apimaster
10
- mkdir your_app_name & cd your_app_name
11
10
  apimaster new your_app_name
11
+ cd your_app_name
12
12
  bundle install
13
13
 
14
14
  Generators
@@ -31,3 +31,8 @@ Watchr
31
31
 
32
32
  watchr test.watchr
33
33
 
34
+ Run app
35
+ -------
36
+
37
+ rackup -p 4567
38
+
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'apimaster'
3
- s.version = '0.0.5'
4
- s.date = '2012-07-12'
3
+ s.version = '0.0.6'
4
+ s.date = '2012-09-06'
5
5
  s.summary = "ApiMaster!"
6
6
  s.description = "A simple restful api framework."
7
7
  s.authors = ["Sun", "Zhang", "Li"]
@@ -39,7 +39,7 @@ module Apimaster
39
39
  elsif hash.has_key?(field.to_s)
40
40
  data[field] = hash[field.to_s]
41
41
  else
42
- raise Apimaster::MissingFieldError.new(self.class.get_class_name, field) if type == :required
42
+ raise Apimaster::MissingFieldError.new(class_name, field) if type == :required
43
43
  end
44
44
  end
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apimaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-07-12 00:00:00.000000000 Z
14
+ date: 2012-09-06 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: A simple restful api framework.
17
17
  email: sunxiqiu@admaster.com.cn