buttercms 0.0.1 → 0.0.2

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: 7cb03623d267a31f33e523cc55a1e4ac0cf069ba
4
- data.tar.gz: 6b03e44d81a54578cb2ceb3efd06b1072aa15928
3
+ metadata.gz: 93b6a0e0792ce8b2169b4667e7b9ec9c9dd14de5
4
+ data.tar.gz: f800f177dca63d6ae49f47c572339de495e0b31f
5
5
  SHA512:
6
- metadata.gz: cd284525b8af3361ed2635bd8b4ef3337b318352c4f9104bce12b0b60467f50549c2ec39653573aa1394e73d1cb8ff9dedb63d7f2aa2ba16f4670ec9c21bbd99
7
- data.tar.gz: 8bd51b1f960943058dcfb088f0bddac206290c7ba5ad67f7d3828e9daff41293ada5e8f3f3ce4bcfadd7ed2e52332ee59277f16bcf4dc5d70051652d482f6d72
6
+ metadata.gz: 7e24e9f5b41556dc688da01f17ffb074371fa42b44caa22dbaf182c8ff539f998abb26d8258dd21ab59eeb6c1778b4532767f017bb3bb0444f6da2f3a9aade0b
7
+ data.tar.gz: e758cff407b66f481f8e6988c22a9c37cb9ed1cfefccd2adb00753c79aded5edbe97f0919532fec7fe9edbf2b934140707afeae52ec77ef611b48a67ee79a06b
data/.gitignore CHANGED
@@ -33,3 +33,5 @@ bower.json
33
33
 
34
34
  # Ignore pow environment settings
35
35
  .powenv
