kinney 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 294b7c91041ab126ac659a8fa5e5b03903a16de6
4
- data.tar.gz: 4cde13772bf7d26d76399219480cb50ce473e104
3
+ metadata.gz: fa26ac82a8095b6c4152182de17e30f16d07a416
4
+ data.tar.gz: f1a835cfaa46c6d5f7afd885867a9b4dcbd41187
5
5
  SHA512:
6
- metadata.gz: 50b621ebb050f2b71d6e1d03e239728c380b61735203055e2cd1a0210bc17bcfb0deb92096d5929d80aaa6b63e8e9b02f6c7429f123b6b7afdd0ac4eed19a837
7
- data.tar.gz: 937ab11aba46c67a8112ebd4ba82ab648d3405d61929059f6ce48b9146a289959917d4f0a639115c5f4a7fe1252907d31401ad9b6fa6ddf18c4763b928bce9a0
6
+ metadata.gz: 38b51b82657dca1dbdef86d9f9ce81410512e3c86d15d283b55a29c0086a7d7f142a045a8f94c043006f34e62992537e1c271c106a6b5c278683c148b9071a8b
7
+ data.tar.gz: 73dcd53bcfe72f3505338c96dd4a743c79351662664fd96f8627a4bfa0a297dbb1334779e973f8a55f2305e24e1d19de9c5ffeb835a94c6b828e47b476fa17f5
@@ -21,24 +21,36 @@ Tested under:
21
21
  # Install
22
22
 
23
23
  - Create a fresh Rails application `rails new olympia` and `cd olympia`
24
- - Add the following to your Gemfile:
24
+ - Add kinney to your Gemfile:
25
+
26
+ ```
27
+ gem "kinney", "~> 0.1.1"
28
+ ```
29
+
30
+ Or you can use the current master:
25
31
 
26
32
  ```
27
33
  gem 'kinney', git: 'https://github.com/jronallo/kinney.git', branch: 'master'
34
+ ```
35
+
36
+ - Add the following other dependencies to your Gemfile:
37
+
38
+ ```
28
39
  gem 'font-awesome-sass-rails'
29
40
  gem 'activeadmin', git: 'https://github.com/gregbell/active_admin.git', branch: 'master'
30
41
  ```
31
42
 
32
43
  - `bundle install`
33
44
  - `bundle exec rake kinney:install:migrations db:migrate`
34
- - `bundle exec rails generate kinney:install` and `bundle install`. You may have to `bundle update compass-rails` for bundle install to complete.
35
- - Seed the database: `bundle exec rake db:seed`
36
- - Add an ExecJS runtime for your environment. In your Gemfile you can uncomment `gem 'therubyracer'`
45
+ - `bundle exec rails generate kinney:install` and `bundle install`.
37
46
  - Add a devise secret key to config/initializers/devise.rb. You can create a good new secret to use with `rake secret`.
38
47
 
39
48
  ```
40
49
  config.secret_key = 'a better secret key than this'
41
50
  ```
51
+ - Seed the database: `bundle exec rake db:seed`
52
+ - Add an ExecJS runtime for your environment. In your Gemfile you can uncomment `gem 'therubyracer'` and `bundle install`
53
+
42
54
 
43
55
  - `bundle exec rails c` to enter the Rails console and then `Kinney::AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')` and `exit` to return to your shell.
44
56
  - Start the Rails server (`bundle exec rails s`) and go to <http://localhost:3000/admin>. Login with the credentials above.
@@ -30,11 +30,11 @@ DESC
30
30
 
31
31
  def remove_turbolinks
32
32
  gsub_file('Gemfile', %Q|gem 'turbolinks'|, '')
33
- gsbu_file('app/assets/javascripts/application.js', '//= require turbolinks', '')
33
+ gsub_file('app/assets/javascripts/application.js', '//= require turbolinks', '')
34
34
  end
35
35
 
36
36
  def insert_seeds
37
- insert_into_file "db/seeds.rb", "\nKinney::Engine.load_seed\n"
37
+ append_to_file "db/seeds.rb", "\nKinney::Engine.load_seed\n"
38
38
  end
39
39
 
40
40
  def remove_coffeescript
@@ -114,7 +114,6 @@ EOF
114
114
  gem 'mediaelement_rails', :git => 'https://github.com/tobsch/mediaelement_rails.git'
115
115
  gem 'webvtt', :git => 'https://github.com/jronallo/webvtt.git'
116
116
 
117
- gem 'compass-rails', '>= 2.0.alpha.0'
118
117
  gem 'bootstrap-sass', git: 'https://github.com/thomas-mcdonald/bootstrap-sass.git', branch: 'master'
119
118
  EOF
120
119
  inject_into_file 'Gemfile', :after => "source 'https://rubygems.org'" do
@@ -1,3 +1,3 @@
1
1
  module Kinney
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Ronallo
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.3.0.rc2
69
+ - !ruby/object:Gem::Dependency
70
+ name: compass-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 1.1.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 1.1.2
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: chosen-rails
71
85
  requirement: !ruby/object:Gem::Requirement