arkenstone 0.2.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7fd46f443ea20d4749e6c11f7a8e5a3fee2311f
4
- data.tar.gz: 48a4dc33a72ed7b485d39e8ba34e22495adb9895
3
+ metadata.gz: 9c3e4ab354acdac5b3036ab21993a5f1bed144ff
4
+ data.tar.gz: 266fa5c1868e655d62c7e00b4bdea3548ecd9830
5
5
  SHA512:
6
- metadata.gz: 59736589fdab7ebe84e29051b0fe62923f2d159be1905433d706f763d7a241ed17a8b4b1c8e86eed779c74b4b91f312ada8ee52ae49c0313a16b075abbd20e2b
7
- data.tar.gz: fdc9f06d40f87504da7440e42dd96d1c5ebbb5fcdd1cca99634fbdcfd51ccba036fa843854b8e5b6ad4a9b4e60192700659c7973fcd14778b86a57ead4d64092
6
+ metadata.gz: 68d1ed386f760541116ae130f567a40b7b454deb03c458294d4cf8e5994a1f288ffe9eee6a6d2038e856ed96d58887b549aa0c13244eeb3d09c4f60d4ca51e61
7
+ data.tar.gz: f9819456dcb68c8f3825eba3bd1191b65acdad368393702928a9aca75808f8cdc6c298c205f7dd6383090b484b708f48a0309761b5abe6b9e6c757c88673fcfc
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Build Status](https://circleci.com/gh/ngscheurich/arkenstone.svg?&style=shield)](https://circleci.com/gh/ngscheurich/arkenstone)
4
4
  [![Code Coverage](https://codecov.io/github/ngscheurich/arkenstone/coverage.svg?branch=master)](https://codecov.io/github/ngscheurich/arkenstone?branch=master)
5
+ [![Gem Version](https://badge.fury.io/rb/arkenstone.svg)](https://badge.fury.io/rb/arkenstone)
5
6
 
6
7
  The Arkenstone is a Ruby on Rails development environment generator. Its
7
8
  goal is to provide an easy way to spin up a new Vagrant box provisioned
@@ -35,14 +36,15 @@ initial work for you like:
35
36
  - Installing and setting up PostgreSQL
36
37
  - Generating a new Rails app with [Suspenders](https://github.com/thoughtbot/suspenders)
37
38
 
38
- When your new environment is complete, SSH into it and fire up
39
- the Rails server:
39
+ When your new environment is complete, send over an SSH command to fire
40
+ up the Rails server:
40
41
 
41
- $ vagrant ssh
42
- $ cd /vagrant && bin/rails server -b 0.0.0.0
42
+ $ vagrant ssh -c '/vagrant/bin/rails server -b 0.0.0.0'
43
43
 
44
44
  You should now be able to visit your Rails app on your host machine at
45
- [http://localhost:3001](http://localhost:3001). Voilà!
45
+ [http://localhost:3001](http://localhost:3001).
46
+
47
+ *Voilà!*
46
48
 
47
49
  ---
48
50
 
@@ -7,7 +7,7 @@ $LOAD_PATH << source_path
7
7
 
8
8
  require "arkenstone"
9
9
 
10
- templates_relative = File.join("..", "lib/arkenstone/templates")
10
+ templates_relative = File.join("..", "templates")
11
11
  templates_root = File.expand_path(templates_relative, File.dirname(__FILE__))
12
12
  Arkenstone::Forge.source_root templates_root
13
13
  Arkenstone::Forge.start(ARGV)
@@ -1,3 +1,3 @@
1
1
  module Arkenstone
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.3.0".freeze
3
3
  end
@@ -0,0 +1,3 @@
1
+ {
2
+ "directory": "vendor/assets/components"
3
+ }
@@ -0,0 +1,2 @@
1
+ ---
2
+ src_dir: "{{ ansible_env.HOME }}/src"
@@ -1,4 +1,11 @@
1
1
  ---
2
+ - name: Make src directory
3
+ file: path={{ src_dir }} state=directory
4
+
5
+ - name: Add fish PPA repository
6
+ become: yes
7
+ command: apt-add-repository -y ppa:fish-shell/release-2
8
+
2
9
  - name: Update Apt cache
3
10
  become: yes
4
11
  apt:
@@ -10,6 +17,7 @@
10
17
  with_items:
11
18
  - autoconf
12
19
  - build-essential
20
+ - fish
13
21
  - git
14
22
  - gstreamer1.0-plugins-base
15
23
  - gstreamer1.0-tools
@@ -1,6 +1,6 @@
1
1
  ---
2
- - name: Install Suspenders
3
- gem: name=suspenders state=present
2
+ - name: Install Suspenders (Hosenträger)
3
+ gem: name=hosentrager state=present
4
4
 
5
5
  - name: Install Bundler
6
6
  gem: name=bundler state=present
@@ -0,0 +1,5 @@
1
+ ---
2
+ ruby_src_file: "{{ src_dir }}/ruby-2.3.0.tar.gz"
3
+ ruby_src_dir: "{{ src_dir }}/ruby-2.3.0"
4
+ ruby_src_url: http://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz
5
+ ruby_version: 2.3.0
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  - name: Download Ruby {{ ruby_version }} source
3
- get_url: url={{ ruby_src_url }} dest={{ ansible_env.HOME }}
3
+ get_url: url={{ ruby_src_url }} dest={{ src_dir }}
4
4
 
5
5
  - name: Extract Ruby source
6
6
  unarchive: src={{ ruby_src_file }}
7
7
  args:
8
- dest: "{{ ansible_env.HOME }}"
8
+ dest: "{{ src_dir }}"
9
9
  creates: "{{ ruby_src_dir }}"
10
10
  copy: no
11
11
 
@@ -0,0 +1,4 @@
1
+ ---
2
+ - name: Set login shell to fish
3
+ become: yes
4
+ command: usermod -s /usr/bin/fish vagrant
@@ -4,6 +4,8 @@
4
4
 
5
5
  roles:
6
6
  - base
7
+ - shell
7
8
  - ruby
8
9
  - postgresql
9
10
  - rails
11
+ - bower
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arkenstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Scheurich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-26 00:00:00.000000000 Z
11
+ date: 2016-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov
@@ -120,14 +120,6 @@ files:
120
120
  - circle.yml
121
121
  - lib/arkenstone.rb
122
122
  - lib/arkenstone/forge.rb
123
- - lib/arkenstone/templates/Vagrantfile.erb
124
- - lib/arkenstone/templates/ansible/roles/base/tasks/main.yml
125
- - lib/arkenstone/templates/ansible/roles/postgresql/tasks/main.yml
126
- - lib/arkenstone/templates/ansible/roles/rails/defaults/main.yml
127
- - lib/arkenstone/templates/ansible/roles/rails/tasks/main.yml
128
- - lib/arkenstone/templates/ansible/roles/ruby/defaults/main.yml
129
- - lib/arkenstone/templates/ansible/roles/ruby/tasks/main.yml
130
- - lib/arkenstone/templates/ansible/site.yml
131
123
  - lib/arkenstone/version.rb
132
124
  - ruby.yml
133
125
  - spec/arkenstone_spec.rb
@@ -137,6 +129,17 @@ files:
137
129
  - spec/features/new_project_with_virtualbox_spec.rb
138
130
  - spec/spec_helper.rb
139
131
  - spec/support/features/new_project.rb
132
+ - templates/.bowerrc
133
+ - templates/Vagrantfile.erb
134
+ - templates/ansible/group_vars/all.yml
135
+ - templates/ansible/roles/base/tasks/main.yml
136
+ - templates/ansible/roles/postgresql/tasks/main.yml
137
+ - templates/ansible/roles/rails/defaults/main.yml
138
+ - templates/ansible/roles/rails/tasks/main.yml
139
+ - templates/ansible/roles/ruby/defaults/main.yml
140
+ - templates/ansible/roles/ruby/tasks/main.yml
141
+ - templates/ansible/roles/shell/tasks/main.yml
142
+ - templates/ansible/site.yml
140
143
  homepage: https://github.com/ngscheurich/arkenstone
141
144
  licenses:
142
145
  - GPL-3.0
@@ -1,5 +0,0 @@
1
- ---
2
- ruby_src_file: "{{ ansible_env.HOME }}/ruby-2.3.0.tar.gz"
3
- ruby_src_dir: "{{ ansible_env.HOME }}/ruby-2.3.0"
4
- ruby_src_url: http://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz
5
- ruby_version: 2.3.0