pointrb 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ gemfile: gemfiles/Gemfile.travis
3
+ rvm:
4
+ - 1.9.3
5
+ # - 1.9.2
6
+ script: bundle exec rake test:travis_specs
@@ -0,0 +1,6 @@
1
+ --verbose
2
+ -
3
+ API-GUIDE.md
4
+ CONTRIBUTIONS.md
5
+ LICENSE.md
6
+ RELEASE_NOTES.md
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pointrb (0.0.1)
4
+ pointrb (0.1.1)
5
5
  activesupport
6
6
  middleware
7
7
  rubytree
8
8
 
9
9
  GEM
10
- remote: http://rubygems.org/
10
+ remote: https://rubygems.org/
11
11
  specs:
12
12
  activesupport (3.2.12)
13
13
  i18n (~> 0.6)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PointRb
2
2
 
3
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/maxmeyer/prointrb)
3
+ [![Code Climate](https://codeclimate.com/github/maxmeyer/pointrb.png)](https://codeclimate.com/github/maxmeyer/pointrb)
4
4
  [![Build Status](https://travis-ci.org/maxmeyer/pointrb.png?branch=master)](https://travis-ci.org/maxmeyer/pointrb)
5
5
 
6
6
 
@@ -1,4 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '../'
4
4
 
@@ -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
- raise_if_forbidden_path_for_delete_operation(dirs)
56
+ raise_if_forbidden_path_for_create_operation(dirs)
57
57
 
58
58
  directories = expand_path(dirs.flatten)
59
59
  FileUtils.mkdir_p(directories)
@@ -1,4 +1,4 @@
1
1
  #main PointRb
2
2
  module PointRb
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
@@ -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.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
@@ -1,15 +0,0 @@
1
- module PointRb
2
- module Actions
3
- class CreateProjectWrapper
4
- def initialize(app)
5
- @app = app
6
- end
7
-
8
- def call(env)
9
- env.project = PointRb::Project.new(env.project_name)
10
-
11
- @app.call(env)
12
- end
13
- end
14
- end
15
- end