primo 0.0.2 → 0.0.3

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.
data/Gemfile.lock CHANGED
@@ -1,89 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- primo (0.0.2)
5
- rails
4
+ primo (0.0.3)
6
5
 
7
6
  GEM
8
7
  remote: http://rubygems.org/
9
8
  specs:
10
- actionmailer (3.2.11)
11
- actionpack (= 3.2.11)
12
- mail (~> 2.4.4)
13
- actionpack (3.2.11)
14
- activemodel (= 3.2.11)
15
- activesupport (= 3.2.11)
16
- builder (~> 3.0.0)
17
- erubis (~> 2.7.0)
18
- journey (~> 1.0.4)
19
- rack (~> 1.4.0)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.2.1)
23
- activemodel (3.2.11)
24
- activesupport (= 3.2.11)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.11)
27
- activemodel (= 3.2.11)
28
- activesupport (= 3.2.11)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.11)
32
- activemodel (= 3.2.11)
33
- activesupport (= 3.2.11)
34
- activesupport (3.2.11)
35
- i18n (~> 0.6)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.4)
39
- erubis (2.7.0)
40
- hike (1.2.1)
41
- i18n (0.6.1)
42
- journey (1.0.4)
43
- json (1.7.6)
44
- mail (2.4.4)
45
- i18n (>= 0.4.0)
46
- mime-types (~> 1.16)
47
- treetop (~> 1.4.8)
48
- mime-types (1.19)
49
- multi_json (1.5.0)
50
- polyglot (0.3.3)
51
- rack (1.4.4)
52
- rack-cache (1.2)
53
- rack (>= 0.4)
54
- rack-ssl (1.3.2)
55
- rack
56
- rack-test (0.6.2)
57
- rack (>= 1.0)
58
- rails (3.2.11)
59
- actionmailer (= 3.2.11)
60
- actionpack (= 3.2.11)
61
- activerecord (= 3.2.11)
62
- activeresource (= 3.2.11)
63
- activesupport (= 3.2.11)
64
- bundler (~> 1.0)
65
- railties (= 3.2.11)
66
- railties (3.2.11)
67
- actionpack (= 3.2.11)
68
- activesupport (= 3.2.11)
69
- rack-ssl (~> 1.3.2)
70
- rake (>= 0.8.7)
71
- rdoc (~> 3.4)
72
- thor (>= 0.14.6, < 2.0)
73
- rake (10.0.3)
74
- rdoc (3.12)
75
- json (~> 1.4)
76
- sprockets (2.2.2)
77
- hike (~> 1.2)
78
- multi_json (~> 1.0)
79
- rack (~> 1.0)
80
- tilt (~> 1.1, != 1.3.0)
81
- thor (0.17.0)
82
- tilt (1.3.3)
83
- treetop (1.4.12)
84
- polyglot
85
- polyglot (>= 0.3.1)
86
- tzinfo (0.3.35)
87
9
 
88
10
  PLATFORMS
89
11
  ruby
data/README.md CHANGED
@@ -2,12 +2,15 @@
2
2
 
3
3
  A better, configurable, default (prime) Rails stack.
4
4
 
5
+ Inspired by Steve Klabnik's article ["Rails has Two Default Stacks"](http://words.steveklabnik.com/rails-has-two-default-stacks)
6
+
5
7
  ## Usage
6
8
 
7
9
  ```
10
+ gem install rails
8
11
  gem install primo
9
12
 
10
- primo app_name
13
+ primo app_name #instead of "rails new app_name"
11
14
  ```
12
15
 
13
16
  This generates PostgreSQL/HAML/Rspec Rails app using [this template](https://github.com/cbetta/primo/blob/master/templates/prime.rb).
@@ -15,6 +18,7 @@ This generates PostgreSQL/HAML/Rspec Rails app using [this template](https://git
15
18
 
16
19
  ## Release notes
17
20
 
21
+ * **0.0.3** Removed direct Rails dependency
18
22
  * **0.0.2** Added simple installer for "Prime stack"
19
23
  * **0.0.1** Gem skeleton
20
24
 
data/lib/primo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Primo
2
- VERSION = "0.0.2" unless defined? Primo::VERSION
2
+ VERSION = "0.0.3" unless defined? Primo::VERSION
3
3
  end
data/primo.gemspec CHANGED
@@ -16,6 +16,4 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
-
20
- s.add_dependency 'rails'
21
19
  end
data/templates/prime.rb CHANGED
@@ -43,7 +43,6 @@ end
43
43
 
44
44
  run "rm -rf test"
45
45
  run "rm -rf autotest"
46
-
47
46
  run "rails generate rspec:install"
48
47
 
49
48
  # Specify generators
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,23 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-01-27 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rails
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
13
+ dependencies: []
30
14
  description: A better, configurable, default (prime) Rails stack.
31
15
  email:
32
16
  - cbetta@gmail.com
@@ -59,18 +43,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
43
  - - ! '>='
60
44
  - !ruby/object:Gem::Version
61
45
  version: '0'
62
- segments:
63
- - 0
64
- hash: -4492109339490378635
65
46
  required_rubygems_version: !ruby/object:Gem::Requirement
66
47
  none: false
67
48
  requirements:
68
49
  - - ! '>='
69
50
  - !ruby/object:Gem::Version
70
51
  version: '0'
71
- segments:
72
- - 0
73
- hash: -4492109339490378635
74
52
  requirements: []
75
53
  rubyforge_project:
76
54
  rubygems_version: 1.8.24