laravel 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,60 +13,3 @@ end
13
13
  Then /^I should see "(.*?)"$/ do |string|
14
14
  step "the stdout should contain \"#{string}\""
15
15
  end
16
-
17
- # S_0__release
18
- # These tests are only run when we plan for releasing the gem, and hence,
19
- # we are running the full test suite.
20
- Given /^I want to make sure everything runs before releasing (?:|the |this )gem$/ do
21
- data_dir = File.expand_path(File.join(ENV['HOME'], ".laravel"))
22
- FileUtils.rm_rf data_dir
23
- end
24
-
25
- # remind me if I have not updated the README.md before a release
26
- # I create 'feature' branches, which I then merge with 'develop' branch.
27
- # Hence, README.md should be updated with details of the new feature.
28
- Then /^the readme should( not)? be updated with new information$/ do |negate|
29
- last_tag = `git tag | tail -1`.strip
30
- actual = `git diff #{last_tag}..HEAD -- README.md`.strip
31
- expected = !negate
32
- message = "README.md to be updated with new information"
33
- unexpected? actual, expected, message
34
- end
35
-
36
- # remind me if I have not updated the version string before a release
37
- Then /^the version should be updated$/ do
38
- current = "v#{Laravel::VERSION}"
39
- all_tags = `git tag`.split("\n").map {|t| t.strip}
40
- exists = all_tags.include? current
41
- message = "laravel version to be #{current} for this release"
42
- unexpected_if exists, message
43
- end
44
-
45
- # make sure no local cache exists before we run the full test suite
46
- Then /^the directory with laravel data should( not)? exist$/ do |negate|
47
- data_dir = File.expand_path(File.join(ENV['HOME'], ".laravel"))
48
- actual = File.directory?(data_dir)
49
- expected = !negate
50
- message = "#{data_dir} to exist"
51
- unexpected? actual, expected, message
52
- end
53
-
54
- # remind me if the working directory is not clean
55
- Then /^the working directory should( not)? be dirty$/ do |negate|
56
- actual = `git status --porcelain`.strip
57
- expected = !negate
58
- message = "working directory to be dirty"
59
- unexpected? actual, expected, message
60
- end
61
-
62
- # I have a habit of making quick commits marked by 'snapped' or 'snapshot(|s|ing)'
63
- # whenever I leave my desk for some personal work.
64
- # This quickly reminds me if such commits are present in the commit history.
65
- Then /^snapshotted git commits should( not)? exist$/ do |negate|
66
- snapped = `git log develop.. | grep 'snapped'`.strip
67
- snapshot = `git log develop.. | grep 'snapshot'`.strip
68
- actual = snapped || snapshot
69
- expected = !negate
70
- message = "commit history to contain snapshots"
71
- unexpected? actual, expected, message
72
- end
@@ -1,3 +1,3 @@
1
1
  module Laravel
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: laravel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,7 +76,6 @@ files:
76
76
  - bin/commands/config.rb
77
77
  - bin/commands/new.rb
78
78
  - bin/laravel
79
- - features/S_0__release.feature
80
79
  - features/S_1_new_online.feature
81
80
  - features/S_2_new_offline.feature
82
81
  - features/S_3_new_customized.feature
@@ -109,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
108
  version: '0'
110
109
  segments:
111
110
  - 0
112
- hash: 3328694536106812419
111
+ hash: -986886918838144797
113
112
  required_rubygems_version: !ruby/object:Gem::Requirement
114
113
  none: false
115
114
  requirements:
@@ -118,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
117
  version: '0'
119
118
  segments:
120
119
  - 0
121
- hash: 3328694536106812419
120
+ hash: -986886918838144797
122
121
  requirements: []
123
122
  rubyforge_project:
124
123
  rubygems_version: 1.8.24
@@ -128,7 +127,6 @@ summary: This gem helps in readily creating new web application based on the Lar
128
127
  framework for PHP with as much customization as possible. Moreover, it allows configuring
129
128
  existing Laravel applications, and installing Laravel bundles for them.
130
129
  test_files:
131
- - features/S_0__release.feature
132
130
  - features/S_1_new_online.feature
133
131
  - features/S_2_new_offline.feature
134
132
  - features/S_3_new_customized.feature
@@ -1,13 +0,0 @@
1
- Feature: Basic configurations and testing
2
- In order to release the gem
3
- As an author of this gem
4
- I want to test basic configuration for this gem
5
-
6
- @release
7
- Scenario: Release the gem
8
- Given I want to make sure everything runs before releasing the gem
9
- Then the working directory should not be dirty
10
- And the version should be updated
11
- And the readme should be updated with new information
12
- And the directory with laravel data should not exist
13
- And snapshotted git commits should not exist