36
+
37
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Declare your gem's dependencies in buttercms.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use a debugger
14
+ # gem 'byebug', group: [:development, :test]
15
+
@@ -0,0 +1,33 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ buttercms (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ domain_name (0.5.24)
10
+ unf (>= 0.0.5, < 1.0.0)
11
+ http-cookie (1.0.2)
12
+ domain_name (~> 0.5)
13
+ json (1.8.2)
14
+ mime-types (2.4.3)
15
+ netrc (0.10.3)
16
+ rake (10.4.2)
17
+ rest-client (1.8.0)
18
+ http-cookie (>= 1.0.2, < 2.0)
19
+ mime-types (>= 1.16, < 3.0)
20
+ netrc (~> 0.7)
21
+ unf (0.1.4)
22
+ unf_ext
23
+ unf_ext (0.0.7.1)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 1.7)
30
+ buttercms!
31
+ json
32
+ rake (~> 10.0)
33
+ rest-client
@@ -0,0 +1,20 @@
1
+ Copyright 2015 Jake Lumetta
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.
@@ -0,0 +1,60 @@
1
+ Butter CMS for Rails
2
+ =========================
3
+
4
+ https://www.buttercms.com
5
+
6
+ **Why Butter?**
7
+
8
+ Butter makes setting up a professional company blog on Rails insanely easy. It's built for developers to save us from hosting, DB setup, themeing, maintaining yet another Wordpress install. It's designed to be quickly integrated to an existing Rails project.
9
+
10
+ Butter provides a user friendly blogging UI, hosted on buttercms.com, and exposes content created via an API.
11
+
12
+ This package provides a Rails Engine that interacts with the Butter API to get you up and running in seconds.
13
+
14
+
15
+ Installation
16
+ ------------
17
+ Add buttercms gem to your Gemfile and install it.
18
+
19
+ .. code-block:: ruby
20
+
21
+ # In Gemfile
22
+ gem 'buttercms'
23
+
24
+ .. code-block:: bash
25
+
26
+ $ gem install buttercms
27
+
28
+ Mount the Buttercms engine in your config/routes.rb and define your blog path.
29
+
30
+ .. code-block:: ruby
31
+
32
+ # In config/routes.rb
33
+ mount Buttercms::Engine => "/blog"
34
+
35
+ Grab your API token from https://buttercms.com/api_token
36
+
37
+ .. code:: ruby
38
+
39
+ # In config/secrets.yml
40
+ # Add your BUTTER_CMS_TOKEN to both development: and production:
41
+ BUTTER_CMS_TOKEN = <your_api_token>
42
+
43
+ Nice job. You've now got a blog running natively in your Rails project. Nothing but Ruby goodness. (No PHP scripts here ;))
44
+
45
+ Check it out! localhost:3000/blog
46
+
47
+ Specify the Blog Layout
48
+ -----------------------
49
+ We've provided a default layout but we expect you'll want the blog to appear your branded layout so we've made this as simple as defining config.blog_layout.
50
+
51
+ .. code:: ruby
52
+
53
+ # In application.rb (or an initializer like constants.rb)
54
+ config.blog_layout = "<your_main_layout>"
55
+
56
+ Note that an ideal layout simply defines the header and footer for the page and <%= yields %> the main body.
57
+
58
+ Restart the server and go to localhost:3000/blog and you'll see your new professional branded blog!
59
+
60
+ Log into https://buttercms.com/ to start blogging!
@@ -0,0 +1,39 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ # begin
4
+ # require 'bundler/setup'
5
+ # rescue LoadError
6
+ # puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ # end
8
+
9
+ # require 'rdoc/task'
10
+
11
+ # RDoc::Task.new(:rdoc) do |rdoc|
12
+ # rdoc.rdoc_dir = 'rdoc'
13
+ # rdoc.title = 'Buttercms'
14
+ # rdoc.options << '--line-numbers'
15
+ # rdoc.rdoc_files.include('README.rdoc')
16
+ # rdoc.rdoc_files.include('lib/**/*.rb')
17
+ # end
18
+
19
+ # APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
20
+ # load 'rails/tasks/engine.rake'
21
+
22
+
23
+ # load 'rails/tasks/statistics.rake'
24
+
25
+
26
+
27
+ # Bundler::GemHelper.install_tasks
28
+
29
+ # require 'rake/testtask'
30
+
31
+ # Rake::TestTask.new(:test) do |t|
32
+ # t.libs << 'lib'
33
+ # t.libs << 'test'
34
+ # t.pattern = 'test/**/*_test.rb'
35
+ # t.verbose = false
36
+ # end
37
+
38
+
39
+ # task default: :test
File without changes
@@ -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.
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,15 @@
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 styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,13 @@
1
+ module Buttercms
2
+ class ApplicationController < ActionController::Base
3
+ layout :get_layout
4
+
5
+ def get_layout
6
+ begin
7
+ Rails.application.config.blog_layout
8
+ rescue NoMethodError
9
+ # Default to the included layout.
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,56 @@
1
+ require 'json'
2
+ require 'rest-client'
3
+
4
+
5
+ module Buttercms
6
+
7
+ # Displays a default blog post with instructions on getting a personal token.
8
+ DEFAULT_TOKEN = '6d7505c309afd84e80d806e8e2cb91be12b896ad'
9
+ API_URL = 'https://buttercms.com/api/'
10
+
11
+ class BlogController < ApplicationController
12
+
13
+ def not_found
14
+ raise ActionController::RoutingError.new('Not Found')
15
+ end
16
+
17
+ def get_token
18
+ if Rails.application.secrets.BUTTER_CMS_TOKEN
19
+ return Rails.application.secrets.BUTTER_CMS_TOKEN
20
+ else
21
+ return DEFAULT_TOKEN
22
+ end
23
+ end
24
+
25
+ def make_request(path)
26
+ begin
27
+ response = RestClient.get path, {:Authorization => "Token #{get_token}"}
28
+ rescue SocketError => e
29
+ raise Exception.new("Unable to connect to ButterCms. Please double check your internet connection.")
30
+ rescue => e
31
+ case e.response.code
32
+ when 404
33
+ not_found
34
+ when 401
35
+ raise Exception.new("This token has not been registered. Please register one @ https://buttercms.com/api_token/")
36
+ else
37
+ raise Exception.new("An error occured retrieving blog. Please try again later.")
38
+ end
39
+ end
40
+
41
+ return response
42
+ end
43
+
44
+ def home
45
+ response = make_request("#{API_URL}posts/")
46
+ @recent_posts = JSON.parse(response)
47
+ end
48
+
49
+ def post
50
+ response = make_request("#{API_URL}posts/#{params[:slug]}")
51
+ @blog_post = JSON.parse(response)
52
+ end
53
+ end
54
+ end
55
+
56
+
@@ -0,0 +1,4 @@
1
+ module Buttercms
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,14 @@
1
+ <% @recent_posts.each do |post| %>
2
+ <div class="post-preview">
3
+ <h2 class="post-title">
4
+ <%= link_to(post['title'], blog_post_path(:slug => post['slug'])) %>
5
+ </h2>
6
+
7
+ <p class="post-meta">Posted by <%= post['author']['first_name'] %> <%= post['author']['last_name'] %> on <%= post['created'] %></p>
8
+
9
+ <p class="post-summary">
10
+ <%= post['summary'] %>
11
+ </p>
12
+ </div>
13
+ <hr>
14
+ <% end %>
@@ -0,0 +1,12 @@
1
+ <div class="post-preview">
2
+
3
+ <h2 class="post-title">
4
+ <%= @blog_post['title'] %>
5
+ </h2>
6
+
7
+ <p class="post-meta">Posted by <%= @blog_post['author']['first_name'] %> <%= @blog_post['author']['last_name'] %> on <%= @blog_post['created'] %></p>
8
+
9
+ <p class="post-body">
10
+ <%= @blog_post['body'].html_safe %>
11
+ </p>
12
+ </div>
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+
6
+ <meta charset="utf-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <meta name="description" content="">
10
+ <meta name="author" content="">
11
+
12
+ <title>Blog</title>
13
+
14
+ <!-- Bootstrap Core CSS -->
15
+ <link href="https://buttercms.com/static/demoblog/css/bootstrap.min.css" rel="stylesheet">
16
+
17
+ <!-- Custom CSS -->
18
+ <link href="https://buttercms.com/static/demoblog/css/clean-blog.min.css" rel="stylesheet">
19
+
20
+ <!-- Custom Fonts -->
21
+ <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
22
+ <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
23
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
24
+
25
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
26
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
27
+ <!--[if lt IE 9]>
28
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
29
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
30
+ <![endif]-->
31
+
32
+ </head>
33
+
34
+ <body style="padding-top: 60px;">
35
+
36
+ <!-- Navigation -->
37
+ <nav class="navbar navbar-default navbar-custom" style="background-color: #404040;">
38
+ <div class="container-fluid">
39
+ <!-- Brand and toggle get grouped for better mobile display -->
40
+ <div class="navbar-header page-scroll">
41
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
42
+ <span class="sr-only">Toggle navigation</span>
43
+ <span class="icon-bar"></span>
44
+ <span class="icon-bar"></span>
45
+ <span class="icon-bar"></span>
46
+ </button>
47
+
48
+ <%= link_to("Blog home", blog_path, class: "navbar-brand") %>
49
+ </div>
50
+
51
+
52
+ </div>
53
+ <!-- /.container -->
54
+ </nav>
55
+
56
+ <!-- Main Content -->
57
+ <div class="container">
58
+ <%= yield %>
59
+ </div>
60
+
61
+ <hr>
62
+
63
+ <!-- Footer -->
64
+ <footer>
65
+ <div class="container">
66
+ <div class="row">
67
+ <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
68
+ <ul class="list-inline text-center">
69
+ <li>
70
+ <a href="#">
71
+ <span class="fa-stack fa-lg">
72
+ <i class="fa fa-circle fa-stack-2x"></i>
73
+ <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
74
+ </span>
75
+ </a>
76
+ </li>
77
+ <li>
78
+ <a href="#">
79
+ <span class="fa-stack fa-lg">
80
+ <i class="fa fa-circle fa-stack-2x"></i>
81
+ <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
82
+ </span>
83
+ </a>
84
+ </li>
85
+ <li>
86
+ <a href="#">
87
+ <span class="fa-stack fa-lg">
88
+ <i class="fa fa-circle fa-stack-2x"></i>
89
+ <i class="fa fa-github fa-stack-1x fa-inverse"></i>
90
+ </span>
91
+ </a>
92
+ </li>
93
+ </ul>
94
+ <p class="copyright text-muted">Copyright &copy; Your Website 2015</p>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ </footer>
99
+
100
+ <!-- jQuery -->
101
+ <script src="https://buttercms.com/static/demoblog/js/jquery.min.js"></script>
102
+
103
+ <!-- Bootstrap Core JavaScript -->
104
+ <script src="https://buttercms.com/static/demoblog/js/bootstrap.min.js"></script>
105
+
106
+ <!-- Custom Theme JavaScript -->
107
+ <script src="https://buttercms.com/static/demoblog/js/clean-blog.min.js"></script>
108
+
109
+ </body>
110
+ </html>
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
3
+
4
+ ENGINE_ROOT = File.expand_path('../..', __FILE__)
5
+ ENGINE_PATH = File.expand_path('../../lib/buttercms/engine', __FILE__)
6
+
7
+ # Set up gems listed in the Gemfile.
8
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
9
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
10
+
11
+ require 'rails/all'
12
+ require 'rails/engine/commands'
@@ -0,0 +1,32 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "buttercms/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "buttercms"
9
+ spec.version = Buttercms::VERSION
10
+ spec.authors = ["ButterCms"]
11
+ spec.email = ["jake@buttercms.com"]
12
+ spec.summary = %q{Company blogs as a service. Built for developers.}
13
+ spec.description = %q{Butter makes setting up a company blog on Rails insanely easy. It's built for developers to save us from hosting, DB setup, themeing, maintaining yet another Wordpress install. It's designed to be quickly integrated to an existing Rails project.}
14
+ spec.homepage = "https://www.buttercms.com"
15
+ spec.license = "MIT"
16
+
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+ spec.files = `git ls-files -z`.split("\x0")
20
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
+
22
+ # spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
23
+ # spec.test_files = Dir["test/**/*"]
24
+ # spec.add_dependency "rails", "~> 4.2.1"
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.7"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "json"
29
+ spec.add_development_dependency "rest-client"
30
+
31
+
32
+ end
@@ -0,0 +1,4 @@
1
+ Buttercms::Engine.routes.draw do
2
+ get '/' => 'blog#home', as: :blog
3
+ get '/:slug' => 'blog#post', as: :blog_post
4
+ end
@@ -0,0 +1,5 @@
1
+ require "buttercms/engine"
2
+
3
+ module Buttercms
4
+ # Some engines choose to use this file to put global configuration options for their engine. It's a relatively good idea, so if you want to offer configuration options, the file where your engine's module is defined is perfect for that. Place the methods inside the module and you'll be good to go.
5
+ end
@@ -0,0 +1,5 @@
1
+ module Buttercms
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Buttercms
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Buttercms
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :buttercms do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class ButtercmsTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Buttercms
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,20 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
10
+ # to be shown.
11
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
12
+
13
+ # Load support files
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ # Load fixtures from the engine
17
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
19
+ ActiveSupport::TestCase.fixtures :all
20
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buttercms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ButterCms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-23 00:00:00.000000000 Z
11
+ date: 2015-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,8 +76,30 @@ extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
78
  - .gitignore
