ruhoh 0.1.0 → 0.1.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.
data/Rakefile CHANGED
@@ -10,10 +10,6 @@ gemspec_file = "#{name}.gemspec"
10
10
  gem_file = "#{name}-#{Ruhoh::VERSION}.gem"
11
11
 
12
12
  task :release => :build do
13
- #unless `git branch` =~ /^\* master$/
14
- # puts "You must be on the master branch to release!"
15
- # exit!
16
- #end
17
13
  sh "git commit --allow-empty -m 'Release #{Ruhoh::VERSION}'"
18
14
  sh "git tag v#{Ruhoh::VERSION}"
19
15
  sh "git push origin master --tags"
data/history.txt ADDED
@@ -0,0 +1,6 @@
1
+ 12.18.2012
2
+ 0.1.2 : Fix bug with YAML psych/syck errors.
3
+ 0.1.1 : @tkellen tidies up partials + fix 'paths.theme' error in theme scaffold.
4
+ 12.4.2012
5
+ 0.1.0 : Initial public release.
6
+
data/lib/ruhoh/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Ruhoh
2
- Version = VERSION = '0.1.0'
2
+ Version = VERSION = '0.1.2'
3
3
  RuhohSpec = '0.1'
4
4
  end
data/lib/ruhoh.rb CHANGED
@@ -1,4 +1,7 @@
1
1
  require 'yaml'
2
+ require 'psych'
3
+ YAML::ENGINE.yamler = 'psych'
4
+
2
5
  require 'json'
3
6
  require 'time'
4
7
  require 'cgi'
data/ruhoh.gemspec CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  README.md
26
26
  Rakefile
27
27
  bin/ruhoh
28
+ history.txt
28
29
  lib/ruhoh.rb
29
30
  lib/ruhoh/client/client.rb
30
31
  lib/ruhoh/client/help.yml
@@ -4,7 +4,7 @@
4
4
  <html lang="en">
5
5
  <head>
6
6
  <meta charset="utf-8">
7
- <link href="{{ THEME_PATH }}/css/style.css" rel="stylesheet" type="text/css" media="all">
7
+ <link href="{{ paths.theme }}/css/style.css" rel="stylesheet" type="text/css" media="all">
8
8
  </head>
9
9
  <body>
10
10
 
@@ -1,4 +1,4 @@
1
- <script type="text/javascript">
1
+ <script>
2
2
  var clicky_site_ids = clicky_site_ids || [];
3
3
  clicky_site_ids.push({{ site.config.analytics.getclicky.site_id }});
4
4
  (function() {
@@ -1,11 +1,6 @@
1
- <script type="text/javascript">
2
- var _gaq = _gaq || [];
3
- _gaq.push(['_setAccount', '{{ site.config.analytics.google.tracking_id }}']);
4
- _gaq.push(['_trackPageview']);
5
-
6
- (function() {
7
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
8
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
9
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
10
- })();
11
- </script>
1
+ <script>
2
+ var _gaq=[['_setAccount','{{ site.config.analytics.google.tracking_id }}'],['_trackPageview']];
3
+ (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
4
+ g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
5
+ s.parentNode.insertBefore(g,s)}(document,'script'));
6
+ </script>
@@ -1,5 +1,5 @@
1
1
  <div id="disqus_thread"></div>
2
- <script type="text/javascript">
2
+ <script>
3
3
  {{^site.production }}var disqus_developer = 1;{{/site.production}}
4
4
  var disqus_shortname = '{{ site.config.comments.disqus.short_name }}'; // required: replace example with your forum shortname
5
5
  /* * * DON'T EDIT BELOW THIS LINE * * */
@@ -10,4 +10,4 @@
10
10
  })();
11
11
  </script>
12
12
  <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13
- <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
13
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
@@ -3,4 +3,4 @@ var idcomments_acct = '{{ site.config.comments.intensedebate.account }}';
3
3
  var idcomments_post_id;
4
4
  var idcomments_post_url;
5
5
  </script>
6
- <script type="text/javascript" src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>
6
+ <script src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruhoh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-12 00:00:00.000000000Z
12
+ date: 2012-04-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &70147386045340 !ruby/object:Gem::Requirement
16
+ requirement: &70279041346020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.4'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70147386045340
24
+ version_requirements: *70279041346020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mustache
27
- requirement: &70147386075020 !ruby/object:Gem::Requirement
27
+ requirement: &70279041345520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0.99'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70147386075020
35
+ version_requirements: *70279041345520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: directory_watcher
38
- requirement: &70147386074560 !ruby/object:Gem::Requirement
38
+ requirement: &70279041345060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '1.4'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70147386074560
46
+ version_requirements: *70279041345060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: maruku
49
- requirement: &70147386074100 !ruby/object:Gem::Requirement
49
+ requirement: &70279041344600 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0.6'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70147386074100
57
+ version_requirements: *70279041344600
58
58
  description: Ruhoh is a Universal API for your static blog.
59
59
  email: plusjade@gmail.com
60
60
  executables:
@@ -66,6 +66,7 @@ files:
66
66
  - README.md
67
67
  - Rakefile
68
68
  - bin/ruhoh
69
+ - history.txt
69
70
  - lib/ruhoh.rb
70
71
  - lib/ruhoh/client/client.rb
71
72
  - lib/ruhoh/client/help.yml