pointrb 0.1.1 → 0.1.2
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/.travis.yml +6 -0
- data/.yardopts +6 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/gemfiles/Gemfile.default +1 -1
- data/gemfiles/Gemfile.travis +1 -1
- data/lib/bob_the_helper/file_system.rb +1 -1
- data/lib/pointrb/version.rb +1 -1
- data/spec/layout_constructor/layout_constructor_spec.rb +1 -1
- metadata +3 -2
- data/lib/pointrb/actions/set_project_name.rb +0 -15
data/.travis.yml
ADDED
data/.yardopts
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PointRb
|
2
2
|
|
3
|
-
[](https://codeclimate.com/github/maxmeyer/pointrb)
|
4
4
|
[](https://travis-ci.org/maxmeyer/pointrb)
|
5
5
|
|
6
6
|
|
data/gemfiles/Gemfile.default
CHANGED
data/gemfiles/Gemfile.travis
CHANGED
@@ -53,7 +53,7 @@ module BobTheHelper
|
|
53
53
|
# returns a string if there was only one file given, and an array with
|
54
54
|
# muliple files
|
55
55
|
def create_directory(*dirs)
|
56
|
-
|
56
|
+
raise_if_forbidden_path_for_create_operation(dirs)
|
57
57
|
|
58
58
|
directories = expand_path(dirs.flatten)
|
59
59
|
FileUtils.mkdir_p(directories)
|
data/lib/pointrb/version.rb
CHANGED
@@ -117,6 +117,6 @@ content
|
|
117
117
|
it "returns the file name of the parsed layout when an error occured" do
|
118
118
|
layout = "garbage"
|
119
119
|
file = 'blub.layout'
|
120
|
-
expect { parsed_layout = layout_constructor.parse_dsl(layout, file) }.to raise_error(Exceptions::SyntaxErrorInLayout, 'Syntax error in layout-file "blub.layout" at line 1')
|
120
|
+
expect { parsed_layout = layout_constructor.parse_dsl(layout, file) }.to raise_error(Exceptions::SyntaxErrorInLayout, 'Syntax error in layout-file "blub.layout" at line 1.')
|
121
121
|
end
|
122
122
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pointrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -70,6 +70,8 @@ files:
|
|
70
70
|
- .gitignore
|
71
71
|
- .rspec
|
72
72
|
- .ruby-version
|
73
|
+
- .travis.yml
|
74
|
+
- .yardopts
|
73
75
|
- API-GUIDE.md
|
74
76
|
- CONTRIBUTIONS.md
|
75
77
|
- Gemfile
|
@@ -106,7 +108,6 @@ files:
|
|
106
108
|
- lib/pointrb/actions/initialize_pointrb.rb
|
107
109
|
- lib/pointrb/actions/retrieve_layout_files.rb
|
108
110
|
- lib/pointrb/actions/retrieve_parsed_layout.rb
|
109
|
-
- lib/pointrb/actions/set_project_name.rb
|
110
111
|
- lib/pointrb/actions/show_pointrb_version.rb
|
111
112
|
- lib/pointrb/api.rb
|
112
113
|
- lib/pointrb/directory.rb
|