narabi 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.
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ script: bundle exec cucumber
data/README.md CHANGED
@@ -1,4 +1,8 @@
1
- TODO
2
- ====
1
+ [![Build Status](https://secure.travis-ci.org/usutani/narabi-gem.png)](http://travis-ci.org/usutani/narabi-gem)
2
+
3
+ [![Dependency Status](https://gemnasium.com/usutani/narabi-gem.png?travis)](https://gemnasium.com/usutani/narabi-gem)
4
+
5
+ ## TODO
3
6
 
4
7
  - Support instance alias
8
+ - Support title
@@ -32,6 +32,8 @@
32
32
  | "note User: This is a note." | "User" | "User" | "This is a note." |
33
33
  | "note User:" | "User" | "User" | "" |
34
34
  | "note F 1: http://..." | "F 1" | "F 1" | "http://..." |
35
+ | "note 日本: 語のノート" | "日本" | "日本" | "語のノート" |
36
+
35
37
 
36
38
  シナリオアウトライン: 呼び出しと応答
37
39
  前提 一行の文字列<入力値>を入力する
@@ -1,7 +1,7 @@
1
1
  module Narabi
2
2
  NORMAL_REGEXP = /^(?<from>.+)->(?<to>.+):\s?(?<body>.*)/
3
3
  RESPONSE_REGEXP = /^(?<from>.+)-->(?<to>.+):\s?(?<body>.*)/
4
- NOTE_REGEXP = /^note\s(?<from>(\s|\d|\w|^:)+):\s?(?<body>.*)/
4
+ NOTE_REGEXP = /^note\s(?<from>(\s|\b|\d|\w|\W|^:)+):\s?(?<body>.*)/
5
5
  INSTANCE_REGEXP = /^instance\s?(?<name>.+)/
6
6
 
7
7
  class Base
@@ -1,3 +1,3 @@
1
1
  module Narabi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narabi
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-05 00:00:00.000000000 Z
12
+ date: 2012-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -51,6 +51,7 @@ extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
53
  - .gitignore
54
+ - .travis.yml
54
55
  - Gemfile
55
56
  - README.md
56
57
  - Rakefile