morning-pages 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/README.md +19 -0
- data/Rakefile +21 -0
- data/lib/morning-pages.rb +4 -0
- data/lib/morning-pages/version.rb +3 -0
- data/morning-pages.gemspec +27 -0
- data/spec/write_spec.rb +7 -0
- metadata +124 -0
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Morning Pages
|
2
|
+
=============
|
3
|
+
|
4
|
+
[![Build Status](https://secure.travis-ci.org/chrismdp/morning-pages.png?branch=master)](http://travis-ci.org/chrismdp/morning-pages)
|
5
|
+
|
6
|
+
I've long been fascinated by the morning pages habit of writing three pages (or about 750 words) of whatever comes into your head each day - it's like taking a mental showers and helps to clear your head, ready for the day. There are great sites out there like http://750words.com, but I live on the command line and like to keep my words on my own computer.
|
7
|
+
|
8
|
+
When installed, type `morning-pages help` for more info.
|
9
|
+
|
10
|
+
## Contributing
|
11
|
+
|
12
|
+
We work on pull requests. If you have an idea for something you'd like to contribute, here's how to do it:
|
13
|
+
|
14
|
+
1. Create a local branch, and commit a failing spec that describes what you want to implement.
|
15
|
+
2. Push the branch, go on Github and create a pull request from the head of the branch.
|
16
|
+
3. Start the conversation: ping the mailing list and get some people to pair with you on designing the code. Iterate in the pull request, adding more specs, making them pass and refactoring until everyone is happy.
|
17
|
+
4. Remember to regularly rebase your branch from master in case there are upstream changes to pull in.
|
18
|
+
5. Get someone else to merge your pull request, that way you know your code makes sense to at least one other person.
|
19
|
+
6. Go and have a nice cup of tea to celebrate.
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
task :default => [:specs, 'cukes:fast', 'cukes:slow']
|
3
|
+
|
4
|
+
desc "Run unit tests"
|
5
|
+
task :specs do
|
6
|
+
sh "rspec spec"
|
7
|
+
end
|
8
|
+
|
9
|
+
namespace :cukes do
|
10
|
+
desc "Run end-to-end tests"
|
11
|
+
task :slow do
|
12
|
+
ENV['SLOW'] = 'true'
|
13
|
+
sh "cucumber"
|
14
|
+
end
|
15
|
+
|
16
|
+
desc "Run end-to-end tests with stubbed out file system for speed"
|
17
|
+
task :fast do
|
18
|
+
ENV['SLOW'] = nil
|
19
|
+
sh "cucumber"
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "morning-pages/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "morning-pages"
|
7
|
+
s.version = MorningPages::VERSION
|
8
|
+
s.authors = ["Chris Parsons"]
|
9
|
+
s.email = ["chris.p@rsons.org"]
|
10
|
+
s.homepage = "http://github.com/chrismdp/morning-pages"
|
11
|
+
s.summary = %q{Command line helper to write your morning pages}
|
12
|
+
s.description = %q{I've long been fascinated by the morning pages habit of writing three pages (or about 750 words) of whatever comes into your head each day - it's like taking a mental showers and helps to clear your head, ready for the day. There are great sites out there like http://750words.com, but I live on the command line and like to keep my words on my own computer.
|
13
|
+
|
14
|
+
When installed, type `morning-pages help` for more info.}
|
15
|
+
|
16
|
+
s.rubyforge_project = "morning-pages"
|
17
|
+
|
18
|
+
s.files = `git ls-files`.split("\n")
|
19
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
|
+
s.require_paths = ["lib"]
|
22
|
+
|
23
|
+
s.add_development_dependency 'rspec', '~> 2.10.0'
|
24
|
+
s.add_development_dependency 'rake', '~> 0.9.2.2'
|
25
|
+
s.add_development_dependency 'cucumber', '~> 1.2'
|
26
|
+
s.add_development_dependency 'aruba', '~> 0.4'
|
27
|
+
end
|
data/spec/write_spec.rb
ADDED
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: morning-pages
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Chris Parsons
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.10.0
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.10.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.9.2.2
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.2.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: cucumber
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.2'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.2'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: aruba
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.4'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.4'
|
78
|
+
description: ! "I've long been fascinated by the morning pages habit of writing three
|
79
|
+
pages (or about 750 words) of whatever comes into your head each day - it's like
|
80
|
+
taking a mental showers and helps to clear your head, ready for the day. There are
|
81
|
+
great sites out there like http://750words.com, but I live on the command line and
|
82
|
+
like to keep my words on my own computer.\n \n When installed, type `morning-pages
|
83
|
+
help` for more info."
|
84
|
+
email:
|
85
|
+
- chris.p@rsons.org
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- .gitignore
|
91
|
+
- .rspec
|
92
|
+
- Gemfile
|
93
|
+
- README.md
|
94
|
+
- Rakefile
|
95
|
+
- lib/morning-pages.rb
|
96
|
+
- lib/morning-pages/version.rb
|
97
|
+
- morning-pages.gemspec
|
98
|
+
- spec/write_spec.rb
|
99
|
+
homepage: http://github.com/chrismdp/morning-pages
|
100
|
+
licenses: []
|
101
|
+
post_install_message:
|
102
|
+
rdoc_options: []
|
103
|
+
require_paths:
|
104
|
+
- lib
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
requirements: []
|
118
|
+
rubyforge_project: morning-pages
|
119
|
+
rubygems_version: 1.8.19
|
120
|
+
signing_key:
|
121
|
+
specification_version: 3
|
122
|
+
summary: Command line helper to write your morning pages
|
123
|
+
test_files:
|
124
|
+
- spec/write_spec.rb
|