jekyll-angular 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -22
  3. data/jekyll-angular.gemspec +2 -2
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e7d7ea84dff9cad97fda1f1cf67750bfe2663e3
4
- data.tar.gz: 516e81b793f14d4971716166d2c600fd158e7974
3
+ metadata.gz: 222dfffb2b8fc637559169f17b43b1e93e07d415
4
+ data.tar.gz: 804ae30c050fff95c074dbe52a8f48d68faf2c8f
5
5
  SHA512:
6
- metadata.gz: 2c4f113b8d6b0c783c3b4247ce1909a64b755898d1753b6cca12a8a0ae7e9aeb4dcfe342448aab19069e8ff09fa811b0161ba2c6869fd14f61d4031dacf4a244
7
- data.tar.gz: 8e04b1f334fbf51f5a0e0428b5a49f61a5adc6de0f58f2450a9bd124bdcfea5ba4b26e3c4b08d779761853171809841213c053b35fb454680c20207bccc0b928
6
+ metadata.gz: 4270801f17daed5fb9f7551df5b2837bdc87d6f88df7ebc45a02604ddafd50255791b8087174af5f2f04c345616bbc4859d878477c4da6317ccaf077aa75d42f
7
+ data.tar.gz: da82b1cd1914dc0105f7bd82399ff7b35caac74b4b76cc64eb344dbd77bff5c7a575682562821a5607616e4e35c84db770149aa6a9fc64391cdbfc9bffd8b826
data/README.md CHANGED
@@ -1,39 +1,56 @@
1
- # Jekyll::Angular
1
+ # Jekyll-Angular
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jekyll/angular`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ > A Jekyll plugin to make [AngularJS](https://angularjs.org/) play nice.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ ## Why?
6
6
 
7
- ## Installation
7
+ Unfortunately, Jekyll and Angular don't usually work well together...
8
8
 
9
- Add this line to your application's Gemfile:
9
+ ```html
10
+ <div ng-controller="foo">
11
+ <p>{{ bar }}</p>
12
+ </div>
13
+ ```
14
+
15
+ Gets turned into:
10
16
 
11
- ```ruby
12
- gem 'jekyll-angular'
17
+ ```html
18
+ <div ng-controller="foo">
19
+ <p></p>
20
+ </div>
13
21
  ```
14
22
 
15
- And then execute:
23
+ **Why?** Because Jekyll interperets `{{ brackets }}` as Liquid. How do we fix this? _This_ plugin.
16
24
 
17
- $ bundle
25
+ ## Getting Started
18
26
 
19
- Or install it yourself as:
27
+ __Install the gem.__
20
28
 
21
- $ gem install jekyll-angular
29
+ ```
30
+ $ gem install jekyll-angular
31
+ ```
22
32
 
23
- ## Usage
33
+ __Add the plugin to your config.__
24
34
 
25
- TODO: Write usage instructions here
35
+ ```yaml
36
+ # _config.yml
37
+ gems:
38
+ - jekyll-angular
39
+ ```
26
40
 
27
- ## Development
41
+ __Use the plugin for cool Angular stuff.__
28
42
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
43
+ ```html
44
+ <div ng-controller="foo">
45
+ <p>{{ 'bar' | angular }}</p>
46
+ </div>
47
+ ```
30
48
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
49
+ _Gets processed into..._
32
50
 
33
- ## Contributing
51
+ ```html
52
+ <div ng-controller="foo">
53
+ <p>{{ bar }}</p>
54
+ </div>
55
+ ```
34
56
 
35
- 1. Fork it ( https://github.com/[my-github-username]/jekyll-angular/fork )
36
- 2. Create your feature branch (`git checkout -b my-new-feature`)
37
- 3. Commit your changes (`git commit -am 'Add some feature'`)
38
- 4. Push to the branch (`git push origin my-new-feature`)
39
- 5. Create a new Pull Request
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "jekyll-angular"
7
- spec.version = '0.1.0'
7
+ spec.version = '0.1.1'
8
8
  spec.authors = ["Jesse Herrick"]
9
9
  spec.email = ["jessegrantherrick@gmail.com"]
10
10
 
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.add_runtime_dependency "jekyll", "~> 2.5.3"
18
+ spec.add_runtime_dependency "jekyll", ">= 2"
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.9"
21
21
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-angular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Herrick
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.5.3
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.5.3
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement