Giter Club home page Giter Club logo

angularjs-rails's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angularjs-rails's Issues

angular-route missing.....

Hello,

When I installed this gem with

gem 'angularjs-rails'
bundle install

Some js files were left out. I noticed though that they exist in the github repo so I think ruby gems needs to be updated to match your current gem state. To get around this for now, I am doing:

gem 'angularjs-rails', github: 'hiravgandhi/angularjs-rails', branch: 'master'

Let me know though if I have it all WRONG =D

Thanks for the gem.

Adam

1.2.12.1 release breaks semver

Gemfile pessimistic versions rely on correct MAJOR.MINOR.PATCH semver usage.

For instance,

gem 'angularjs-rails', '~> 1.2.12'

won't install 1.2.12.1 as it doesn't match.

gem 'angularjs-rails', '~> 1.2.12.x'

will install 1.2.12.1 (or 1.2.12.2, etc), but *won't * install 1.2.13 when it's released.

So. . . 1.2.12.1 probably should've been released as 1.2.13 as it is technically a PATCH, fixing the Rails 4 problems (and probably other issues, but the rails 4 breakage was the one that bit me).

FYI. I wouldn't yank 1.2.12.1 as yanking gems can cause annoying issues, but it might be nice to re-release 1.2.13 quickly so we can use pessimistic versioning again.

Thanks!

License missing from gemspec

RubyGems.org doesn't report a license for your gem. This is because it is not specified in the gemspec of your last release.

via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

Including a license in your gemspec is an easy way for rubygems.org and other tools to check how your gem is licensed. As you can imagine, scanning your repository for a LICENSE file or parsing the README, and then attempting to identify the license or licenses is much more difficult and more error prone. So, even for projects that already specify a license, including a license in your gemspec is a good practice. See, for example, how rubygems.org uses the gemspec to display the rails gem license.

There is even a License Finder gem to help companies/individuals ensure all gems they use meet their licensing needs. This tool depends on license information being available in the gemspec. This is an important enough issue that even Bundler now generates gems with a default 'MIT' license.

I hope you'll consider specifying a license in your gemspec. If not, please just close the issue with a nice message. In either case, I'll follow up. Thanks for your time!

Appendix:

If you need help choosing a license (sorry, I haven't checked your readme or looked for a license file), GitHub has created a license picker tool. Code without a license specified defaults to 'All rights reserved'-- denying others all rights to use of the code.
Here's a list of the license names I've found and their frequencies

p.s. In case you're wondering how I found you and why I made this issue, it's because I'm collecting stats on gems (I was originally looking for download data) and decided to collect license metadata,too, and make issues for gemspecs not specifying a license as a public service :). See the previous link or my blog post about this project for more information.

Sprockets error

I get the following error when trying to fire up my rails server:

/Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/angularjs-rails-1.2.12/lib/angularjs-rails/sprockets.rb:3:in `': undefined method`append_path' for Sprockets:Module (NoMethodError) from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/angularjs-rails-1.2.12/lib/angularjs-rails.rb:8:in `require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/angularjs-rails-1.2.12/lib/angularjs-rails.rb:8:in`module:Rails' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/angularjs-rails-1.2.12/lib/angularjs-rails.rb:4:in `' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/angularjs-rails-1.2.12/lib/angularjs-rails.rb:3:in`' from /Users/dkewal/moneyadvice/mortgage_calculator/lib/mortgage_calculator/engine.rb:4:in `require' from /Users/dkewal/moneyadvice/mortgage_calculator/lib/mortgage_calculator/engine.rb:4:in`' from /Users/dkewal/moneyadvice/mortgage_calculator/lib/mortgage_calculator.rb:1:in `require' from /Users/dkewal/moneyadvice/mortgage_calculator/lib/mortgage_calculator.rb:1:in`' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:76:in `require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:76:in`block (2 levels) in require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:72:in `each' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:72:in`block in require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:61:in `each' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler/runtime.rb:61:in`require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.5.2/lib/bundler.rb:131:in `require' from /Users/dkewal/moneyadvice/mortgage_calculator/spec/dummy/config/application.rb:5:in`' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/railties-3.2.14/lib/rails/commands.rb:53:in `require' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/railties-3.2.14/lib/rails/commands.rb:53:in`block in ' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/railties-3.2.14/lib/rails/commands.rb:50:in `tap' from /Users/dkewal/.rvm/gems/ruby-1.9.3-p484@mortgage_calculator/gems/railties-3.2.14/lib/rails/commands.rb:50:in`' from script/rails:6:in `require' from script/rails:6:in`'

precompile error

after the update to 1.2.12

$ rake assets:precompile
rake aborted!
couldn't find file 'angular'

"Error: [$injector:unpr] Unknown provider: tProvider <- t" when pushed to production

Brand new Rails 4.0.2 app. AngularJS works fine in development, but when pushed to production (Heroku) I get this error in the console when a page loads:

Error: [$injector:unpr] Unknown provider: tProvider <- t

Gemfile: https://gist.github.com/jasonfb/8274859

application.js file looks like this https://gist.github.com/jasonfb/8274880

the only angular class in my application looks like this: https://gist.github.com/jasonfb/8274925

is there something non-minisafe about the way I wrote the angular js controller?

Upgrade from 1.2.26 to 1.3.36 breaks app

Hi, I was using version 1.2.26 of this gem without any problems and now updated it to 1.3.36. Now my app seems to be broken but I can't figure out why as there is no error message in the console. When I look into the source code, the Angular version being included is the correct one.

ng-repeat does still work but using ng-click to invoke a controller method (using the controller as syntax) doesn't. Still, no error message. Changing a variable of a object by e.g. inverting a property of it via ng-click without using a controller works.

I followed an Angular migration guide but there was nothing really to change for me as the app is still quite small. Do you have any idea what this could be? Thanks a lot!

1.2.12 break the rake assets:precompile

I believe it's relative with commit

mv@cvprcsip01:/home/mv/releases/20140212011537$ rake assets:precompile
rake aborted!
couldn't find file 'angular'
  (in /home/mv/releases/20140212011537/app/assets/javascripts/application.js:16)
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.10.1/lib/sprockets/context.                                                                                         rb:106:in `resolve'
/usr/local/rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.10.1/lib/sprockets/context.                                                                                         rb:146:in `require_asset'

Bootstrap not included

In the readme you suggest we can added angular-bootsrap but that's not included in the vendor files

Problem trying to update

 $ bundle update angularjs-rails
Updating git://github.com/hiravgandhi/angularjs-rails.git
Cloning into '/Users/allenwyma/.rvm/gems/ruby-2.0.0-p247/bundler/gems/angularjs-rails-57e57e9b9432'...
done.
There was a LoadError while loading angularjs-rails.gemspec:
cannot load such file -- versionomy from
/Users/allenwyma/.rvm/gems/ruby-2.0.0-p247/bundler/gems/angularjs-rails-57e57e9b9432/angularjs-rails.gemspec:2:in
`<main>'

Does it try to require a relative path? That's been removed in Ruby 1.9.

Include unstable versions

Would it be possible to build gems for angular's unstable versions in addition to the stable ones?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.