gyst 0.0.3 → 0.0.4
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/Changelog.md +2 -1
- data/README.md +8 -12
- data/Rakefile +1 -0
- data/bin/rakee +2 -2
- data/bin/raket +2 -3
- data/features/command_line/grease_your_suite.feature +8 -16
- data/features/command_line/rake_gyst.feature +6 -10
- data/features/command_line/raket.feature +9 -4
- data/lib/gyst/version.rb +1 -1
- metadata +2 -2
data/Changelog.md
CHANGED
data/README.md
CHANGED
@@ -14,15 +14,8 @@ Install
|
|
14
14
|
--------
|
15
15
|
First, [some songs to test by][music] courtesy of [][music]
|
16
16
|
|
17
|
-
|
17
|
+
gem install gyst
|
18
18
|
|
19
|
-
From rubygems:
|
20
|
-
gem install gyst --no-wrappers
|
21
|
-
Locally:
|
22
|
-
gem install pkg/gyst-0.?.?.gem --no-wrappers
|
23
|
-
|
24
|
-
Why do you have to add `-no-wrappers`? Because the scripts are bash scripts, not ruby scripts.
|
25
|
-
We are stuck with this workaround until someone finds a better answer for this issue. This is the only reference I have found: <http://help.rubygems.org/discussions/suggestions/12-per-executable-wrappers>
|
26
19
|
|
27
20
|
Dependencies
|
28
21
|
------------
|
@@ -123,7 +116,7 @@ Ruby 1.9.2 (p180)
|
|
123
116
|
Contribute
|
124
117
|
-----------
|
125
118
|
Contributions and discussions are welcome.
|
126
|
-
Feel free to add
|
119
|
+
Feel free to add suggestions and bugs to our [issues on github](https://github.com/mattscilipoti/gyst/issues).
|
127
120
|
|
128
121
|
* Fork the project.
|
129
122
|
* `bundle install`. Run all tests with `rakee`
|
@@ -137,11 +130,14 @@ Feel free to add sugggestions and bugs to our [issues on github](https://github.
|
|
137
130
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
138
131
|
* Send me a pull request. Bonus points for topic branches.
|
139
132
|
|
140
|
-
*
|
133
|
+
*When adding a new shell script*
|
141
134
|
|
142
|
-
* add to git index
|
135
|
+
* add to git index (so gemspec can find it)
|
143
136
|
* `rake build`
|
144
|
-
*
|
137
|
+
* `rake install`
|
138
|
+
|
139
|
+
Do NOT use `rakee/raket` to run the features. This will set ENV vars,
|
140
|
+
borking the ENV var related tests.
|
145
141
|
|
146
142
|
References
|
147
143
|
-----------
|
data/Rakefile
CHANGED
data/bin/rakee
CHANGED
data/bin/raket
CHANGED
@@ -6,7 +6,7 @@ Feature: the grease_your_suite script sets configuration options for REE
|
|
6
6
|
|
7
7
|
|
8
8
|
Scenario: running with no args
|
9
|
-
When I successfully run
|
9
|
+
When I successfully run `grease_your_suite`
|
10
10
|
# output includes message and output from `time`
|
11
11
|
Then the output should contain:
|
12
12
|
"""
|
@@ -14,20 +14,12 @@ Feature: the grease_your_suite script sets configuration options for REE
|
|
14
14
|
"""
|
15
15
|
|
16
16
|
Scenario: the script sets Environment Variables
|
17
|
-
When I run
|
18
|
-
Then the output should contain:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
"RUBY_HEAP_SLOTS_INCREMENT" => "1000000",
|
25
|
-
"RUBY_HEAP_SLOTS_GROWTH_FACTOR" => "1"
|
26
|
-
}
|
27
|
-
"""
|
28
|
-
Then the output should contain:
|
29
|
-
"""
|
30
|
-
INFO: Configuring REE (re: grease_your_suite)
|
31
|
-
"""
|
17
|
+
When I run `grease_your_suite rake gyst:info`
|
18
|
+
Then the output should contain "INFO: Configuring REE (re: grease_your_suite)"
|
19
|
+
And the output should match /"RUBY_GC_MALLOC_LIMIT" => "1000000000"/
|
20
|
+
And the output should match /"RUBY_HEAP_FREE_MIN" => "500000111"/
|
21
|
+
And the output should match /"RUBY_HEAP_MIN_SLOTS" => "1000000"/
|
22
|
+
And the output should match /"RUBY_HEAP_SLOTS_INCREMENT" => "1000000"/
|
23
|
+
And the output should match /"RUBY_HEAP_SLOTS_GROWTH_FACTOR" => "1"/
|
32
24
|
And the output should report timing
|
33
25
|
|
@@ -6,14 +6,10 @@ Feature: the rake tasks for gyst
|
|
6
6
|
|
7
7
|
Scenario: gyst:info
|
8
8
|
When I run `rake gyst:info`
|
9
|
-
Then
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"RUBY_HEAP_SLOTS_INCREMENT" => nil,
|
16
|
-
"RUBY_HEAP_SLOTS_GROWTH_FACTOR" => nil
|
17
|
-
}
|
18
|
-
"""
|
9
|
+
Then the output should match /"RAILS_ENV" => nil/
|
10
|
+
And the output should match /"RUBY_GC_MALLOC_LIMIT" => nil/
|
11
|
+
And the output should match /"RUBY_HEAP_FREE_MIN" => nil/
|
12
|
+
And the output should match /"RUBY_HEAP_MIN_SLOTS" => nil/
|
13
|
+
And the output should match /"RUBY_HEAP_SLOTS_INCREMENT" => nil/
|
14
|
+
And the output should match /"RUBY_HEAP_SLOTS_GROWTH_FACTOR" => nil/
|
19
15
|
|
@@ -4,8 +4,13 @@ Feature: raket
|
|
4
4
|
|
5
5
|
Scenario: raket pass
|
6
6
|
When I successfully run `raket pass`
|
7
|
-
Then the output should contain "
|
8
|
-
And
|
9
|
-
And
|
10
|
-
|
7
|
+
Then the output should contain "Configuring REE"
|
8
|
+
And the output should contain "PASS"
|
9
|
+
And the output should report timing
|
10
|
+
|
11
|
+
Scenario: raket gyst:info
|
12
|
+
When I successfully run `raket gyst:info`
|
13
|
+
Then the output should match /"RAILS_ENV" => "test"/
|
14
|
+
And the output should match /"RUBY_GC_MALLOC_LIMIT" => "1000000000"/
|
15
|
+
|
11
16
|
|
data/lib/gyst/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gyst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Scilipoti
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06
|
13
|
+
date: 2011-07-06 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aruba
|