sf-dropbox-ext 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: abd8eafa28eeac8a3368f8673809c2f36136261a
4
+ data.tar.gz: 92e538b6a38f5278b0850ddcba157beed83889e5
5
+ SHA512:
6
+ metadata.gz: 3d034dc4faec44c9e7eb2f17a230aab359f4a48bb5f0bef622953b05ab2ffb37f0750297d806f591a4f8183352c96765c08b28a1ad8881f41ca26e1e47b71528
7
+ data.tar.gz: 441dd342a478d12a978d5c7b602492becd7fc568f9edeb9f29ab7418a054b498844a64352934c483dd4ca35facb195c39b16f50b044fc04012e078006dae4192
data/.gitignore ADDED
@@ -0,0 +1,7 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ test/dummy/db/*.sqlite3
5
+ test/dummy/db/*.sqlite3-journal
6
+ test/dummy/log/*.log
7
+ test/dummy/tmp/
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # gem 'standard-file', path: '/Users/mobitar/Desktop/standard_file_gem', require: 'standard_file'
4
+
5
+ # Declare your gem's dependencies in dropbox_ext.gemspec.
6
+ # Bundler will treat runtime dependencies like base dependencies, and
7
+ # development dependencies will be added by default to the :development group.
8
+ gemspec
9
+
10
+
11
+ # Declare any dependencies that are still in development here instead of in
12
+ # your gemspec. These might include edge Rails or gems from your path or
13
+ # Git. Remember to move these dependencies to your gemspec before releasing
14
+ # your gem to rubygems.org.
15
+
16
+ # To use a debugger
17
+ # gem 'byebug', group: [:development, :test]
data/Gemfile.lock ADDED
@@ -0,0 +1,138 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dropbox-ext (0.1.0)
5
+ bcrypt (~> 3.1)
6
+ dropbox-sdk-v2
7
+ rails (~> 5.0.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (5.0.1)
13
+ actionpack (= 5.0.1)
14
+ nio4r (~> 1.2)
15
+ websocket-driver (~> 0.6.1)
16
+ actionmailer (5.0.1)
17
+ actionpack (= 5.0.1)
18
+ actionview (= 5.0.1)
19
+ activejob (= 5.0.1)
20
+ mail (~> 2.5, >= 2.5.4)
21
+ rails-dom-testing (~> 2.0)
22
+ actionpack (5.0.1)
23
+ actionview (= 5.0.1)
24
+ activesupport (= 5.0.1)
25
+ rack (~> 2.0)
26
+ rack-test (~> 0.6.3)
27
+ rails-dom-testing (~> 2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ actionview (5.0.1)
30
+ activesupport (= 5.0.1)
31
+ builder (~> 3.1)
32
+ erubis (~> 2.7.0)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
+ activejob (5.0.1)
36
+ activesupport (= 5.0.1)
37
+ globalid (>= 0.3.6)
38
+ activemodel (5.0.1)
39
+ activesupport (= 5.0.1)
40
+ activerecord (5.0.1)
41
+ activemodel (= 5.0.1)
42
+ activesupport (= 5.0.1)
43
+ arel (~> 7.0)
44
+ activesupport (5.0.1)
45
+ concurrent-ruby (~> 1.0, >= 1.0.2)
46
+ i18n (~> 0.7)
47
+ minitest (~> 5.1)
48
+ tzinfo (~> 1.1)
49
+ addressable (2.5.0)
50
+ public_suffix (~> 2.0, >= 2.0.2)
51
+ arel (7.1.4)
52
+ bcrypt (3.1.11)
53
+ builder (3.2.3)
54
+ concurrent-ruby (1.0.4)
55
+ domain_name (0.5.20161129)
56
+ unf (>= 0.0.5, < 1.0.0)
57
+ dropbox-sdk-v2 (0.0.3)
58
+ http (~> 2.0)
59
+ erubis (2.7.0)
60
+ globalid (0.3.7)
61
+ activesupport (>= 4.1.0)
62
+ http (2.1.0)
63
+ addressable (~> 2.3)
64
+ http-cookie (~> 1.0)
65
+ http-form_data (~> 1.0.1)
66
+ http_parser.rb (~> 0.6.0)
67
+ http-cookie (1.0.3)
68
+ domain_name (~> 0.5)
69
+ http-form_data (1.0.1)
70
+ http_parser.rb (0.6.0)
71
+ i18n (0.7.0)
72
+ loofah (2.0.3)
73
+ nokogiri (>= 1.5.9)
74
+ mail (2.6.4)
75
+ mime-types (>= 1.16, < 4)
76
+ method_source (0.8.2)
77
+ mime-types (3.1)
78
+ mime-types-data (~> 3.2015)
79
+ mime-types-data (3.2016.0521)
80
+ mini_portile2 (2.1.0)
81
+ minitest (5.10.1)
82
+ nio4r (1.2.1)
83
+ nokogiri (1.7.0.1)
84
+ mini_portile2 (~> 2.1.0)
85
+ public_suffix (2.0.5)
86
+ rack (2.0.1)
87
+ rack-test (0.6.3)
88
+ rack (>= 1.0)
89
+ rails (5.0.1)
90
+ actioncable (= 5.0.1)
91
+ actionmailer (= 5.0.1)
92
+ actionpack (= 5.0.1)
93
+ actionview (= 5.0.1)
94
+ activejob (= 5.0.1)
95
+ activemodel (= 5.0.1)
96
+ activerecord (= 5.0.1)
97
+ activesupport (= 5.0.1)
98
+ bundler (>= 1.3.0, < 2.0)
99
+ railties (= 5.0.1)
100
+ sprockets-rails (>= 2.0.0)
101
+ rails-dom-testing (2.0.2)
102
+ activesupport (>= 4.2.0, < 6.0)
103
+ nokogiri (~> 1.6)
104
+ rails-html-sanitizer (1.0.3)
105
+ loofah (~> 2.0)
106
+ railties (5.0.1)
107
+ actionpack (= 5.0.1)
108
+ activesupport (= 5.0.1)
109
+ method_source
110
+ rake (>= 0.8.7)
111
+ thor (>= 0.18.1, < 2.0)
112
+ rake (12.0.0)
113
+ sprockets (3.7.1)
114
+ concurrent-ruby (~> 1.0)
115
+ rack (> 1, < 3)
116
+ sprockets-rails (3.2.0)
117
+ actionpack (>= 4.0)
118
+ activesupport (>= 4.0)
119
+ sprockets (>= 3.0.0)
120
+ thor (0.19.4)
121
+ thread_safe (0.3.5)
122
+ tzinfo (1.2.2)
123
+ thread_safe (~> 0.1)
124
+ unf (0.1.4)
125
+ unf_ext
126
+ unf_ext (0.0.7.2)
127
+ websocket-driver (0.6.5)
128
+ websocket-extensions (>= 0.1.0)
129
+ websocket-extensions (0.1.2)
130
+
131
+ PLATFORMS
132
+ ruby
133
+
134
+ DEPENDENCIES
135
+ dropbox-ext!
136
+
137
+ BUNDLED WITH
138
+ 1.13.6
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2017
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # DropboxExt
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'dropbox_ext'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install dropbox_ext
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,37 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'DropboxExt'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+
21
+ load 'rails/tasks/statistics.rake'
22
+
23
+
24
+
25
+ require 'bundler/gem_tasks'
26
+
27
+ require 'rake/testtask'
28
+
29
+ Rake::TestTask.new(:test) do |t|
30
+ t.libs << 'lib'
31
+ t.libs << 'test'
32
+ t.pattern = 'test/**/*_test.rb'
33
+ t.verbose = false
34
+ end
35
+
36
+
37
+ task default: :test
@@ -0,0 +1,2 @@
1
+ //= link_directory ../javascripts/dropbox_ext .js
2
+ //= link_directory ../stylesheets/dropbox_ext .css
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,28 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
16
+
17
+ body, html {
18
+ font-family: sans-serif;
19
+ margin: 20px;
20
+ }
21
+
22
+ h1 {
23
+ border-bottom: 1px solid black;
24
+ }
25
+
26
+ h4 {
27
+ font-weight: bold !important;
28
+ }
@@ -0,0 +1,6 @@
1
+ module DropboxExt
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery with: :null_session
4
+
5
+ end
6
+ end
@@ -0,0 +1,31 @@
1
+ require_dependency "dropbox_ext/application_controller"
2
+
3
+ module DropboxExt
4
+ class DropboxController < ApplicationController
5
+
6
+ def dropbox_redirect
7
+ DropboxExt.mount_url + "/auth_redirect"
8
+ end
9
+
10
+ def dropbox_link
11
+ @dropbox_link = "https://www.dropbox.com/1/oauth2/authorize?client_id=7wzjlm5ap227jw7&response_type=code&redirect_uri=" + dropbox_redirect
12
+ end
13
+
14
+ def index
15
+ @dropbox_link = dropbox_link
16
+ end
17
+
18
+ def auth_complete
19
+ code = params[:code]
20
+
21
+ result = DropboxHelper.get_access_key(code, dropbox_redirect)
22
+ if result[:error]
23
+ redirect_to "#{DropboxExt.mount_url}/?secret_url=error"
24
+ else
25
+ @secret_url = CGI.escape("#{DropboxExt.mount_url}/items/sync?dbt=#{result[:token]}")
26
+ redirect_to "#{DropboxExt.mount_url}/?secret_url=#{@secret_url}"
27
+ end
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1,27 @@
1
+ require_dependency "dropbox_ext/application_controller"
2
+
3
+ module DropboxExt
4
+ class ItemsController < ApplicationController
5
+
6
+ def dropbox
7
+ if @dropbox
8
+ return @dropbox
9
+ end
10
+
11
+ require 'dropbox'
12
+ @dropbox = Dropbox::Client.new(params[:dbt])
13
+ end
14
+
15
+ def sync
16
+ items = params[:items]
17
+ if items && items.length > 0
18
+ items.each do |item|
19
+ dropbox.upload("/#{item[:content_type]}-#{item[:uuid]}.txt", "#{JSON.pretty_generate(item.as_json)}", {:mode => "overwrite"})
20
+ end
21
+ end
22
+
23
+ render :json => {:success => true}
24
+ end
25
+
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ module DropboxExt
2
+ module ApplicationHelper
3
+
4
+ end
5
+ end
@@ -0,0 +1,32 @@
1
+ module DropboxExt
2
+ module DropboxHelper
3
+
4
+ def self.get_access_key(auth_code, redirect)
5
+ require 'dropbox'
6
+
7
+ url = "https://api.dropboxapi.com/1/oauth2/token"
8
+ request_params = {
9
+ :code => auth_code,
10
+ :grant_type => "authorization_code",
11
+ :client_id => DropboxExt.db_client_id,
12
+ :client_secret => DropboxExt.db_client_secret,
13
+ :redirect_uri => "#{redirect}"
14
+ }
15
+
16
+ resp = HTTP.headers(content_type: 'application/json').post(url, :params => request_params)
17
+
18
+ if resp.code != 200
19
+ @error = "Unable to authenticate. Please try again."
20
+ return {:error => @error}
21
+ else
22
+ data = JSON.parse(resp.to_s)
23
+ dropbox_token = data["access_token"]
24
+ key = EncryptionHelper.generate_random_key
25
+ encrypted_token = EncryptionHelper.encrypt(dropbox_token, key)
26
+ return {:token => dropbox_token, :encrypted_token => encrypted_token, :key => key}
27
+ end
28
+
29
+ end
30
+
31
+ end
32
+ end
@@ -0,0 +1,53 @@
1
+ module DropboxExt
2
+
3
+ module EncryptionHelper
4
+
5
+ require 'securerandom'
6
+ require "openssl"
7
+ require 'base64'
8
+
9
+ ALG = "AES-256-CBC"
10
+
11
+ def self.generate_random_key
12
+ Digest::SHA256.hexdigest(SecureRandom.hex)
13
+ end
14
+
15
+ def self.encrypt(message, key)
16
+ aes = OpenSSL::Cipher::Cipher.new(ALG)
17
+ aes.encrypt
18
+ aes.key = [key].pack('H*')
19
+ cipher = aes.update(message)
20
+ cipher << aes.final
21
+ cipher64 = [cipher].pack('m')
22
+ cipher64
23
+ end
24
+
25
+ def self.decrypt(cipher64, key)
26
+ decode_cipher = OpenSSL::Cipher::Cipher.new(ALG)
27
+ decode_cipher.decrypt
28
+ decode_cipher.key = [key].pack('H*')
29
+ plain = decode_cipher.update(cipher64.unpack('m')[0])
30
+ plain << decode_cipher.final
31
+ plain
32
+ end
33
+
34
+ def self.sha256(string)
35
+ Digest::SHA256.hexdigest(string)
36
+ end
37
+
38
+ require "bcrypt"
39
+
40
+ DEFAULT_COST = 11
41
+
42
+ def self.hash_password(password)
43
+ BCrypt::Password.create(password, cost: DEFAULT_COST).to_s
44
+ end
45
+
46
+ def self.test_password(password, hash)
47
+ bcrypt = BCrypt::Password.new(hash)
48
+ password = BCrypt::Engine.hash_secret(password, bcrypt.salt)
49
+ return password == hash
50
+ end
51
+
52
+ end
53
+ end
@@ -0,0 +1,5 @@
1
+ module DropboxExt
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,10 @@
1
+ <h1> Dropbox Data Backup </h1>
2
+
3
+ <p> This extension creates real-time backups of your Standard File data to your Dropbox.</p>
4
+
5
+ <% if params[:secret_url] %>
6
+ <p> Your secret URL is: <strong><%= params[:secret_url] %></strong></p>
7
+ <p> Enter this URL into your Standard File dashboard to begin using it.</p>
8
+ <% else %>
9
+ <a href="<%= @dropbox_link %>">Link Dropbox</a>
10
+ <% end %>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dropbox sync</title>
5
+ <%= stylesheet_link_tag "dropbox_ext/application", media: "all" %>
6
+ <%= javascript_include_tag "dropbox_ext/application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
data/bin/rails ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails gems
3
+ # installed from the root of your application.
4
+
5
+ ENGINE_ROOT = File.expand_path('../..', __FILE__)
6
+ ENGINE_PATH = File.expand_path('../../lib/dropbox_ext/engine', __FILE__)
7
+
8
+ # Set up gems listed in the Gemfile.
9
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
10
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
11
+
12
+ require 'rails/all'
13
+ require 'rails/engine/commands'
data/config/routes.rb ADDED
@@ -0,0 +1,8 @@
1
+ DropboxExt::Engine.routes.draw do
2
+ post "items/sync" => "items#sync"
3
+
4
+ # dropbox config
5
+ get "auth_redirect" => "dropbox#auth_complete"
6
+
7
+ root :to => "dropbox#index"
8
+ end
@@ -0,0 +1,10 @@
1
+ class CreateDropboxExtUsers < ActiveRecord::Migration[5.0]
2
+ def change
3
+ create_table :dropbox_ext_users do |t|
4
+ t.string :uuid
5
+ t.string :hashed_key
6
+ t.string :enc_dropbox_token
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateDropboxExtItems < ActiveRecord::Migration[5.0]
2
+ def change
3
+ create_table :dropbox_ext_items do |t|
4
+ t.string :uuid
5
+ t.string :user_uuid
6
+ t.boolean :deleted, :default => false
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,23 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "dropbox_ext/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = "sf-dropbox-ext"
9
+ s.version = DropboxExt::VERSION
10
+ s.authors = ["Standard File"]
11
+ s.email = ["standardfile@bitar.io"]
12
+ s.homepage = "https://standardfile.org"
13
+ s.summary = "Summary of DropboxExt."
14
+ s.description = "Description of DropboxExt."
15
+ s.license = "GPLv3"
16
+
17
+ # s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
18
+ s.files = `git ls-files`.split("\n")
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency "rails", "~> 5.0.1"
22
+ s.add_dependency "dropbox-sdk-v2"
23
+ end
@@ -0,0 +1,7 @@
1
+ require "dropbox_ext/engine"
2
+
3
+ module DropboxExt
4
+ mattr_accessor :mount_url
5
+ mattr_accessor :db_client_id
6
+ mattr_accessor :db_client_secret
7
+ end
@@ -0,0 +1,5 @@
1
+ module DropboxExt
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace DropboxExt
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module DropboxExt
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :dropbox_ext do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sf-dropbox-ext
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Standard File
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: dropbox-sdk-v2
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Description of DropboxExt.
42
+ email:
43
+ - standardfile@bitar.io
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Gemfile
50
+ - Gemfile.lock
51
+ - MIT-LICENSE
52
+ - README.md
53
+ - Rakefile
54
+ - app/assets/config/dropbox_ext_manifest.js
55
+ - app/assets/javascripts/dropbox_ext/application.js
56
+ - app/assets/stylesheets/dropbox_ext/application.css
57
+ - app/controllers/dropbox_ext/application_controller.rb
58
+ - app/controllers/dropbox_ext/dropbox_controller.rb
59
+ - app/controllers/dropbox_ext/items_controller.rb
60
+ - app/helpers/dropbox_ext/application_helper.rb
61
+ - app/helpers/dropbox_ext/dropbox_helper.rb
62
+ - app/helpers/dropbox_ext/encryption_helper.rb
63
+ - app/models/dropbox_ext/application_record.rb
64
+ - app/views/dropbox_ext/dropbox/index.html.erb
65
+ - app/views/layouts/dropbox_ext/application.html.erb
66
+ - bin/rails
67
+ - config/routes.rb
68
+ - db/migrate/20170124051910_create_dropbox_sync_users.rb
69
+ - db/migrate/20170124051915_create_dropbox_sync_items.rb
70
+ - dropbox_ext.gemspec
71
+ - lib/dropbox_ext.rb
72
+ - lib/dropbox_ext/engine.rb
73
+ - lib/dropbox_ext/version.rb
74
+ - lib/tasks/dropbox_ext_tasks.rake
75
+ homepage: https://standardfile.org
76
+ licenses:
77
+ - GPLv3
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.4.8
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: Summary of DropboxExt.
99
+ test_files: []