79
- - LICENSE
80
- - README.md
79
+ - Gemfile
80
+ - Gemfile.lock
81
+ - MIT-LICENSE
82
+ - README.rst
83
+ - Rakefile
84
+ - app/assets/images/buttercms/.keep
85
+ - app/assets/javascripts/buttercms/application.js
86
+ - app/assets/stylesheets/buttercms/application.css
87
+ - app/controllers/buttercms/application_controller.rb
88
+ - app/controllers/buttercms/blog_controller.rb
89
+ - app/helpers/buttercms/application_helper.rb
90
+ - app/views/buttercms/blog/home.html.erb
91
+ - app/views/buttercms/blog/post.html.erb
92
+ - app/views/layouts/buttercms/application.html.erb
93
+ - bin/rails
94
+ - buttercms.gemspec
95
+ - config/routes.rb
96
+ - lib/buttercms.rb
97
+ - lib/buttercms/engine.rb
98
+ - lib/buttercms/version.rb
99
+ - lib/tasks/buttercms_tasks.rake
100
+ - test/buttercms_test.rb
101
+ - test/integration/navigation_test.rb
102
+ - test/test_helper.rb
81
103
  homepage: https://www.buttercms.com
82
104
  licenses:
83
105
  - MIT
@@ -102,4 +124,7 @@ rubygems_version: 2.4.6
102
124
  signing_key:
103
125
  specification_version: 4
104
126
  summary: Company blogs as a service. Built for developers.
105
- test_files: []
127
+ test_files:
128
+ - test/buttercms_test.rb
129
+ - test/integration/navigation_test.rb
130
+ - test/test_helper.rb
data/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Jake Lumetta
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
data/README.md DELETED
@@ -1,2 +0,0 @@
1
- # buttercms-rails
2
- Butter CMS Gem for Rails