octodmin 0.3.3 → 0.3.4

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: 207917c44b0ad259fd325ac59a1ef6b87acb50dc
4
- data.tar.gz: 28f2f2ec10f07ae8b2d6429050de0fb9a540064c
3
+ metadata.gz: 4358eb0c0ada91fe50230ac9b04a3b403f01db3d
4
+ data.tar.gz: adb4cb0faa4fcd93d9429a65c2dd5ff6ce6316c5
5
5
  SHA512:
6
- metadata.gz: 53ec4a89d232f58233bffb16a074df6031a5d0ae015667dced1fe2e5525dd4547f87258fd4ac7bf66a9ca0232fdc40b13890038df500e85ead94ce3c5c768c05
7
- data.tar.gz: dc14442b02b80843460ac4863b711e2a9662a69546478baebb8db7f751ce2741cdac15846da77d9fe79362836c546b4ac8805cf6afd5f5e07ccc0e0224fc1bbd
6
+ metadata.gz: 384c86d84f5e78c66fb1ff9ce66b6539d47e1fe35553eeae91dd5eff330c63494e31abbc95f79a228c52c68113ae241fe1abc8ba1545c1d37361d6a9c84e812a
7
+ data.tar.gz: 0c29fa6e106308a42dfc3d11f6d039017b42991bec3c890a8ef46b123b70e269181a91a697a80f069fbe5622433a905b25614eb91eff9a5395944cef85121391
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ v0.3.4
2
+ ------
3
+
4
+ * Use `_raw` when rendering JSON, bump Lotus to 0.3.0
5
+
1
6
  v0.3.3
2
7
  ------
3
8
 
@@ -4,7 +4,7 @@ module Octodmin::Views::Deploys
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(deploys: [message])
7
+ _raw JSON.dump(deploys: [message])
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: posts.map(&:serializable_hash))
7
+ _raw JSON.dump(posts: posts.map(&:serializable_hash))
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(posts: post.serializable_hash)
7
+ _raw JSON.dump(posts: post.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Posts
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(uploads: [upload])
7
+ _raw JSON.dump(uploads: [upload])
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Site
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(sites: site.serializable_hash)
7
+ _raw JSON.dump(sites: site.serializable_hash)
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Syncs
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(syncs: [message])
7
+ _raw JSON.dump(syncs: [message.gsub("/", "/")])
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module Octodmin::Views::Version
4
4
  format :json
5
5
 
6
6
  def render
7
- JSON.dump(versions: version)
7
+ _raw JSON.dump(versions: version)
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Octodmin
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
data/octodmin.gemspec CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_runtime_dependency "octopress", ">= 3.0.0.rc"
21
21
  spec.add_runtime_dependency "babosa", "~> 1.0"
22
- spec.add_runtime_dependency "lotusrb", ">= 0.2.0"
22
+ spec.add_runtime_dependency "lotusrb", ">= 0.3.0"
23
23
  spec.add_runtime_dependency "git", "~> 1.2.9"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octodmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Krasnoukhov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.0
47
+ version: 0.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.0
54
+ version: 0.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: git
57
57
  requirement: !ruby/object:Gem::Requirement