moonrope 1.0.0 → 1.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89677af83c79db9270d024635bb4a4cefc8131f6
4
- data.tar.gz: 0a4002afcef30a933974d0090c501f276f0bd13d
3
+ metadata.gz: c8b593150a49e68ef4e6e65a53e85d5a0019dca6
4
+ data.tar.gz: 3a66ef2835eab41db4c1e573aec64ce9e1b4a856
5
5
  SHA512:
6
- metadata.gz: 8e4a4fc0d9bd542697910e6c82e72faa41debf0cf2f6497267ab036d681bd28ca9dddd0079bbf0c5e868bca224e6728e46ce398bf7ae3c65e3809ed10b66e7fe
7
- data.tar.gz: d974dffc746c61c3a5f5543ca21f22849c82020fe324e90a1e549479b6dcac9a1f096cef8f7a3f7d7b5455819df0db931ca40498e73ceeae9d3a4db7e33dec50
6
+ metadata.gz: a5b02ff09a48fdb09103ad87a35dba4a0be1b9f9a6b41a020d710837ad9a9a2b1552767134cd04aa915c16bbfd075f7e13831554491e672fa0504ce37da8de44
7
+ data.tar.gz: c936bdbfd4059fbf931fd0626deb45832e4e096ccc5024db8f359934bd7d71a99a5b918d6c4336481a6192876266999d77220872dc6b6361f4bdc153ccc0ee9d
@@ -11,6 +11,10 @@ module Moonrope
11
11
  @options = options
12
12
  end
13
13
 
14
+ def status
15
+ @options.is_a?(Hash) ? @options[:status] || 'error' : 'error'
16
+ end
17
+
14
18
  def data
15
19
  {:message => @options}
16
20
  end
@@ -1,3 +1,3 @@
1
1
  module Moonrope
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonrope
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -97,7 +97,7 @@ dependencies:
97
97
  description: A full library allowing you to create sexy DSLs to define your RPC-like
98
98
  APIs.
99
99
  email:
100
- - adam@viaduct.io
100
+ - adam@atechmedia.com
101
101
  executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
@@ -124,7 +124,7 @@ files:
124
124
  - lib/moonrope/request.rb
125
125
  - lib/moonrope/structure.rb
126
126
  - lib/moonrope/version.rb
127
- homepage: http://viaduct.io
127
+ homepage: http://adamcooke.io
128
128
  licenses:
129
129
  - MIT
130
130
  metadata: {}