rypple 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,17 +2,21 @@
2
2
  A tool for integrating some remote file store (e.g. Dropbox) with a static site generator (e.g. jekyll) with some tools to ease remote updating of the site.
3
3
 
4
4
  # Installation
5
- The easiest method to install Rypple is to use (RubyGems)[https://rubygems.org/]. To do so, simply install RubyGems, and at the command prompt type:
5
+ The easiest method to install Rypple is to use [RubyGems](https://rubygems.org/). To do so, simply install RubyGems, and at the command prompt type:
6
+
6
7
  gem install rypple
7
8
 
8
- For some sites, such as (NSFN)[https://www.nearlyfreespeech.net/], this should be modified to:
9
+ For some sites, such as [NSFN](https://www.nearlyfreespeech.net/), this should be modified to:
10
+
9
11
  RB_USER_INSTALL=true gem install rypple
10
12
 
11
13
  ## Configuration
12
14
  Once installed, Rypple needs to be configured for each site being synced by it. This is done through the rypple command, and can be initiated using the command:
15
+
13
16
  rypple -s
14
17
 
15
18
  Which kicks off the configuration process. This process will guide you through several important configuration options.
19
+
16
20
  1. Rypple site directory. This is the directory to which files will be saved - by default, this is set to $HOME/ryppleSite, but can be changed to any site you wish. This is not the location which will be publicly accessible, so please do not point this at your web server.
17
21
  2. Dropbox API Configuration
18
22
  1. Generate a Dropbox API key/secret pair from their website. IMPORTANT: When creating the key, there is a question about granting the API access to your entire Dropbox folder, or only a sandboxed folder. This option, as far as I can tell, is immutable - Rypple supports either, but be aware of the choice being made.
@@ -16,7 +16,7 @@ module Rypple
16
16
  }
17
17
 
18
18
  DropboxKeyFile = ".dropbox_session.yml"
19
- RyppleConfigFile = "rypple.yml"
19
+ RyppleConfigFile = "_rypple.yml"
20
20
 
21
21
  def Rypple.connectToDropbox(path)
22
22
  session = nil
@@ -30,7 +30,7 @@ module Rypple
30
30
  if dropboxKeys.has_key?(:session)
31
31
  session = DropboxSession.deserialize(dropboxKeys[:session])
32
32
  else
33
- dropboxKeys[:access], session = Rypple.buildLoginSession()
33
+ dropboxKeys[:access_type], session = Rypple.buildLoginSession()
34
34
  end
35
35
 
36
36
  if session.nil?
@@ -1,3 +1,3 @@
1
1
  module Rypple
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rypple
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Ziglar